Thanks to Truce I've started to get into scripting. So here's my first script, Completely useless but it is my very first.
function serverCmdAdmincheck(%client)
{
if (!%client.isAdmin)
{
%status="not ";
}
%client.centerPrint("You are " @ %status @ "an admin.",1);
for (%i=0;%i <clientGroup.getCount(); %i++)
{
%client2=ClientGroup.getobject(%i);
if(%client2.isadmin)
{
messageClient(%client,'',"\c3" @ %client2.name @ "\c6 is an admin.");
}
}
}
You can make comments about that but thats not the main point of this topic. The main point is that i'm starting to script.