| Author |
Message |
Topic: Problem with pattern |
SCORNME
Replies: 2
Views: 4759
|
Forum: zMUD General Discussion Posted: Mon Aug 16, 2004 1:06 pm Subject: Problem with pattern |
Couple things:
1. The Library explains, "The pattern is the text to be matched" while "The command is the command to be executed when the pattern is received from the MUD" (for command line entry, ... |
Topic: Changing the step delay? |
SCORNME
Replies: 1
Views: 4225
|
Forum: zMUD General Discussion Posted: Mon Aug 16, 2004 11:41 am Subject: Changing the step delay? |
I don't think you can set the Speed Delay via a Command. I didn't find anything positive via a searchonroomenter. Maybe something like
#AL onroomenter {#PAUSE;#ALA +0.6 {#STEP}}
#TR {^You begin ... |
Topic: Combat bot: Balance recovery mud. non auto combat. |
SCORNME
Replies: 3
Views: 8778
|
Forum: zMUD General Discussion Posted: Mon Aug 16, 2004 8:21 am Subject: Combat bot: Balance recovery mud. non auto combat. |
Using #WAIT is discouraged. See Timers, Alarms, and the WAIT Command#TR "rest" {You stand up, completely rested and healed.} {
#T- rest
#T+ find
cast empower
#ALARM +8 {l;#STEP}}
#TR "autohunt ... |
Topic: Help with Default Color |
SCORNME
Replies: 5
Views: 11451
|
Forum: zMUD General Discussion Posted: Mon Aug 16, 2004 7:16 am Subject: Help with Default Color |
Goto the Options tab of the trigger and make sure there IS a checkmark next to ANSI Trigger and IS NOT a checkmark next to Trigger on Trigger.
ANSI Trigger
Turn this option on to allow patterns ... |
Topic: Character replacement in strings. |
SCORNME
Replies: 14
Views: 22762
|
Forum: zMUD General Discussion Posted: Mon Aug 16, 2004 7:04 am Subject: Character replacement in strings. |
Found this link#AL lisp {
#VAR Temp "%-1"
#VAR Temp %replace( %replace( %replace( %replace( "%-1", Ak, ak, L, l), Y, y, R, r)))
~say @Temp} |
Topic: Character replacement in strings. |
SCORNME
Replies: 14
Views: 22762
|
Forum: zMUD General Discussion Posted: Mon Aug 16, 2004 5:42 am Subject: Character replacement in strings. |
| Sorry, zwimmey. I was editing my previous entry while you were replying! I had copied your #AL which has 5 instances of %replace, but mine only has 4 strings. If my edited post doesn't work, then I ... |
Topic: Character replacement in strings. |
SCORNME
Replies: 14
Views: 22762
|
Forum: zMUD General Discussion Posted: Mon Aug 16, 2004 5:23 am Subject: Character replacement in strings. |
Well, I suppose it didn't work because we didn't include your MUD's command to say.
#AL lisp {SAY %replace( %replace( %replace( %replace( "%-1", Ak, ak, L, l), Y, y, R, r)))}
Edited: removed ... |
Topic: coloring with this trigger |
SCORNME
Replies: 5
Views: 8725
|
Forum: zMUD General Discussion Posted: Mon Aug 16, 2004 4:18 am Subject: coloring with this trigger |
Will simply creating some color triggers and putting them in a separate class work? It may be crude, but if it works #AL kn {know %1;#T+ KnowColors;#ALA +1 {#T- KnowColors}}
#CLA KnowColors disable ... |
Topic: Speedwalk Output |
SCORNME
Replies: 1
Views: 5467
|
Forum: zMUD General Discussion Posted: Sun Aug 15, 2004 10:35 am Subject: Speedwalk Output |
| Since your going to need a trigger to queue the bot to provide the requested directions, just copy the paths into variables and "say @varname" when the request trigger fires. |
Topic: Triggers to Capture Groupies... |
SCORNME
Replies: 1
Views: 4922
|
Forum: zMUD General Discussion Posted: Sun Aug 15, 2004 10:28 am Subject: Triggers to Capture Groupies... |
If you just want the name, then try:
#VAR groupmem {}
#TR {^%d~| %d %w (%w)} {#ADDI groupmen %1}
If you want the title and name, then try:
#VAR groupmem {}
#TR {^%d~| %d (*) %w} {#ADDI grou ... |
Topic: Quick question about PATHS |
SCORNME
Replies: 1
Views: 6214
|
Forum: zMUD General Discussion Posted: Sun Aug 15, 2004 10:05 am Subject: Quick question about PATHS |
Player01 says, 'directions to canyon'
I would like to output my path to "canyon" so I would automatically respond with something like:
You say, '4eu7sd'
#AL DirToCanyon {4eu7sd}
#TR {%w sa ... |
Topic: Character replacement in strings. |
SCORNME
Replies: 14
Views: 22762
|
Forum: zMUD General Discussion Posted: Sun Aug 15, 2004 10:00 am Subject: Character replacement in strings. |
Looks like I forgot a couple things. How about this?
#alias lisp {%replace( %replace( %replace( %replace("%-1", Ak, ak, L, l), Y, y, R, r)))} |
Topic: Multiline logger |
SCORNME
Replies: 1
Views: 5852
|
Forum: zMUD General Discussion Posted: Sun Aug 15, 2004 9:46 am Subject: Multiline logger |
LightBulb's standard multiline approach#TR {(%w) tells you: } {#IF (("%1" != "Alexa") AND ("%1" != "Laryn")) {#T+ tellcapture}}
#TR tellcapture {*} {#CAP TellHist;#GAG} {} {disable}
#TR {{.|?|!}$} ... |
Topic: Channel Logger...and Triggers |
SCORNME
Replies: 9
Views: 17805
|
Forum: zMUD General Discussion Posted: Sun Aug 15, 2004 9:25 am Subject: Channel Logger...and Triggers |
When capturing the tell, can you check it for the bless command and then do your thing if needed? Like:
#TRIGGER {^%w tells you '(*)'$} {#CAPTURE CaluLog;
#IF (%1=" ... |
Topic: Executing commands stored in a variable |
SCORNME
Replies: 6
Views: 7234
|
Forum: zMUD General Discussion Posted: Sun Aug 15, 2004 6:56 am Subject: Executing commands stored in a variable |
"it seems silly to use an alias for this - a variable would be more logical when I'm never going to type in the alias name into the command line."
Um, it works with an alias ... it seems logical to ... |
Topic: Help with Default Color |
SCORNME
Replies: 5
Views: 11451
|
Forum: zMUD General Discussion Posted: Sun Aug 15, 2004 6:01 am Subject: Re: Help with Default Color |
but I can't get the mud to recognize the Default color when it starts at the beginning of a line.
Are you referring to the MUD prompt? If so:
http://www.emobius.com/phpbb/viewtopic.php?t=15567& ... |
Topic: Character replacement in strings. |
SCORNME
Replies: 14
Views: 22762
|
Forum: zMUD General Discussion Posted: Thu Aug 12, 2004 6:19 am Subject: Character replacement in strings. |
Lightbulb answered that question in the same post you quoted:
#AL lisp {%replace( %replace( "%-1", s, ss), S, Ss)}
Following his example, I got:
#alias lisp {%replace( %replace( %replace( %rep ... |
Topic: Can you do this in Zmud ? |
SCORNME
Replies: 4
Views: 7206
|
Forum: zMUD General Discussion Posted: Thu Aug 12, 2004 5:57 am Subject: Can you do this in Zmud ? |
| Why not just make buttons that you can click to cast your fav spells? |
Topic: %match help |
SCORNME
Replies: 5
Views: 6412
|
Forum: zMUD General Discussion Posted: Thu Aug 12, 2004 5:38 am Subject: %match help |
| I think I remember reading somewhere that the * wildcard also matches the following space too. If it is grabbing the end brace would that be throwing off the pattern? If the letters between the brac ... |
Topic: #slow |
SCORNME
Replies: 9
Views: 11221
|
Forum: zMUD General Discussion Posted: Wed Aug 11, 2004 10:52 am Subject: #slow |
If the compass is standard for each room in Materia, then you could trigger off it's top line.
#TRIG {NW N NE} {#OK}
You'll need to verify the spacing is consistent f ... |
Topic: Logging in HTML |
SCORNME
Replies: 2
Views: 4988
|
Forum: zMUD General Discussion Posted: Wed Aug 11, 2004 8:27 am Subject: Logging in HTML |
Post
http://www.emobius.com/phpbb/viewtopic.php?t=16344&highlight=logging+html
has some ideas for this. |
Topic: Newbie question concerning output window. |
SCORNME
Replies: 4
Views: 7438
|
Forum: zMUD General Discussion Posted: Wed Aug 11, 2004 8:14 am Subject: Newbie question concerning output window. |
This is usually a MUD setting named 'compact'
Did you check the MUD settings per Lightbulb's suggestion?
Also, if it's a zMUD feature that caused it, then post it over here also cuz rodzeth want ... |
Topic: Color Schemes |
SCORNME
Replies: 2
Views: 4583
|
Forum: zMUD General Discussion Posted: Wed Aug 11, 2004 7:53 am Subject: Color Schemes |
Read the post and became interested myself in a list of ansi color values. I Google searched for "ansi color values" and found this:
Foreground colors
30 Black
31 Red
... |
Topic: Zmud and Colors |
SCORNME
Replies: 5
Views: 9317
|
Forum: zMUD General Discussion Posted: Wed Aug 11, 2004 7:40 am Subject: Zmud and Colors |
| Can you use %colorname? |
Topic: aliases, triggers, macros |
SCORNME
Replies: 2
Views: 5081
|
Forum: zMUD General Discussion Posted: Wed Aug 11, 2004 6:49 am Subject: aliases, triggers, macros |
| Not that any of Lightbulb's expert advice needs adding to, but, if I understand what you're describing, from experience it is possible that you undocked the Edit Window from the Settings Editor and it ... |
| |