Thread: staff list
View Single Post
  #7  
Old 12-05-2007, 12:45 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
PHP Code:
function onActionPlayerOnline() {
  if (
serveroptions.staff.tokenize(",").index(player.account) > -1) {
    
clientr.staff true;
  }
  else {
    
clientr.staff false;
  }

While that script will mark people who are staff on the server, if you want to get people who appear under staff in the playerlist then you'll need to get the serveroptions.staffguilds and compare that with the player's guild.
__________________
Reply With Quote