Author |
Message |
Topic: Simple function problem |
l33t3rth4nur1111
Replies: 4
Views: 2438
|
Forum: zMUD General Discussion Posted: Wed Jul 20, 2005 3:29 am Subject: Simple function problem |
Hmm, I tried both and I still got "_1_2_3_4_5_6" instead of the desired "_1_2_3_ _4_5_6".
Would any of my zMUD preferences affect the execution of these functions? (Other than changing special cha ... |
Topic: Simple function problem |
l33t3rth4nur1111
Replies: 4
Views: 2438
|
Forum: zMUD General Discussion Posted: Wed Jul 20, 2005 3:25 am Subject: Simple function problem |
Thanks to you both; I'll give it a try and report the results. |
Topic: Simple function problem |
l33t3rth4nur1111
Replies: 4
Views: 2438
|
Forum: zMUD General Discussion Posted: Mon Jul 18, 2005 3:50 am Subject: Simple function problem |
At least, it seems like one of those disgustingly simple problems.
I wrote a simple recursive function intended to take a string and return the string with an underscore before each character. For ... |
Topic: Making triggers out of state machines |
l33t3rth4nur1111
Replies: 6
Views: 3676
|
Forum: zMUD General Discussion Posted: Mon May 30, 2005 2:53 am Subject: Making triggers out of state machines |
Okay, here's an example. Let's say I want to pick a lock repeatedly until it opens.
hold lockpick. Possible response patterns are "You don't have a lockpick" and "You hold a lockpick." If the form ... |
Topic: Making triggers out of state machines |
l33t3rth4nur1111
Replies: 6
Views: 3676
|
Forum: zMUD General Discussion Posted: Sun May 29, 2005 11:23 pm Subject: Making triggers out of state machines |
Hmm, guess my example wasn't the best. I was trying to come up with a simple example of a trigger using manual states as a state machine.
The procedure I'm going for is performing several actions ... |
Topic: Making triggers out of state machines |
l33t3rth4nur1111
Replies: 6
Views: 3676
|
Forum: zMUD General Discussion Posted: Sun May 29, 2005 10:28 pm Subject: Making triggers out of state machines |
The "Advanced Triggers" document mentions how triggers using manual states can be used to implement state machines. However, it contains few details and no examples regarding this use.
For example ... |
|