Rescue Triggers 101

Scripts and support for your favorite MUD client.
Gindipple
Sojourner
Posts: 676
Joined: Fri Jan 26, 2001 6:01 am
Location: O' Fallon, MO. USA
Contact:

Rescue Triggers 101

Postby Gindipple » Sat Jan 27, 2001 9:30 am

Since I plan to play a caster when the mud comes up, I decided this would be a great first trigger set Image

One thing you need is to make sure zmud is expanding vars for you. To test this out try the following simple trigger.

#TR {You say, 'test (%d)'} {mynumber=%1;say I said test @mynumber} TestTrig

then say test 123
if the trigger works and makes you say I said test 123 then you're good to go.
then erase that trigger.

#FUNC casterglist {Gindipple|Ssyslisk|Raspor|Tharlith}
#ALIAS rc {#forall {@casterglist} {rescue %{i}}}
#TRIGGER {^< T: ({@casterglist})} {rescue %1} Rescue
#TRIGGER {* {hits|slashes|crushes|misses|whips|pierces} *({@casterglist})*} {rescue %1} Rescue

This all works under 4.62 and may easilly port to other versions. This is a small subset of my rescue triggers and I find they work very well (when the rescue skill works Image

What's really handy is the right mouse click menu. I have this one in there:
casterglist=%additem(%selword,@casterglist)
When I click right on someones name and scroll down to my AddCaster it adds them to the list. Then I have an alias to clear it out fresh on new groups.
#ALIAS ccl {casterglist="nobody"}

You are rescued by (%w), you are confused!
assist %1
Will you be %1?

Gindipple

Opps those extra curly braces shouldn't have been there around the trigger names.
was {Rescue} now just Rescue on both triggers


[This message has been edited by Gindipple (edited 07-16-2001).]
Bibbe
Sojourner
Posts: 83
Joined: Sat Jan 27, 2001 6:01 am
Location: Örebro
Contact:

Postby Bibbe » Sat Jan 27, 2001 11:40 am

Well Done!
We casters love that one.
It's pretty much just like the old mad rescue trigger we swedes used to have as evils.
Bibbe
Sojourner
Posts: 83
Joined: Sat Jan 27, 2001 6:01 am
Location: Örebro
Contact:

Postby Bibbe » Sat Jan 27, 2001 11:49 am

Ahhh the %selword function is nice....
I've missed that one.
- bibbe
Saitcho
Sojourner
Posts: 88
Joined: Sat Jan 27, 2001 6:01 am
Location: New Orleans, LA, USA
Contact:

Postby Saitcho » Thu May 10, 2001 11:49 pm

i like this idea but i cant get it to work for 6.16

there is some syntax error in the #FUNC part of it. any ideas?
Gindipple
Sojourner
Posts: 676
Joined: Fri Jan 26, 2001 6:01 am
Location: O' Fallon, MO. USA
Contact:

Postby Gindipple » Fri May 11, 2001 1:43 am

Try it as a #VAR maybe instead
Dakrish
Sojourner
Posts: 54
Joined: Thu Mar 15, 2001 6:01 am
Location: MI
Contact:

Postby Dakrish » Sun Jun 17, 2001 6:20 pm

I love the idea! It was exactly what i was looking for..however..i can't get the whole right click thing to work, after I ccl (clear casterlist) and right click on a name, it says
casterlist=nobody|Todrael
what the heck am i doin wrong? Image
Gindipple
Sojourner
Posts: 676
Joined: Fri Jan 26, 2001 6:01 am
Location: O' Fallon, MO. USA
Contact:

Postby Gindipple » Mon Jun 18, 2001 2:52 am

Hrmm this has always been a problem for me, you have to have the variable set to something other than just "" which would be ideal, but if it is just "" zmud tends to have problems if you're not in a group. The simple solution is I always manually edit out the nobody after I group.
belleshel
Sojourner
Posts: 526
Joined: Mon Jan 29, 2001 6:01 am
Location: Northeast

Postby belleshel » Mon Jun 18, 2001 4:20 am

Setting a variable to "" has always worked fine for me, might be the version I use, what kinda problems you get G?
6.15,
Belle

Return to “MUD Client Help”

Who is online

Users browsing this forum: No registered users and 9 guests