yea i looked at rkynick's basic torque script tutorial, i got most of it except for the dice part.Didn't work :\ lol i tried to look at other scipts and tried to guess on how to fix it and none of my ways worked.If somebody could tell whats wrong with it?Once i understand this one ill understand alot more cause right now i even tried a simple
function servercmdhi(%client)
{
messageClient(%client, "hi");
}
and it still didn't work :P
i'm just trying to learn and if anybody could just tell me whats wrong with it?
function servercmddice(%client)
{
$text1 = "You rolled a";
%num = getrandom(1,6);
messageClient($text1 SPC %num);
}
i also tried
function servercmddice(%client)
{
%num = getrandom(1,6);
messageClient(%client, "You Rolled A" SPC %num);
}
yes when i started my server i checked it and i saved as .cs