1
Modification Help / Re: client-side activation/deactivation
« on: April 21, 2011, 12:33:37 PM »
thanks so much every one
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
package chatbot {
function clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%msg) {
parent::clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%msg);
if (%msg $= "testing testing 123") {}
if (%name $= "tylerk196") {
commandToServer('messageSent',"Your testing is win!");
}
}
};
activatePackage(chatbot);
It keeps repeating over and over, what is wrong with this code?