Author |
Message |
Topic: help in trigger states |
Palomar
Replies: 2
Views: 4596
|
Forum: zMUD General Discussion Posted: Fri Feb 07, 2003 10:43 pm Subject: help in trigger states |
Am I a Klut or what?
Thanks,
Palomar |
Topic: Clipping text before it gets to the mapper? |
Palomar
Replies: 1
Views: 3631
|
Forum: zMUD General Discussion Posted: Fri Feb 07, 2003 10:20 pm Subject: Clipping text before it gets to the mapper? |
Any way to substitute/replace text before it gets to be parsed by the mapper within zMud?
All the best,
Palomar |
Topic: help in trigger states |
Palomar
Replies: 2
Views: 4596
|
Forum: zMUD General Discussion Posted: Fri Feb 07, 2003 9:54 pm Subject: help in trigger states |
Ok I have this trigger
State trigger.
Id: DescriptionTrigger
State 0:
Pattern: ^The sky about you is alive with the day-time. (*)
Script:
descripttion = %1
State 1:
LoopLines|30:^(*)
Scri ... |
Topic: Need help mapping |
Palomar
Replies: 1
Views: 3673
|
Forum: zMUD General Discussion Posted: Fri Feb 07, 2003 1:11 am Subject: Need help mapping |
There is this MUD I want to map (Avalon) but I am having some diifficulties. The basic structure is
Name room (one line)
description (multiline)
exits (multiline)
prompt (one line)
I can #TAG ... |
Topic: user defined functions |
Palomar
Replies: 6
Views: 7851
|
Forum: zMUD General Discussion Posted: Thu Jan 24, 2002 1:20 am Subject: user defined functions |
1. You can edit a function as you edit variables.
2. What you want is an alias (that can execute commands like #IF) and not a function (that evaluates an expression + returns a result).
Palomar |
Topic: Matching pairs of quotes. |
Palomar
Replies: 4
Views: 6283
|
Forum: zMUD General Discussion Posted: Tue Jan 22, 2002 3:54 pm Subject: Matching pairs of quotes. |
OK, fair enough. Then let me rewrite that post of mine:
*paste the entire post here*
BTW, can you devise some way to test this on zMud?
Thanx,
Palomar |
Topic: Matching pairs of quotes. |
Palomar
Replies: 4
Views: 6283
|
Forum: zMUD General Discussion Posted: Mon Jan 21, 2002 5:54 pm Subject: Matching pairs of quotes. |
How does zMud matches pairs of quotes? e.g. consider the string
"a first string " separated " a second string"
How does zMud matches the pairs of quotes?
1. The strings &q ... |
Topic: stripping quotes |
Palomar
Replies: 1
Views: 5194
|
Forum: zMUD General Discussion Posted: Mon Jan 21, 2002 5:48 pm Subject: stripping quotes |
I have a trigger with a pattern like
^Object (%*) is type (%w)
and in the script field it has a line
item.name = %1
My problem is that a typical mathing line is
Object 'a silly name' is ... |
Topic: Button states |
Palomar
Replies: 5
Views: 8277
|
Forum: zMUD General Discussion Posted: Fri Jan 11, 2002 3:11 pm Subject: Button states |
I think what you want is the #BUTTON command, check it out. The command #SET is for state triggers, a whole different game.
Palomar |
Topic: String Manipulation |
Palomar
Replies: 3
Views: 5897
|
Forum: zMUD General Discussion Posted: Mon Dec 10, 2001 1:49 pm Subject: String Manipulation |
Here goes a fastly brewed up solution.
Trigger:^Obvious paths:(*).
Script:Dirs=%replace(%1,",","|")
This replaces every "," with the list separator char "|&qu ... |
Topic: Several Ridiculously Simple Questions! |
Palomar
Replies: 11
Views: 15719
|
Forum: zMUD General Discussion Posted: Fri Dec 07, 2001 3:56 pm Subject: Several Ridiculously Simple Questions! |
Just one question: since when "==" is used to test equality? Shouldn't it be "="? I have always used "=". It is what the help files say, anyway.
Palomar |
Topic: on trigger states:suggestion/howto |
Palomar
Replies: 1
Views: 4594
|
Forum: zMUD General Discussion Posted: Mon Nov 26, 2001 4:36 pm Subject: on trigger states:suggestion/howto |
My problem is the following: I have a trigger that executes a given script depending on certain circumstances. The best way to implement this is to use a trigger with states where the pattern is alway ... |
Topic: pattern matching everything |
Palomar
Replies: 2
Views: 6272
|
Forum: zMUD General Discussion Posted: Thu Nov 22, 2001 5:22 pm Subject: pattern matching everything |
I have a system of triggers designed to when an item comes on auction to automatically capture all their characteristics. Some item's names have "extra" characters like @ or / or * in them. ... |
|