Quote:
Originally Posted by fowlplay4
PHP Code:
function isStaff(account) { return serveroptions.staff.tokenize(",").index(@ account) > (- 1); }
|
PHP Code:
function isStaff(temp.account)
{
return temp.account in serveroptions.staff;
}
... just to save you from all that ridiculous
index() nonsense.