PvPblue (script)

From Elanthipedia
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
PvPblue (script)
Category Combat,Utility
Front-end Genie
Author User:Mothra


Syntax

  • .BLUE NAME NAME NAME (where name= character names you wish to highlight; no numerical limit)
  • .BLUE CLEAR (to clear team highlights)

Script

if "%1" = "remove" then goto Remove
if "%1" = "clear" then goto Clear
 
start:
if_1 then goto Add
goto done
 
Add:
if "$Blue" != "" then put #setvariable Blue $Blue|%1
if "$Blue" = "" then put #setvariable Blue %1
shift
goto start
 
Remove:
shift
if_1 then goto Remove.Name
goto done
 
Remove.Name:
if !contains("$Blue","%1") then goto Remove
if "$Blue" = "%1" then put #setvriable Blue ""
else put #eval Blue replacere("$Blue","(?:%1|||%1)","")
goto Remove
 
Clear:
put #setvariable Blue ""
goto done
 
done:
echo Blue: $Blue
put #var save
put #highlights clear
put #highlights load
if "$Blue" != "" then put #highlight RegEx Blue ($Blue)