Add a healer into middle of Healo .Net

Scripts for wintin.

Add a healer into middle of Healo .Net

Postby *juggleblood* » Mon Jan 30, 2006 3:05 pm

Usage:

add <new healer's name>
addafter <previous healer's name>

Script:

#alias {add} {#var newhealer %0}
#alias {addafter} {#loop {$healo}{#if {[%%0]=[%%%0]}{#showme found %%%0;#push healotemp $$$0, $newhealer} else {#push healotemp %%0}};#loop {$@healo}{#cr};#loop {$@healotemp}{#push healo %0};#showme {Healo is now $healo}}

I think u need to make a null variable for healotemp first tho b4 u start using it.

#var healotemp

Its kind of ugly, but it works well.

Cheers
User avatar
*juggleblood*
Hall of Fame Avatar Poster
 
Posts: 1304
Joined: Sun Jan 22, 2006 6:36 am
Location: Beyond Yonder
Status: Offline

Return to WinTin Scripts

Who is online

Users browsing this forum: No registered users and 1 guest

cron