When doing admin checks, Try doing stuff like this:
function serverCmdWhatever(%client)
{
if(!%client.isSuperAdmin)
{
messageClient(%cl,'',"\c6You must be a Super Admin to use this command.");
return;
}
//Code stuff here
}I find it a lot easier, and more efficient.
Same with stuff like
if(!$whisenabled == 1)
{
//message
return;
}
//code stuff here
If someone does not exist, it sends it anyway.
Sends it to who?
If I say /whisper without anything after it, it tells me I have no benefit whispering to yourself.
I'm not sure about this one.