To do this, you have to package the funcdion serverCmdMessageSent.
package sillyMsgSentEdit
{
function serverCmdMessageSent(%client, %text)
{
if(%text $= "The Game")
{
messageAll('',"\c3Bot\c6: The game is stupid.");
}
parent::serverCmdMessageSent(%client, %text);
}
};
activatePackage(sillyMsgSentEdit);
Not sure of this, as I myself have been experimenting with this lately.
Another example:
package changethegame
{
function serverCmdMessageSent(%client, %text)
{
if(%text $= "the game")
{
messageAll('',"\c7"@%client.clanPrefix@"\c3"@%client.name@"\c7"@%client.clanSuffix@"\c6: porkchop sandwitches");
}
Parent::serverCmdMessageSent(%client, %text);
}
};
activatepackage(changethegame);
I got BSoD while typing this and it restored itself after startup.
Wow.