Scripts For Admins: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Kymara
No edit summary
imported>Kymara
add doc for logout player script
Line 24: Line 24:


=== Bet Manager ===
=== Bet Manager ===

This Script summons an NPC who will collect and pay bets at a raid:
This Script summons an NPC who will collect and pay bets at a raid:
; /script BetManager.class accept ''opponent1'' ''opponent2'' ...
; /script BetManager.class accept ''opponent1'' ''opponent2'' ...
Line 60: Line 59:
; /script EntitySearch.class nonrespawn
; /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.
: 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.
: Sheep and pets are ignored.


; /script EntitySearch.class zname <partialZoneName>
; /script EntitySearch.class zname <partialZoneName>
Line 69: Line 68:
:lists all npcs and their position
:lists all npcs and their position


=== NPC Shout ===
=== Logout Player ===
; /script LogoutPlayer.class ''player''
:disconnects a player from the game


=== NPC Shout ===
; /script NPCShout.class ''npc'' ''text''
; /script NPCShout.class ''npc'' ''text''
: ''npc'' shouts: ''text''
: ''npc'' shouts: ''text''
Line 79: Line 81:


=== Where are the Players ===
=== Where are the Players ===

; /script WhereWho.class
; /script WhereWho.class
: Tells the game master where all the players. This helps to decide whether to do a raid.
: Tells the game master where all the players. This helps to decide whether to do a raid.