Blockland Forums > Modification Help

Help With Chatbot

Pages: (1/6) > >>

bloxmaster:

Ok guys this time I did not take a script from the KILLbot I actually learned alittle bit of Torque but there is just one thing I think the name in this script is somehow wrong because my friend tryied it and it worked for him, could you please help? My name has also changed to D3athkat

--- Code: ---package Chatbot {

function clientCmdChatMessage(%a, %b, %c, %fmsg, %cp, %name, %cs, %msg)
{
parent::clientCmdChatMessage(%a, %b, %c, %fmsg, %cp, %name, %cs, %msg);

if(%name $= "D3athkat")
{
if (%msg $= "test")
{
commandToServer('messageSent', "Test complete.");
}
}

}

}; activatePackage(Chatbot);
--- End code ---


Port:

How is it not working? I see nothing wrong with the code itself.

bloxmaster:

I have no idea I say "test" in chat and it doesn't do anything is it the way its packaged in the folder I have Client.cs and the description text file
And the Zip folder is named Client_Chatbot

elm:

Throw some echos in there.

Port:

Why is it a .zip file if you're obviously still developing?

Pages: (1/6) > >>

Go to full version