// A sample class
class Test : Object;
test()
{
state = printMessage;
}
state printMessage
// This state code will run as long as the object is in this state.
begin:
sleep(15);
print("Howdy from the world of Monster scripts!");
print("This script is located in mscripts/test.mn. Check it out!");
goto begin;