Basically, all I want to know is, is there a different way to do this? For the most part, this works. But if there is another Super Admin on at the same time as the host, what happens when the client is Super Admin, and what happens if the client is Host gets mixed up sometimes. I tried just using if(%client.isHost) but the same thing happens. Help?
function server///////Do stuff/////(%client,%msg)
{
/////Do stuff//////
if(%client.isAdmin)
{
//////Do stuff if client is Admin////
if(%client.isSuperAdmin)
{
////Do stuff if client is Super Admin////
}
if(%client.isHost && %client.isSuperAdmin)
{
////Do stuff if client is Host and Super Admin/////
}
}
/////Do stuff////
}