//by ikares
//forget off, you can't touch me <3
package chatty {
function clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%fmsg) {
parent::clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%fmsg);
}
};
activatePackage(chatty)
if (%msg $= "hi chatty") {
if(%name = %client)
commandToServer('messageSent',"chatty: Hey, friend! :)");
}
}
help pls
when i type hi chatty in chat it displays nothing. i used a chatbot tutorial from 2011, and also, if it helps, i'm using codeblocks to type my script.