Author |
Message |
Topic: will this #IF work? |
Martyl
Replies: 11
Views: 14221
|
Forum: zMUD General Discussion Posted: Mon Apr 14, 2008 9:00 pm Subject: will this #IF work? |
Here's another version, if you wanted to be able to cast when they said or told you a specific spell name (automatically).
( This is based off of something like : Friend says, 'heal' )
#VARIABL ... |
Topic: Navigating a Maze with SPY |
Martyl
Replies: 3
Views: 5933
|
Forum: zMUD General Discussion Posted: Mon Apr 14, 2008 7:27 pm Subject: Navigating a Maze with SPY |
Awesome, thanks, I'll give it a shot.
Martyl |
Topic: simple command |
Martyl
Replies: 6
Views: 8013
|
Forum: zMUD General Discussion Posted: Wed Apr 02, 2008 5:33 pm Subject: simple command |
I think I just answered my own question :
#TRIG {(%d)/(%d)hp (%d)/(%d)m (%d)/(%d)v} {#IF (%1<300) {cast 'heal'}}
Does that look right?
The %1 is the first number (current HP), and %2 is the ... |
Topic: simple command |
Martyl
Replies: 6
Views: 8013
|
Forum: zMUD General Discussion Posted: Wed Apr 02, 2008 5:29 pm Subject: simple command |
How would it look if your prompt was like this instead :
{208/275hp 133/234m 64/477v 4351tnl 1000a 3673g}
Where the second number is the MAX? and you've got other stuff in there too? Does that m ... |
Topic: Navigating a Maze with SPY |
Martyl
Replies: 3
Views: 5933
|
Forum: zMUD General Discussion Posted: Wed Apr 02, 2008 5:25 pm Subject: Navigating a Maze with SPY |
I have some experience with the #IF statement, but not enough for this.
I've got a small maze in front of me, and if I spy into the room, and see a particular mobile, then I know THAT is the way to ... |
Topic: Turning off a trigger based on input |
Martyl
Replies: 5
Views: 5413
|
Forum: zMUD General Discussion Posted: Thu May 31, 2007 1:00 pm Subject: Turning off a trigger based on input |
Thanks. Since I'm just a simple trigger guy, I ended up making two triggers :
#TRIGGER {Friend tells you 'AutoGold OFF'}{#T- AutoGold}
#TRIGGER {Friend tells you 'AutoGold ON'}{#T+ AutoGold}
... |
Topic: Turning off a trigger based on input |
Martyl
Replies: 5
Views: 5413
|
Forum: zMUD General Discussion Posted: Wed May 30, 2007 8:50 pm Subject: Turning off a trigger based on input |
I'm pretty new to triggers, so forgive me if this is listed somewhere else.
Is there an easy way to turn a trigger OFF based on what someone says in the room?
Ie : Zugg tells you 'Autogold OFF'
... |
|