Author |
Message |
Topic: a question so simple it hurts to ask... |
Lain
Replies: 1
Views: 3511
|
Forum: zMUD General Discussion Posted: Sun May 25, 2003 2:01 am Subject: a question so simple it hurts to ask... |
You need to put quotation marks around the word "yes".
#IF (@autohunt = "yes") {
n
hunt @huntmob
}
Lain
|
Topic: MXP color text replacements question... |
Lain
Replies: 16
Views: 16286
|
Forum: zMUD General Discussion Posted: Wed May 21, 2003 1:29 am Subject: MXP color text replacements question... |
Not sure, they both work fine for me. Although you don't need the brackets around the %1 %2 %3 in your value, this would end up substituting the text "Someone gossips Hello." with "(Som ... |
Topic: MXP color text replacements question... |
Lain
Replies: 16
Views: 16286
|
Forum: zMUD General Discussion Posted: Wed May 21, 2003 12:52 am Subject: MXP color text replacements question... |
I'm not clear on this {(*gossips*)}, if you want to substitute the text before and after the word "gossips",
#TR {(*) gossips (*)} {#SUB {~<color #c0c0c0 #3f587d>%1 gossips %2~</ ... |
Topic: Need some help with highlighting. |
Lain
Replies: 4
Views: 5830
|
Forum: zMUD General Discussion Posted: Tue May 20, 2003 8:28 pm Subject: Need some help with highlighting. |
You need to put these {} around the variable name, this tells the trigger to match the strings found in the variable.
#TR {{@highlight1}} {#CW 12}
Pattern: {highlight1}
Value: #CW 12
Lain
... |
Topic: little trigger |
Lain
Replies: 6
Views: 7652
|
Forum: zMUD General Discussion Posted: Tue May 20, 2003 7:58 pm Subject: little trigger |
%d is for matching any number of digits (0-9)
Your stats--> Str (%d) Int (%d) Wis (%d) Dex (%d) Con (%d) Cha (%d)
You could use the #IF command on the stats you want to keep. For example, if ... |
Topic: Trigger on Colors |
Lain
Replies: 4
Views: 6026
|
Forum: zMUD General Discussion Posted: Thu May 15, 2003 1:04 am Subject: Trigger on Colors |
If you want to turn off the triggers then turn them back on after a delay try using the #ALARM command,
#TR {%e[1;32m(*)$} {#T- "DO STUFF";#SH TURNED OFF!;#ALARM +5 {#T+ "DO STUFF&qu ... |
Topic: Change command speedwalk sends |
Lain
Replies: 6
Views: 8420
|
Forum: zMUD General Discussion Posted: Wed May 14, 2003 10:37 pm Subject: Change command speedwalk sends |
You could make two class folders (Dir_Run and Dir_Sneak) with duplicates of the normal directions but with sneak or run in front of them, so you'd have the normal directions folder, a sneak directions ... |
Topic: Change command speedwalk sends |
Lain
Replies: 6
Views: 8420
|
Forum: zMUD General Discussion Posted: Wed May 14, 2003 10:14 pm Subject: Change command speedwalk sends |
Hmm..
I know that if you want the mapper to move when you type in a movement command other then the normal north, south, east, west ecetera, like "sneak north" that you can go into your s ... |
Topic: What is going on behind the scene... |
Lain
Replies: 3
Views: 4228
|
Forum: zMUD General Discussion Posted: Wed May 14, 2003 1:47 am Subject: What is going on behind the scene... |
In the script parser options in the preferences you can choose to show triggers when they are activated, maybe that would help to finding the problem?
|
Topic: Walking to room |
Lain
Replies: 3
Views: 6716
|
Forum: zMUD General Discussion Posted: Wed May 14, 2003 1:42 am Subject: Walking to room |
I don't know if it's possible to set the shortname to use the room's name. With duplicate names I would alter the names of the rooms using the same shortname - "palazzo fountain1" and " ... |
Topic: Walking to room |
Lain
Replies: 3
Views: 6716
|
Forum: zMUD General Discussion Posted: Tue May 13, 2003 8:55 pm Subject: Walking to room |
The #WALK command will do this for you. It uses the short name of the room (other in the room's properties) you wish to walk to.
#WALK palazzo_fountain (put quotes around "palazzo fountain&quo ... |
Topic: autogetting |
Lain
Replies: 10
Views: 13347
|
Forum: zMUD General Discussion Posted: Tue May 13, 2003 5:24 am Subject: autogetting |
You could use one trigger to capture all plants listed into one variable data record.
#TR {{A|An} (*) {flower|plant} ~((*)~) (%d) left.} {#ADDKEY plants {%2=%3}}
That will capture the short name ... |
Topic: Coloring Multiple Lines with #CO |
Lain
Replies: 3
Views: 5337
|
Forum: zMUD General Discussion Posted: Tue May 13, 2003 4:25 am Subject: Coloring Multiple Lines with #CO |
I find it simple to use within line conditionals if I have sentences I wish coloured running over onto a second line, having it stop when it reaches either a full stop or an exclamation mark.
#TR { ... |
Topic: controlling output, gag not optimal?! |
Lain
Replies: 2
Views: 4241
|
Forum: zMUD General Discussion Posted: Tue May 13, 2003 3:56 am Subject: controlling output, gag not optimal?! |
The #GAG shouldn't remove that line of text completly without leaving a blank line behind. Kaishaku had a problem like this recently, they found that the blank line being left by the gag was caused by ... |
Topic: Problems when disabling the ; character. |
Lain
Replies: 4
Views: 5822
|
Forum: zMUD General Discussion Posted: Tue May 13, 2003 3:48 am Subject: Problems when disabling the ; character. |
You could swap the ; character with one you're less likely to use from "special characters" if it is interfering with other things, and that way you can leave the seperator character enabled ... |
Topic: returning alias name |
Lain
Replies: 4
Views: 6907
|
Forum: zMUD General Discussion Posted: Fri May 09, 2003 11:32 am Subject: returning alias name |
Not sure if there is an option to echo aliases, otherwise you can send it in the form of a SHOW or SAY and add the colour your usual commands are sent in.
#AL kk {#SH %ansi( yellow, black)kk;kill % ... |
Topic: %random Trigger need help |
Lain
Replies: 1
Views: 4941
|
Forum: zMUD General Discussion Posted: Thu May 08, 2003 6:04 pm Subject: %random Trigger need help |
If you want the 3.drow, 5.harpy, 6.hob and so on to be picked randomly, you can place them as seperate strings in a variable,
#VAR nameofvar {3.drow|5.harpy|6.hob|goat|evil|6.vamp|4.harpy|fido|swar ... |
Topic: Removing zone lables in mapper |
Lain
Replies: 2
Views: 5009
|
Forum: zMUD General Discussion Posted: Thu May 08, 2003 7:31 am Subject: Removing zone lables in mapper |
Go into the exit properties for that link and uncheck "draw link", that should do it.
|
Topic: Blank returns like mad |
Lain
Replies: 11
Views: 14716
|
Forum: zMUD General Discussion Posted: Wed May 07, 2003 1:45 am Subject: Blank returns like mad |
You might be able to tell if it is a problem on your end or caused by the mud's output. Try #SH Someone was just vaporized! and see if you still get a blank line.
Lain
|
Topic: Blank returns like mad |
Lain
Replies: 11
Views: 14716
|
Forum: zMUD General Discussion Posted: Tue May 06, 2003 11:33 pm Subject: Blank returns like mad |
Try maybe turning off all other triggers except one gag trigger and see if it still occurs, it might be caused by another trigger, or post an example and I'll see if the same thing happens to me.
L ... |
Topic: Only #FORALL the first few strings |
Lain
Replies: 3
Views: 4917
|
Forum: zMUD General Discussion Posted: Tue May 06, 2003 11:23 pm Subject: Only #FORALL the first few strings |
I wanted to have more than three directions stored but only three directions executed when I flee. I knew how to change the number of string it kept, but I didn't know a function that would execute on ... |
Topic: Only #FORALL the first few strings |
Lain
Replies: 3
Views: 4917
|
Forum: zMUD General Discussion Posted: Tue May 06, 2003 4:16 pm Subject: Only #FORALL the first few strings |
Okay, found a solution using %item( @fleedir, 1) not sure if it's the correct way, but at least it works.
I've had to put the autoflee in a class folder and have it disable after it executes other ... |
Topic: Blank returns like mad |
Lain
Replies: 11
Views: 14716
|
Forum: zMUD General Discussion Posted: Tue May 06, 2003 3:49 pm Subject: Blank returns like mad |
A quick fix until someone works out what is going wrong, would be to try and #GAG the blank lines that the #GAG causes:
#TRIGGER {^$} {#GAG}
Bare in mind this will remove all blank lines.
Lai ... |
Topic: isolating highlight string varaibles |
Lain
Replies: 6
Views: 6077
|
Forum: zMUD General Discussion Posted: Tue May 06, 2003 11:00 am Subject: isolating highlight string varaibles |
Found one possible way:
#TRIGGER {{@roomobject}} {}
#COND {{@roomobjectcol}} {#CW 10} {reparse}
#VAR roomobject {door |door,|door.|step |step,|step.|steps |steps,|steps.|stairs |stairs, |stairs ... |
Topic: isolating highlight string varaibles |
Lain
Replies: 6
Views: 6077
|
Forum: zMUD General Discussion Posted: Tue May 06, 2003 10:37 am Subject: isolating highlight string varaibles |
If you don't mind it triggering from a space, comma or fullstop - you could always add them to the words in your roomobject variable. It might solve some occurences but you'd have to put up with: door ... |
|