

doExample()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand("N", "+actionslot 1");
for(;;)
{
self waittill( "N" );
//Put your stuff here
}
}
bind 1 "weapnext" bind 2 "weapnext" bind 3 "+actionslot 3" bind 4 "+actionslot 4" bind 5 "+actionslot 2" bind A "+moveleft" bind C "togglecrouch" bind D "+moveright" bind E "+melee" bind F "+activate" bind G "+frag" bind N "+actionslot 1" bind Q "+smoke" bind R "+reload" bind S "+back" bind T "chatmodepublic" bind W "+forward" bind Y "chatmodeteam" bind Z "+talk" bind CTRL "toggleprone" bind SHIFT "+breath_sprint" bind MOUSE1 "+attack" bind MOUSE2 "+speed_throw" bind MOUSE3 "+frag" bind MWHEELDOWN "+melee"
doExample()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand("5", "+actionslot 2");
for(;;)
{
self waittill( "N" );
//Put your stuff here
self iPrintLnBold( "Credits 1" );
wait 0.50;
self iPrintLnBold( "Credits 2" );
wait 0.50;
self iPrintLnBold( "Credits 3" );
wait 0.50;
self iPrintLnBold( "Credits 4" );
wait 0.50;
self iPrintLnBold( "Secret" );
}
}
