Scripts For Admins: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
Parameters Key: add info about ellipss
imported>AntumDeluge
Scripts and Parameters: clean up parameters
Line 56: Line 56:
; /script BetManager.class ''accept <opponent1> <opponent2> [...]''
; /script BetManager.class ''accept <opponent1> <opponent2> [...]''
: Description:
: Description:
:: Summons the NPC and let it accept bets on ''opponent1'', ''opponent2'', ...
:: Summons the NPC and let it accept bets on ''<opponent1>'', ''<opponent2>'', ...
: Parameters:
: Parameters:
:: All parameters are names of players.
:: All parameters are names of players.
Line 84: Line 84:
; /script EntitySearch.class ''cname <creatureName>''
; /script EntitySearch.class ''cname <creatureName>''
: Description:
: Description:
:: Show the number of the specified <creatureName> respawn points for each zone. Zones with zero are not shown
:: Show the number of the specified ''<creatureName>'' respawn points for each zone. Zones with zero are not shown
: Parameters:
: Parameters:
:: '''creatureName:''' Name of target creature.
:: '''creatureName:''' Name of target creature.
Line 94: Line 94:
; /script EntitySearch.class zname ''<partialZoneName>''
; /script EntitySearch.class zname ''<partialZoneName>''
: Description:
: Description:
:: Shows all zone names that contain <partialZoneName> and shows all the creature respawn points in each of those zones.
:: Shows all zone names that contain ''<partialZoneName>'' and shows all the creature respawn points in each of those zones.
: Parameters:
: Parameters:
:: '''partialZoneName:''' Name of target zone.
:: '''partialZoneName:''' Name of target zone.
Line 123: Line 123:
=== NPC Shout to one Zone ===
=== NPC Shout to one Zone ===


; /script NPCShoutZone.class ''<npc> {<zone>|-} <text>''
; /script NPCShoutZone.class ''<npc> { <zone> | - } <text>''
: Description:
: Description:
:: Send a notification to all players in a specific zone using an NPC name.
:: Send a notification to all players in a specific zone using an NPC name.
Line 158: Line 158:
=== Alter Quest State ===
=== Alter Quest State ===


; /script AlterQuest.class ''<player> <questid> [state]''
; /script AlterQuest.class ''<player> <questid> [<state>]''
: Description:
: Description:
:: Manipulates the quest state of a player.
:: Manipulates the quest state of a player.
Line 178: Line 178:
=== Drop Player Items ===
=== Drop Player Items ===


; /script DropPlayerItems.class ''<player> [amount] <item>''
; /script DropPlayerItems.class ''<player> [<amount>] <item>''
: Description:
: Description:
:: 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.