Author |
Message |
Topic: Problem with pattern matching |
dracx
Replies: 10
Views: 7747
|
Forum: zMUD General Discussion Posted: Sat Mar 23, 2002 6:27 pm Subject: Problem with pattern matching |
This is probably harder than you think it should be. Gonna need a sample output from the MUD to see.
Dracx
|
Topic: Gag Command |
dracx
Replies: 9
Views: 17436
|
Forum: zMUD General Discussion Posted: Tue Mar 19, 2002 4:46 pm Subject: Gag Command |
Yep, that works too, if he matches all the way to the end of the line.
(which is probably a good idea).
Dracx
|
Topic: Gag Command |
dracx
Replies: 9
Views: 17436
|
Forum: zMUD General Discussion Posted: Tue Mar 19, 2002 7:21 am Subject: Gag Command |
If you want to gag all blank lines, use this.
#TR {$} {#GAG}
If you want to gag the blank lines surrounding a pattern, try something like this.
#TR {pattern} {#gag -1;#gag}
I think that mi ... |
Topic: time interval |
dracx
Replies: 10
Views: 13267
|
Forum: zMUD General Discussion Posted: Mon Mar 18, 2002 4:59 pm Subject: time interval |
#ALARM *5 {#SEND %crlf}
Dracx
|
Topic: Trigger Help |
dracx
Replies: 5
Views: 5132
|
Forum: zMUD General Discussion Posted: Mon Mar 18, 2002 4:58 pm Subject: Trigger Help |
What do you want to happen if the item is found?
And what if it's not found?
#AL searchfor {
#va itemfound 0
search for %1
#ALARM +5 {
#If @itemfound=1 {
put what you want to do with the it ... |
Topic: Trigger Help |
dracx
Replies: 5
Views: 5132
|
Forum: zMUD General Discussion Posted: Mon Mar 18, 2002 3:33 pm Subject: Trigger Help |
What I would do here is set up a variable on a timer. If the output occurs, use that to change the variable. Then use a timer or an alarm to perform the 'something else' action if the variable is un ... |
Topic: Problems displaying /- characters |
dracx
Replies: 2
Views: 3632
|
Forum: zMUD General Discussion Posted: Sun Mar 17, 2002 3:07 am Subject: Problems displaying /- characters |
Try making your trigger for them an ansi trigger and see if that helps.
Also, if you don't play in a colorful mud, you can turn your ansi control codes off. If your mud has a lot of colors in it t ... |
Topic: zMUD & Windows XP |
dracx
Replies: 14
Views: 19266
|
Forum: zMUD General Discussion Posted: Sun Mar 17, 2002 1:16 am Subject: zMUD & Windows XP |
There is a little flakiness on the alt tabbing, but if I try it again, I can do it. It's got something to do with the mapper I think... because it's so often used 'always on top'. You wouldn't think ... |
Topic: Map loading help plz! O_o |
dracx
Replies: 6
Views: 6709
|
Forum: zMUD General Discussion Posted: Sat Mar 16, 2002 2:03 am Subject: Map loading help plz! O_o |
whoa killa... lighten up on the abbreviations. you get better answers if I don't hafta decipher the message.
As for you question, if I read it properly. Create a new map, and then click on zone/i ... |
Topic: Beta forum? |
dracx
Replies: 8
Views: 9823
|
Forum: zMUD General Discussion Posted: Fri Mar 15, 2002 3:03 pm Subject: Beta forum? |
While the size of the file may actually be only 1 kilobyte, a cluster on a disk cannot contain more than one file. Under every 32bit operating system that I am aware of, the cluster size used on more ... |
Topic: Beta forum? |
dracx
Replies: 8
Views: 9823
|
Forum: zMUD General Discussion Posted: Thu Mar 14, 2002 8:33 pm Subject: Beta forum? |
It's a cookie thing? Well that explains it. From time to time, I go in and thrash my cookies cuz ya know, each of those things that are 10 characters long actually take up 4 kb on your disk... and w ... |
Topic: Triggerin' on names |
dracx
Replies: 2
Views: 5215
|
Forum: zMUD General Discussion Posted: Thu Mar 14, 2002 8:08 pm Subject: Triggerin' on names |
As issued from zmud, the following:
Say I don't think I'm going to be able to get this one, @customer
Produced this:
Dwydd
say I don't think I'm going to be able to get this one
Where Dwy ... |
Topic: Can't Continue Displaying Help Files |
dracx
Replies: 15
Views: 13060
|
Forum: zMUD General Discussion Posted: Thu Mar 14, 2002 5:57 pm Subject: Can't Continue Displaying Help Files |
Let's try loosening that trigger a little and see if it helps. Paste this in your commandline.
#TR {Hit Return to Continue or Any Other Key to Quit} {#SEND %cr}
The original just fired on a pro ... |
Topic: Triggerin' on names |
dracx
Replies: 2
Views: 5215
|
Forum: zMUD General Discussion Posted: Thu Mar 14, 2002 4:58 pm Subject: Triggerin' on names |
Assume this:
#TR {{@empaths}} {#CW <the number for pink>}
Say Bob is an empath, and I like my empaths pink.
so I add bob to @empaths.
Now when Bobby comes in, you know what is gonna ... |
Topic: Beta forum? |
dracx
Replies: 8
Views: 9823
|
Forum: zMUD General Discussion Posted: Thu Mar 14, 2002 4:48 pm Subject: Beta forum? |
How do I get in? I've only been granted access for it like 4 times now... is all this security really neccessary? Now I can't even find a link to get in.
What say, zugg? why don't you just open ... |
Topic: Timers & Variables |
dracx
Replies: 4
Views: 6439
|
Forum: zMUD General Discussion Posted: Thu Mar 14, 2002 3:18 am Subject: Timers & Variables |
#ALARM * {#SAY this fires every second.}
Dracx
|
Topic: AutoRoller |
dracx
Replies: 6
Views: 8599
|
Forum: zMUD General Discussion Posted: Thu Mar 14, 2002 2:39 am Subject: AutoRoller |
Try this pattern instead.
*~. Str~: (%d) Int~: (%d) Wis~: (%d) Dex~: (%d) Con~: (%d) Chr~: (%d) Lck~: (%d)
First problem, which I'm not sure is actually a problem so much as non-standard, is the ... |
Topic: Lag or Commands stuttering |
dracx
Replies: 4
Views: 7417
|
Forum: zMUD General Discussion Posted: Wed Mar 13, 2002 4:54 am Subject: Lag or Commands stuttering |
I'm not sure if this is the same thing, but I've noticed that if I keep zmud busy enough, it won't update properly. For example, a prompt won't be shown when it's supposed to because I'm in a #wait o ... |
Topic: Timers & Variables |
dracx
Replies: 4
Views: 6439
|
Forum: zMUD General Discussion Posted: Wed Mar 13, 2002 4:50 am Subject: Timers & Variables |
Yes, but the commands in the alarm will need to update each variable's value each tick. something like this...
#ADD var1 -1
#ADD var2 -1
#ADD var3 -1
#ADD var4 -1
Each time the alarm goes of ... |
Topic: please help me with text capture problem |
dracx
Replies: 2
Views: 5481
|
Forum: zMUD General Discussion Posted: Wed Mar 13, 2002 4:48 am Subject: please help me with text capture problem |
You can try this... but jeeze, what a dumb thing to do for an exit.
#TR {%s~$%s~/~*~*~~} {whatever code goes here to make this north}
This matches the first two lines and makes that north... you ... |
Topic: Variables |
dracx
Replies: 5
Views: 8092
|
Forum: zMUD General Discussion Posted: Wed Mar 13, 2002 4:36 am Subject: Variables |
What I do is just toss it out when I'm done...
#VAR myvar
<insert code here>
#UNVAR myvar
There may be a more proper way, but it works.
DracX
|
Topic: Ignoring text for triggers |
dracx
Replies: 11
Views: 13404
|
Forum: zMUD General Discussion Posted: Wed Mar 13, 2002 4:34 am Subject: Ignoring text for triggers |
Try this one...
#TR {~*~*Illusion~*~*} {#CLASS "IllusionClass" 0;#TEMP {^~>} {#CLASS "IllusionClass" 1}}
Where "illusionclass" is the class that you are turning ... |
Topic: Trigger on expressions? |
dracx
Replies: 1
Views: 4036
|
Forum: zMUD General Discussion Posted: Tue Mar 12, 2002 3:03 am Subject: Trigger on expressions? |
I saw a setting in the settings editor for triggers that were set as expressions instead of patterns.
Does this mean I can do this?:
#TR {@a=@b} {#say @c}
Dracx
|
Topic: Cutting maps?? |
dracx
Replies: 2
Views: 4612
|
Forum: zMUD General Discussion Posted: Mon Mar 11, 2002 2:21 am Subject: Cutting maps?? |
Draw a bow around the rooms you want to move with your mouse to select them, then click on the Move menu in the mapper and select Move Rooms To Zone. At that point, you will get a list of your zones ... |
Topic: Problem with coping automapper files |
dracx
Replies: 2
Views: 6602
|
Forum: zMUD General Discussion Posted: Mon Mar 11, 2002 2:19 am Subject: Problem with coping automapper files |
You can just delete the link and manually create it. The union between the first side of the path and the second will survive when you change zones, though it will be ugly.
Just click on the room, ... |
|