| Author |
Message |
Topic: Send command from trigger at end of line (vs. middle)? |
Nangasaur
Replies: 7
Views: 4219
|
Forum: zMUD General Discussion Posted: Thu Jan 04, 2007 4:14 am Subject: Send command from trigger at end of line (vs. middle)? |
| No, haven't messed with it yet. Our mud is running a lot of random bonuses, so I usually get about 5 minutes out of every 30-45 minutes to work on my script :) Which is rough, because I need a lot m ... |
Topic: Send command from trigger at end of line (vs. middle)? |
Nangasaur
Replies: 7
Views: 4219
|
Forum: zMUD General Discussion Posted: Thu Jan 04, 2007 3:12 am Subject: Send command from trigger at end of line (vs. middle)? |
| It's a feature. Expression triggers fire as soon as any expression occurs (it doesn't even have to be related to the variables you are checking, either, so long as the expression returns true). If y ... |
Topic: Send command from trigger at end of line (vs. middle)? |
Nangasaur
Replies: 7
Views: 4219
|
Forum: zMUD General Discussion Posted: Thu Jan 04, 2007 3:01 am Subject: Send command from trigger at end of line (vs. middle)? |
Here's what I mean:
#TRIGGER "sipper1" (@sipbal & (@hp<@hpsip | @mp<@mpsip) & !@stunned) {#if (@hp<@hpsip) {#if (@mp<%eval( @hp ... |
Topic: LOOPDB, FORALL - a little stumped at the moment :) |
Nangasaur
Replies: 7
Views: 4594
|
Forum: zMUD General Discussion Posted: Thu Jan 04, 2007 2:48 am Subject: LOOPDB, FORALL - a little stumped at the moment :) |
| One possible problem I see is that keys in db variables don't work well with spaces. This is not a problem if your area names never have spaces, but I'm guessing that they do.. also it doesn't seem to ... |
Topic: LOOPDB, FORALL - a little stumped at the moment :) |
Nangasaur
Replies: 7
Views: 4594
|
Forum: zMUD General Discussion Posted: Thu Jan 04, 2007 2:40 am Subject: LOOPDB, FORALL - a little stumped at the moment :) |
OK this is where I'm at so far (still looking for a little guidance here, folks).
I issue the command "mobdeaths 1 1 evil" to display all the mobs of level 1, evil alignment, their area name, and h ... |
Topic: Send command from trigger at end of line (vs. middle)? |
Nangasaur
Replies: 7
Views: 4219
|
Forum: zMUD General Discussion Posted: Thu Jan 04, 2007 2:28 am Subject: Send command from trigger at end of line (vs. middle)? |
Set your trigger to look for your mana, then * (any characters including whitespace), then >>.
Wouldn't that work? |
Topic: LOOPDB, FORALL - a little stumped at the moment :) |
Nangasaur
Replies: 7
Views: 4594
|
Forum: zMUD General Discussion Posted: Wed Jan 03, 2007 4:58 am Subject: LOOPDB, FORALL - a little stumped at the moment :) |
| Ok well, I've discovered another way of doing this...to basically have it make the corrections on it's own while it's adding entries into the database. Any advice on making my syntax a bit more effic ... |
Topic: LOOPDB, FORALL - a little stumped at the moment :) |
Nangasaur
Replies: 7
Views: 4594
|
Forum: zMUD General Discussion Posted: Tue Jan 02, 2007 7:24 am Subject: LOOPDB, FORALL - a little stumped at the moment :) |
I've searched around here and unfortunately am not finding what I think I'm looking for.
Basically what I've done is taken an idea along the lines of something "Private" posted here, where he wants ... |
| |