|
CaG Clyde Newbie
Joined: 13 Mar 2003 Posts: 2 Location: USA
|
Posted: Thu Mar 13, 2003 9:13 am
Trigger recycle |
Okay, here is the problem. On my mud I am training spells rather then spending valuable practices on them so I often fail at just about every spell and have triggers to keep my spells up. However, like I said I often fail and for every spell I fail at sends the same message "You lost your concentration" Is there a way that I could make it do the last spell I casted?
I use more then one client at times so i have my spells aliased to the mud so for instance I have: cast 'bless' aliased as bless.
So if I type and this shows:
Types: bless
Shows: You lost your concentration.
OR
Types: armor
Shows: You lost your concentration.
How can I trigger it to resend the last command so I can be lazy and not type anything?
I figure this is a pretty common question, however, I have not the time to look through the 300 or more help forums on here. So thanks in advance q: |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Thu Mar 13, 2003 10:10 am |
#ALIAS cast {~cast %-1;#VAR AmCasting {%-1}}
#TRIGGER {^You lost your concentration.} {cast @amcasting}
Explanation found in one of the 300 or more help forums on here.
Ton Diening |
|
|
|
CaG Clyde Newbie
Joined: 13 Mar 2003 Posts: 2 Location: USA
|
Posted: Thu Mar 13, 2003 12:03 pm |
ok.. that sort of helps.. cept it doesnt work for triggers.. for example
The aura of your deitie's power vanishes.
<this text triggers cast 'holy aura'>
You lost your concentration.
nothing else afterwards.. it only works if i manually enter the command and fail.. it seems as if the command you gave me disregards all triggers |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Thu Mar 13, 2003 12:25 pm |
Yes because the variable is set by the alias. Just have the trigger call the alias:
#TRIGGER {The aura of your deitie's power vanishes.} {cast 'holy aura'}
Also, note that because of the pattern it has, the trigger that fires when you loose your concentration matches only when this text comes at the start of a line.
Kjata |
|
|
|
|
|