PvPteam (script): Difference between revisions
Jump to navigation
Jump to search
(→Usage) |
(→Syntax) |
||
Line 9: | Line 9: | ||
==Syntax== |
==Syntax== |
||
*.{{tt|PvPteam}} {{tt| |
*.{{tt|PvPteam}} {{tt|(color)}} {{tt|(List of Names)}} |
||
*.{{tt|PvPteam}} {{tt|(delete)}} {{tt|(List of Names)}} |
|||
⚫ | |||
List of valid colors: red, blue, green, purple, yellow, orange |
|||
:Examples: |
|||
Use the [[PvPteamdel_(script)|PvPteamdel script]] to undo these changes. |
|||
⚫ | |||
:.PvPteam delete Jim Jack Johnny |
|||
==Script== |
==Script== |
Revision as of 17:27, 18 October 2019
PvPteam (script) | |
---|---|
Category | Combat,Utility |
Front-end | StormFront |
Author | User:Mothra |
Usage
This script allows you to highlight a list of names to a certain color for a PvP session or delete the highlights for a list of names. Any names you highlight with this will have their existing highlight replaced, so before running this script it is highly recommended that you click the OPTIONS tab in the top right corner of the StormFront window, select SETTINGS, click EXPORT, check NAME HIGHLIGHTS and click EXPORT. Make a note of the filename you've exported to if it's anything but the default C:\StormFront.xml file. After you're finished, IMPORT your NAME HIGHLIGHTS to reset any highlight strings you may have for the character highlights you changed for your PvP session.
Syntax
- .PVPTEAM (COLOR) (LIST OF NAMES)
- .PVPTEAM (DELETE) (LIST OF NAMES)
List of valid colors: red, blue, green, purple, yellow, orange
- Examples:
- .PvPteam red Jim Jack Johnny
- .PvPteam delete Jim Jack Johnny
Script
GOTO %1 red: setVariable color #FF0000 goto highlightstart blue: setVariable color #0000FF goto highlightstart green: setVariable color #00FF00 goto highlightstart purple: setVariable color #6600FF goto highlightstart yellow: setVariable color #FFFF00 goto highlightstart orange: setVariable color #FF6600 goto highlightstart highlightstart: SHIFT highlightloop: ADDTOHIGHLIGHTNAMES string=%1 forecolor=%color matchpartialword=false ignorecase=true SHIFT IF_1 goto highlightloop EXIT delete: SHIFT deleteloop: DELETEFROMHIGHLIGHTNAMES string=%1 SHIFT IF_1 goto deleteloop EXIT labelError: help: ECHO PvPteam - https://elanthipedia.play.net/PvPteam_(script) ECHO This script allows you to highlight a list of names a certain color or to delete the highlights for a list of names. ECHO Usage: ECHO .PvPteam (color) (List of Names) ECHO .PvPteam delete (List of Names) ECHO Example: .PvPteam red Jim Jack Johnny ECHO Example: .PvPteam delete Jim Jack Johnny ECHO List of valid colors: red, blue, green, purple, yellow, orange EXIT