Search the Commands

Home  All  a  b  c  d  e  f  g  h  i  j  k  l  m  n  o  p  q  r  s  t  u  v  w  x  y  z 

Details for command getusers:
 
* getusers <type>;
 
This function will return a number of users on a map or the whole server. What
it returns is specified by Type.

Type is a bitmask, add up to get the effects you want:

8 - This will count all characters on the same map as the current NPC.
(By default, it will count people on the same map as the character)
7 - Return the amount of players for the entire server.
(By default, only the players on the map will be counted.)

So 'getusers(0)' will return the number of characters on the same map as the
invoking character, while 'getusers(7)' will give the count for entire server.

Valid XHTML 1.0 Strict Valid CSS!