Okay I got an error yet again
package chatbot
{
function clientcmdchatmessage(%a, %b, %c, %fmsg, %cp, %name, %cs, %msg)
{
parent::clientCmdChatMessage(%a, %b, %c, %fmsg, %cp, %name, %cs, %msg);
if (%msg $= "Zazzlebot")
{
if (%name $=$Pref::Player::Netname)
{
commandtoserver('messagesent',"Yissir");
}
}
}
};
activatepackage(chatbot);
Ive decided that Ive run into too many errors with this and Im going to move back to something else to help with my scripting. If anyone could lead me to a good tutorial without problems, that'd be amazing. I'll also like if someone could tell me of another script I could try that would be more useful for practice. Thank you all for the support. Ill make sure to keep what you've all said in mind