Jump to content

Zmud Auto Rescue: Difference between revisions

From AvatarWiki
Rhodry (talk | contribs)
Created page with 'This is the Auto rescue set of triggers from the amezyarak site, added as the site is now defunct. Syntax: addrescue <charname>, adds character to the rescue list. Syntax: dontr…'
 
Rhodry (talk | contribs)
No edit summary
Line 1: Line 1:
This is the Auto rescue set of triggers from the amezyarak site, added as the site is now defunct.
This is the Auto rescue set of triggers from the amezyarak site, added as the site is now defunct.


Syntax: addrescue <charname>, adds character to the rescue list.
Syntax: addrescue <charname>, adds character to the rescue list.<br>
Syntax: dontrescue <charname>, remove a character from the rescue list.
Syntax: dontrescue <charname>, remove a character from the rescue list.<br>
Syntax: clearrescue, clears the rescue list
Syntax: clearrescue, clears the rescue list.<br>


A right click menu also lets you right click on a char name and it will either add or remove depending on what you select.
A right click menu also lets you right click on a char name and it will either add or remove depending on what you select.

Revision as of 12:35, 10 September 2010

This is the Auto rescue set of triggers from the amezyarak site, added as the site is now defunct.

Syntax: addrescue <charname>, adds character to the rescue list.
Syntax: dontrescue <charname>, remove a character from the rescue list.
Syntax: clearrescue, clears the rescue list.

A right click menu also lets you right click on a char name and it will either add or remove depending on what you select.

Code

Copy this section and paste it into a *.txt file. Then, in zMUD, go to "Settings -> File -> Import Text" and select the file you saved to:

#CLASS {autorescue}
#ALIAS autorescue {#ec autorescue - %1
#var groupie %additem(%lower(%1),@groupie)
#ec
#ec ---  CHARACTERS IN THE RESCUE LIST  ---
#ec
#fo @groupie {#ec %i}}
#ALIAS dontrescue {#ec don't rescue - %1
#var groupie %delitem(%lower(%1),@groupie)
#ec
#ec ---  CHARACTERS IN THE RESCUE LIST  ---
#ec
#fo @groupie {#ec %i}}
#ALIAS clearrescue {#ye {clear the rescue list?} {yes:groupie="";#ec rescue buffer - cleared} {no:}}
#ALIAS showrescue {#ec
#ec ---  CHARACTERS IN THE RESCUE LIST  ---
#ec
#fo @groupie {#ec %i}}
#VAR groupie {}
#MENU {rescue} {autorescue %selword} ""
#MENU {don't rescue} {dontrescue %selword} ""
#MENU {show rescue} {showrescue} ""
#MENU {clear rescue} {clearrescue} ""
#CLASS 0
#CLASS {autorescue|rescue}
#TRIGGER {(%*) attack[s ]strike[s ]({@groupmem})} {#if %ismember( %lower( %2), @groupie) {rescue %2;#t- rescue}}
#TRIGGER {(%*) attacks haven't hurt ({@groupmem})} {#if %ismember( %lower( %2), @groupie) {rescue %2;#t- rescue}}
#CLASS 0
#CLASS {autorescue|rescue2}
#TRIGGER {^(%*) is DEAD!!} {#T+ rescue}
#TRIGGER {You successfully rescue} {#T+ rescue}
#TRIGGER {doesn't need your help.} {#T+ rescue}
#CLASS 0

Designer comments

All the credits for this trigger set go to amezyarak.