Scripts For Admins: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
Scripts and Parameters: clean up parameters
imported>AntumDeluge
General: add admin portals script
Line 33: Line 33:


== General ==
== General ==

=== Admin Portals ===

{{Script|AdminPortal|
desc=Creates a portal at the admin's position.|
params=[<name>] <destination-zone> <destination-ref>|
:: '''name:''' ''(optional)'' Name of new portal.
:: '''destination-zone:''' Target zone where player is teleported.
:: '''destination-ref:''' Portal reference where player is teleported.}}


{{Script|AdminPortal|
desc=Creates a portal.|
params=<name> <destination-zone> <destination-ref> [level <min-level> <max-level> [<reject-message>]]|
:: '''name:''' Name of new portal at the admin's position.
:: '''destination-zone:''' Target zone where player is teleported.
:: '''destination-ref:''' Portal reference where player is teleported.
:: '''level:''' If used, portal will check player level before teleporting.
:: '''min-level:''' Minimum level player must be to use portal.
:: '''max-level:''' Maximum level of player to use portal.
:: '''reject-message:''' Message shown to player when they don't meet the level requirements.}}


=== Admin Signs ===
=== Admin Signs ===