Files
dsrc/sku.0/sys.server/compiled/game/script/working/jfreeman/msgtest.script
T

35 lines
805 B
Plaintext

trigger OnAttach()
{
//debugSpeakMsg( self, "attached. sending non-persisted zero delay message to handleTest" );
messageTo( self, "handleTest", null, 0, false);
//debugSpeakMsg( self, "attached. sending persisted 20-second delay message to handleOtherTest" );
messageTo( self, "handleOtherTest", null, 20, true);
messageTo( self, "handleLastTest", null, 21, false);
return SCRIPT_CONTINUE;
}
messageHandler handleTest()
{
debugSpeakMsg( self, "received non-persisted zero-length message" );
return SCRIPT_CONTINUE;
}
messageHandler handleOtherTest()
{
debugSpeakMsg( self, "received persisted 20-second delay message" );
return SCRIPT_CONTINUE;
}
messageHandler handleLastTest()
{
debugSpeakMsg( self, "received non-persisted 21-second delay message" );
return SCRIPT_CONTINUE;
}