Difference between revisions of "Getmapusers"

From Hercules Wiki
Jump to: navigation, search
(Created page with "=Syntax= getmapusers ("<map name>") =Description= Returns the amount of persons from the given guild that are on the given map. =Example= <pre> //Will set the @persons va...")
 
(Example)
Line 9: Line 9:
 
   set @persons,getMapGuildUsers("prontera",10);
 
   set @persons,getMapGuildUsers("prontera",10);
 
</pre>
 
</pre>
 +
 +
[[Category:Script Command]]

Revision as of 17:06, 3 October 2013

Syntax

getmapusers ("<map name>")

Description

Returns the amount of persons from the given guild that are on the given map.

Example

//Will set the @persons variable to the amount of persons from the guild
//which ID's = 10 and are at prontera.
  set @persons,getMapGuildUsers("prontera",10);