Another question if I may. %r works great. No problem there. What's wrong in my script is that the variables do not reset correctly once the Messagebox closes.
Even if I specify that the variables are set to 0, they do not get reset. The message closes and they stay at the same value.
Here is the script:
scn OCAMinstrelTales
short Button
short TaleSelection
short TaleContinue
Begin GameMode
If TaleSelection == 0
return
elseif TaleSelection == 1
If TaleContinue == 0
MessageBoxEx "Some patrons stop talking as they turn their head towards the minstrel, ready to listen to the story. %%r ''There is a story about the Thieves Guild Master and the skull that is probably fiction, but highly amusing. The Master used the skull on her enemy, creating a clone of him to fight. |[Continue]|[Leave]"
set TaleContinue to -1
set button to -1
elseif TaleContinue == -1
set button to getbuttonpressed
if button == -1
Return
elseif button == 0
MessageBoxEx "After defeating the original, the clever duplicate snatched the Skull from the Master and used it on her. Although the cloned enemy could not directly attack the Master, it could use the Skull to create a duplicate Master. %%rThe two clones jointly ruled the Thieves Guild for years."
moddisposition Player 2
set TaleSelection to 0
Set TaleContinue to 0
set button to -1
elseif button == 1
moddisposition Player -2
set button to -1
set TaleSelection to 0
Set TaleContinue to 0
return
Endif
Endif
Endif
End