Kegor's Rescue Script

Scripts and support for your favorite MUD client.
Kegor
Sojourner
Posts: 665
Joined: Wed Feb 28, 2001 6:01 am
Location: St. Cloud, MN
Contact:

Kegor's Rescue Script

Postby Kegor » Fri Oct 23, 2009 12:07 am

Completely redone rescue script that eliminates all extra looks and does some other pretty cool things. See the link below for details.

It is posted HERE on the Triterium Forums.
Disoputlip
Sojourner
Posts: 956
Joined: Thu Feb 21, 2002 6:01 am
Location: Copenhagen

Re: Kegor's Rescue Script

Postby Disoputlip » Fri Oct 23, 2009 7:34 am

Not sure you know, but you can easily use an array as a parameter.

Code: Select all

#TRIGGER {, fighting a wraith} {RESCUE 1.wraith;RESCUE 2.wraith;RESCUE 3.wraith;RESCUE 4.wraith}
#TRIGGER {, fighting a spectre} {RESCUE 1.spectre;RESCUE 2.spectre;RESCUE 3.spectre;RESCUE 4.spectre}
#TRIGGER {, fighting a ghast} {RESCUE 1.ghast;RESCUE 2.ghast;RESCUE 3.ghast;RESCUE 4.ghast}
#TRIGGER {, fighting a wight} {RESCUE 1.wight;RESCUE 2.wight;RESCUE 3.wight;RESCUE 4.wight}
#TRIGGER {, fighting a shadow} {RESCUE 1.shadow;RESCUE 2.shadow;RESCUE 3.shadow;RESCUE 4.shadow}


Becomes

Code: Select all

#TRIGGER {, fighting a ({wraith|spectre|ghast|wight|shadow})} {#loo 1,4 RESCUE %i.%1}


To be honest I didn't bother testing it, but the theory at least should work.
Kegor
Sojourner
Posts: 665
Joined: Wed Feb 28, 2001 6:01 am
Location: St. Cloud, MN
Contact:

Re: Kegor's Rescue Script

Postby Kegor » Sat Oct 24, 2009 11:43 pm

Yah thanks. Probably should spruce that part up a bit, just threw that in there real quick just so I didn't have to have 10 different macros for pets.

Return to “MUD Client Help”

Who is online

Users browsing this forum: No registered users and 1 guest