mushclient - resurgem coven

by Elgar

Back to Mechanic's Corner.

Elgar2005-04-04 06:27:28
Say ok I have mushclient but i need a reflex to make me auto resurgem when someone dies.

the deathsense we are all familiar with is ofcourse

Azman has been slain by a mass of tentacles.

so Azman is the variable and (a mass of tentacles) a wildcard. Seeing I 'm a nurse I have no programming skills what so ever, how do i make it send the commands.

MOONCOVEN CIRCLE
MOONDANCE RESURGEM AZMAN

I had just enough knowledge to do it in Zmud but well mushclient is a bit more basic.

Also if that free system is still available I want it biggrin.gif
Morik2005-04-04 06:30:29
QUOTE(Elgar @ Apr 4 2005, 02:27 PM)
Say ok I have mushclient but i need a reflex to make me auto resurgem when someone dies.

the deathsense we are all familiar with is ofcourse

Azman has been slain by a mass of tentacles.

so Azman is the variable and (a mass of tentacles) a wildcard.  Seeing I 'm a nurse I have no programming skills what so ever, how do i make it send the commands.

MOONCOVEN CIRCLE
MOONDANCE RESURGEM AZMAN

I had just enough knowledge to do it in Zmud but well mushclient is a bit more basic.

Also if that free system is still available I want it  biggrin.gif
89127



Hijacking: but what is resurgem exactly? Are you making it easier or harder for people to help out during this time?
Elgar2005-04-04 06:33:00
Resurgem is when a mooncoven ressurects anyone who follow moon or stag. The point of the reflex is cause we don't see deathsense in the tons of healingspam
Morik2005-04-04 06:34:13
QUOTE(Elgar @ Apr 4 2005, 02:33 PM)
Resurgem is when a mooncoven ressurects anyone who follow moon or stag. The point of the reflex is cause we don't see deathsense in the tons of healingspam
89133



You'll need to be on balance though, thats the big showstopper if you're going through healing spam.

I suggest a big, bright red "THIS PERSON DIED" message which you can't miss and it makes scrolling up to find it much, much easier.
Elgar2005-04-04 06:37:59
only the coven leader needs balance, and they don't heal if alot of deaths happen. The message would still make us scroll up and lose valuable time, especially when people die every time you regain balance. but yes, adding a balance check might be good, though once again above my skill.
Unknown2005-04-04 08:56:06
I could show you how to do it if it were Zmud, and how to make an ignore list as well (so you don't resurrect rogues into Guards), but I'm afraid I don't know Mushclient at all.
Shiri2005-04-04 10:32:55
Heh, I could help were it JAVA. (No ignore list though.)

And actually, the coven leader doesn't need balance or eq to circle OR actually do the Resurgem rite. Unless that was changed in the last couple days, because I always used to join people and still be able to res when off equilibrium.
Unknown2005-04-04 11:39:57
Copy this text and paste it into your Triggers editing dialog for your world file. Should do just what you want (at least the simple version).

CODE
  enabled="y"
  match="(\\w+) has been slain by"
  name="auto_resurgem"
  regexp="y"
  sequence="100"
 >
 mooncoven circle
moondance resurgem %1

 


When you open the triggers dialog, you should see that the paste button is enabled. That's all you need to add this trigger to your settings.
Gwylifar2005-04-04 12:56:22
You definitely need to add the ability to not do that if it's a rogue, Zarquan. Not usable without that at this point.

Mine also only goes off if I'm the coven leader, incidentally.
Unknown2005-04-04 13:06:03
You could setup a variable with a list of names to resurrect, or setup a list of names to NOT resurrect, and then match that in the trigger expression. Separate names with |, as you would in a regular expression list.

CODE
Bob|Jill


Add the "expand_variables" option to the trigger to make the list work in the regular expression. If you want to toggle it on and off depending on if you're the coven leader, you can start with "enabled='n'" and then have an alias to turn it on or off...

CODE
 enabled="y"
 match="(@resurgem_names) has been slain by"
 name="auto_resurgem"
 regexp="y"
 sequence="100"
 expand_variables="y"
>
mooncoven circle
moondance resurgem %1

Gwylifar2005-04-04 13:38:11
Making a list of names to resurrect is not tenable; it has to be an exclusion list. That's how all us zMUD users are doing it. (Personally, I use three list variables that I'm already using for other purposes -- guild, commune, and order enemies -- but when I'm helping someone else who's not so zMUD-savvy set it up, I just have them do a simple if-then, like,

CODE

#if (%1 <> Elerial and %1 <> Kayde and %1 <> Richter) {
 mooncoven circle
 moondance resurgem %1
}

Unknown2005-04-04 14:54:51
You can just as easily setup an exclusion list and change the regular expression to exclude those names. Might want to make it case-sensitive and check for word boundaries, too. (Please keep in mind that I'm doing all this from memory and not actually testing it.)

CODE
Elerial|Kayde|Richter
enabled="y"
match="\\b(?!@no_resurge)(\\w+)\\b has been slain by"
name="auto_resurgem"
regexp="y"
sequence="100"
expand_variables="y"
>
mooncoven circle
moondance resurgem %1

Elgar2005-04-04 15:21:16
oh thats perfect. Thank you all