Author Topic: Chatbot  (Read 468 times)

Code: [Select]
function ClientCmdPing
{
MessageBoxOK("Ping", serverConnection.getPing());
}


 
I'm just making a basic chatbot the won't work right. Do you see any errors in there, I think it's the serverConnection.getPing());

Please read up on basic Torquescript syntax before making another topic.

You did not list variables in the function name

function ClientCmdPing()


function ClientCmdPing()
{
   MessageBoxOK("Ping", serverConnection.getPing());
}