Scripts For Admins: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Kymara
Bet Manager: corrected betted
imported>Seather
added Entity Search
Line 12: Line 12:
; /script AdminSign.class ''zone x y text''
; /script AdminSign.class ''zone x y text''
: Places a sign saying ''text'' in the ''zone'' at (''x'', ''y''). The first three parameters can be "-" to place the sign next to the admin.
: Places a sign saying ''text'' in the ''zone'' at (''x'', ''y''). The first three parameters can be "-" to place the sign next to the admin.
: Zones with zero are not shown


; /script AdminSign.class list
; /script AdminSign.class list
Line 52: Line 53:
; /script DropPlayerItems.class ''player'' ''[amount]'' ''item''
; /script DropPlayerItems.class ''player'' ''[amount]'' ''item''
: Drop the specified amount of items from the player if they are equipped in the bag or body.
: Drop the specified amount of items from the player if they are equipped in the bag or body.

=== Entity Search ===
; /script EntitySearch.class cname <creatureName>
: Show the number of the specified <creatureName> for each zone.

; /script EntitySearch.class nonrespawn
: Shows the locations of all creatures that don't respawn, for example creatures that were summoned by a GM, deathmatch creatures, etc.
: Sheep are ignored.

; /script EntitySearch.class zname <partialZoneName>
: Shows all zone names that contain <partialZoneName> and shows all the monsters in each of those zones.


=== List NPCs ===
=== List NPCs ===