Author |
Message |
Topic: Easy equation. Except I'm Retarded. |
Altan
Replies: 1
Views: 4236
|
Forum: zMUD General Discussion Posted: Mon Jan 07, 2002 9:03 pm Subject: Easy equation. Except I'm Retarded. |
#IF (%trigger(ClassToCheck)=0) {CmdIfOff} {CmdIfOn}
You can change the 0 to 1 and switch the "on" and "off" order if you want, but it gives you the idea of how it works.
|
Topic: trigger help with multiple IF |
Altan
Replies: 12
Views: 14151
|
Forum: zMUD General Discussion Posted: Mon Jan 07, 2002 7:57 pm Subject: trigger help with multiple IF |
That did it.
Seems to work well, thanks everyone for the assistance and dealing with me rambling....
|
Topic: trigger help with multiple IF |
Altan
Replies: 12
Views: 14151
|
Forum: zMUD General Discussion Posted: Mon Jan 07, 2002 7:51 pm Subject: trigger help with multiple IF |
Instead of handling the hp/sp part in another alias, could I just adjust the basic alias/IF to handle it?
I'm thinking something along these lines:
#IF (@ReadyToFight)&(@hp>@hpmin)& ( ... |
Topic: trigger help with multiple IF |
Altan
Replies: 12
Views: 14151
|
Forum: zMUD General Discussion Posted: Mon Jan 07, 2002 6:58 pm Subject: trigger help with multiple IF |
Now that was a neat endless loop. :)
Using this setup:
#IF (%trigger( magebot|AwaitingSpellDisposition)=0) {
#IF ((@WantInvis)&(@AmInvis=0)) {
#T+ magebot|AwaitingSpellDisposition
... |
Topic: trigger help with multiple IF |
Altan
Replies: 12
Views: 14151
|
Forum: zMUD General Discussion Posted: Mon Jan 07, 2002 6:01 pm Subject: trigger help with multiple IF |
After further testing it seems the problem is not directly in this alias but somewhere in the PrepToFight alias that causes the crash.
I think my problem is I am attempting to add in two more thing ... |
Topic: trigger help with multiple IF |
Altan
Replies: 12
Views: 14151
|
Forum: zMUD General Discussion Posted: Sat Jan 05, 2002 4:46 am Subject: trigger help with multiple IF |
Thanks for the catch on the syntax.
Unfortunately it had no effect on the problem. Still crashes when @hp < @hpmin.
Odd because it seems like it would have teh same results as when ReadyToFig ... |
Topic: trigger help with multiple IF |
Altan
Replies: 12
Views: 14151
|
Forum: zMUD General Discussion Posted: Fri Jan 04, 2002 9:24 pm Subject: trigger help with multiple IF |
It also works fine if @ReadyToFight=0 and runs through the spell check w/o a problem.
It's only when my hp or sp get below min levels that it crashes.
|
Topic: trigger help with multiple IF |
Altan
Replies: 12
Views: 14151
|
Forum: zMUD General Discussion Posted: Fri Jan 04, 2002 9:22 pm Subject: trigger help with multiple IF |
I spoke too soon.
Zmud started crashing when certain criteria is met.. I've traced it down to this alias, anyone know what is wrong with it that it causes it to crash?
Alias "io" (us ... |
Topic: trigger help with multiple IF |
Altan
Replies: 12
Views: 14151
|
Forum: zMUD General Discussion Posted: Fri Jan 04, 2002 6:53 pm Subject: trigger help with multiple IF |
I took your suggestions, morphed them into my previous setup and after some more tweaking it seems to work well.
Thanks for the help! :)
|
Topic: trigger help with multiple IF |
Altan
Replies: 12
Views: 14151
|
Forum: zMUD General Discussion Posted: Wed Jan 02, 2002 11:33 pm Subject: trigger help with multiple IF |
I'm having a problem with how to setup a trigger.
I'm using an alias along with the timer to run into a room, hit a monster, and run out. I have the ability to protect myself in two ways. Cast an i ... |
Topic: Captureing tells |
Altan
Replies: 12
Views: 27009
|
Forum: zMUD General Discussion Posted: Sat Mar 10, 2001 12:03 am Subject: Captureing tells |
Well I now see why I was getting duplicates. After it triggers the first time, capture text turns on and doesn't turn off. So I keep capturing text and every time someone tells me something I capt ... |
Topic: Captureing tells |
Altan
Replies: 12
Views: 27009
|
Forum: zMUD General Discussion Posted: Fri Mar 09, 2001 10:16 pm Subject: Captureing tells |
This seemed like a rather nifty idea so I thought I'd try it out, but I'm having some problems.
For starters it seems in v6.16 that the #TEMP command creates a temp trigger yet it stays in the list ... |
|