Author |
Message |
Topic: %arrget not working... |
Gage
Replies: 5
Views: 5761
|
Forum: zMUD General Discussion Posted: Sun Sep 05, 2004 1:00 am Subject: %arrget not working... |
Yes, those were probally messed up since I tried many things to make it work properly.
The problem was the varaible was defined as a string list rather then an array. Although though the GUI made i ... |
Topic: %arrget not working... |
Gage
Replies: 5
Views: 5761
|
Forum: zMUD General Discussion Posted: Sat Sep 04, 2004 2:42 am Subject: %arrget not working... |
#SH %random( 1, %numitems( @tickedoffmonster))
#SH %arrget( %array( tickedoffmonster), 3)
#SHOW %arrhigh( tickedoffmonster)
#SHOWARR @tickedoffmonster
1. Works correctly
2. Nothing
3. Nothing
... |
Topic: %arrget not working... |
Gage
Replies: 5
Views: 5761
|
Forum: zMUD General Discussion Posted: Sat Sep 04, 2004 1:09 am Subject: %arrget not working... |
Why will this not work?
#SH %arrget( tickedoffmonster, 3)
Where tickedoffmonster is a predefined array of strings. |
Topic: Text to Speech... |
Gage
Replies: 1
Views: 3520
|
Forum: zMUD General Discussion Posted: Wed May 28, 2003 4:14 am Subject: Text to Speech... |
Where can I find instructions for the mud reader plug in?
I downloaded and installed it, but just putting #SPEECH blah doesn't seem to work...
Gage
|
Topic: %s matches only once? |
Gage
Replies: 1
Views: 3201
|
Forum: zMUD General Discussion Posted: Fri May 16, 2003 4:39 am Subject: %s matches only once? |
Nevermind,
I was using (*) when I should have been using %x in my pattern.
|
Topic: %s matches only once? |
Gage
Replies: 1
Views: 3201
|
Forum: zMUD General Discussion Posted: Fri May 16, 2003 4:24 am Subject: %s matches only once? |
Hopefully the spaces show up...
Text:
1st. Row Myself Someone -----
Pattern:
1st. Row%s(*)%s(*)%s(*)%s
Action:
#SHOW %1
#SHOW %2
#SHOW % ... |
Topic: Trigger on Colors |
Gage
Replies: 4
Views: 6062
|
Forum: zMUD General Discussion Posted: Thu May 15, 2003 12:37 am Subject: Trigger on Colors |
That works perfectly, thank you.
Second question...
I'm using this to detect if people are in the same room as me to turn off a class of triggers, however, if I do the following all it does is d ... |
Topic: Trigger on Colors |
Gage
Replies: 4
Views: 6062
|
Forum: zMUD General Discussion Posted: Wed May 14, 2003 8:08 pm Subject: Trigger on Colors |
I am attempting to write a trigger that detects if someone is in the room with me. The only indication that the mud gives that this is a real person and not another object or monster is that they are ... |
Topic: Coloring Multiple Lines with #CO |
Gage
Replies: 3
Views: 5369
|
Forum: zMUD General Discussion Posted: Wed May 14, 2003 4:38 am Subject: Coloring Multiple Lines with #CO |
I was able to do that through the editor and it works.
Thank-you very much.
|
Topic: Coloring Multiple Lines with #CO |
Gage
Replies: 3
Views: 5369
|
Forum: zMUD General Discussion Posted: Tue May 13, 2003 3:49 am Subject: Coloring Multiple Lines with #CO |
Pattern:
^You hit with a strong strike to (*)'s neck destroying$%2 windpipe!
Action:
#CO yellow
However when I try to light the line only the second half gets lit. I also have triggers spanni ... |
Topic: Mapper - Long and Short Exit Names |
Gage
Replies: 1
Views: 2748
|
Forum: zMUD General Discussion Posted: Wed May 07, 2003 7:31 am Subject: Mapper - Long and Short Exit Names |
I'm having a problem with the mapper in that my mud uses short exit names when there is more then one exit, but uses the full exit name when there is only one. The mapper is choking whenever I run in ... |
Topic: Reseting Mapper |
Gage
Replies: 3
Views: 4066
|
Forum: zMUD General Discussion Posted: Thu May 01, 2003 6:32 am Subject: Reseting Mapper |
Delete everything and start over.
|
Topic: Reseting Mapper |
Gage
Replies: 3
Views: 4066
|
Forum: zMUD General Discussion Posted: Thu May 01, 2003 4:39 am Subject: Reseting Mapper |
How do I go about resetting the mapper?
|
Topic: Does INPUT have a variable value? |
Gage
Replies: 2
Views: 3271
|
Forum: zMUD General Discussion Posted: Sun Mar 30, 2003 9:03 am Subject: Does INPUT have a variable value? |
I have some kill triggs that place "kill monster name" in the command promp when I walk into a room and certain monsters are there.
This works except when I'm partied and I'm trying to ty ... |
Topic: Matching variables |
Gage
Replies: 6
Views: 6203
|
Forum: zMUD General Discussion Posted: Sat Mar 29, 2003 12:00 pm Subject: Matching variables |
Got it with this...
Pattern:
^(*) ({type1|type2|type3}) {coin|coins}$
Action:
get "%2"
Now I just have to do the same for the first one.
Thanks all who help,
Gage
|
Topic: Looking for a MUD that... |
Gage
Replies: 14
Views: 19804
|
Forum: zMUD General Discussion Posted: Sat Mar 29, 2003 11:12 am Subject: Looking for a MUD that... |
http://www.bat.org
1) Above 50 playerbase.
Bat: Never less then 170 players on, maxes at over 400.
2) Ability to see stats of items on shops. This is very important for me, since I hate where ... |
Topic: Matching variables |
Gage
Replies: 6
Views: 6203
|
Forum: zMUD General Discussion Posted: Sat Mar 29, 2003 10:52 am Subject: Matching variables |
#VAR attack_match {%1} isn't capturing what I need either.
And I'm finding alot of uses for this....
Heres another example of what I would like to do:
Pattern:
^%1 {type1|type2|type3} {coin| ... |
Topic: Trigger Executing Twice |
Gage
Replies: 1
Views: 2652
|
Forum: zMUD General Discussion Posted: Thu Mar 27, 2003 5:18 am Subject: Trigger Executing Twice |
I have a trigger that keeps executing twice. Now this only happens when the first trigger brings out the pattern from the mud. It does not happen if I enter the command myself and the pattern shows ... |
Topic: Match across new lines. |
Gage
Replies: 3
Views: 3911
|
Forum: zMUD General Discussion Posted: Wed Mar 19, 2003 6:20 am Subject: Match across new lines. |
Thanks for the example, I see some syntex I am unfamilar with... Please correct me if some of my assmuptions are wrong.
You STUN (%w)$(*)
%w matchs any word, and is stored in the %1 variable.
$ ... |
Topic: Match across new lines. |
Gage
Replies: 3
Views: 3911
|
Forum: zMUD General Discussion Posted: Sun Mar 16, 2003 4:49 am Subject: Match across new lines. |
How do you make a trigger match across lines?
Example:
You STUN %1
...WHO breaks the stun quickly off with intense concentration.
---------------------------
The first line You STUN %1 indi ... |
Topic: Matching variables |
Gage
Replies: 6
Views: 6203
|
Forum: zMUD General Discussion Posted: Mon Mar 03, 2003 4:50 am Subject: Matching variables |
Hum, That doesn't seem to be working correctly.
This is what I have:
#CW white
@attack_match = %1
#IF ( @attack_match == "circle kick") {
say test
}
I have also had it VAR attac ... |
Topic: Matching variables |
Gage
Replies: 6
Views: 6203
|
Forum: zMUD General Discussion Posted: Mon Mar 03, 2003 3:43 am Subject: Matching variables |
In the pattern:
^You {step|kick|smash|circle kick|stomp|stomp-kick|spin-kick|lunge|attack|leg-twist|side-kick|thud|gouge|strike|bearhug|jump-kick|back-kick|SNAP-KICK|FLY-KICK}
How would I find out ... |
Topic: Insert command into prompt |
Gage
Replies: 1
Views: 2911
|
Forum: zMUD General Discussion Posted: Tue Jan 07, 2003 7:25 am Subject: Insert command into prompt |
I have a simple question:
How do I have a trigger put a command to the prompt without executing the command?
Pattern: "You are thirsty."
Action : "Drink"
Thanks
|
|