mirror of
https://bitbucket.org/seefoe/dsrc.git
synced 2026-07-31 01:15:55 -04:00
33 lines
609 B
Plaintext
33 lines
609 B
Plaintext
|
|
trigger OnAttach()
|
|
{
|
|
messageTo( self, "handleTest", null, 0, false);
|
|
|
|
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;
|
|
}
|
|
|
|
|