quote:
Originally posted by Matty
Why not use a Timer?
i guess i will have to
and also this function:
code:
split (Cmd, Param1, Param2)
{
prams = Cmd.split(" "); // Split the incoming message into
// the different parameters
for (pram in prams) // Loop through parameters
{
switch(pram)
{
case "0": // First parameter is the command
break; // itself, do nothing with that
case "1":
Param1 = params[param];
default:
Param2 += " " + prams[pram]; // Construct the message to send with /me
break;
}
}
}
gets the error:
code:
Error: 'Cmd' is undefined.
Line: 71. Code: -2146823279.
EDIT: shit!
i just realised missing function keyword, sorry