Skip to content



This page may contain outdated information, incompatible with the current version of Hercules and its coding standards.


mes("<Line 1>", "<Line 2>", "<Line 3>");


The rest of this document hasn't been converted to Markdown yet.


The most basic scripting command.
Displays a window with '''''' in it to the invoking character, if the window already exists, it will just display the given message.
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 "^ " in front of the message to give '''''' a color.
stand for three hexadecimal numbers, representing the color components of Red Green and Blue in the wanted colour, like a html-code(see examples).
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: