I need some help with my chatbot scripts,
package Gravbot {
function clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%fmsg) {
parent::clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%fmsg)
if (%msg $= "Rofl") {
if (%name $= "xXGravity DogXx") {
commandToServer('messageSent',"Don't roll on the floor, it's not healthy.");
}
}
}
};
activatePackage(Gravbot);and yes, xXGravity BotXx is my new name, i have no idea how to change my name on the forums, any help please (this is my first post)