mes()
¶
Warning
This page may contain outdated information, incompatible with the current version of Hercules and its coding standards.
Syntax¶
Warning
The rest of this document hasn't been converted to Markdown yet.
==Description==
The most basic scripting command.
Displays a window with '''
Notice that mes does not create a ''next'' or ''close'' button, so you have to create one using the [[next]] or [[close]] command, otherwise the player will be stuck in your script.
Use the + operator to give out multiple messages combined with variables or some commands(for example [[countitem]], [[getitemname]] or [[strcharinfo]])in one mes.
Use "^
Do not forget to set the color to black again, by putting "^000000" after your message, exept you want to color your whole text...
Be careful:
Hello World
mes "Hello 1","Hello 2","Hello 3"; // This will Generate 3 lines
Hello 1
Hello 2
Hello 3
mes "Hello"+strcharinfo(0)+", how are you?"; // Will upon up a textbox printing:
Hello Charname, how are you?
mes "^FF0000 Hello World^000000"; //Will open up a text box with
Hello World
mes "\'Hello!\'"; // use \as prefix to include Symbols: // will print:
'Hello!'