Author |
Message |
Topic: different values different colors... how? |
nostra
Replies: 3
Views: 5029
|
Forum: zMUD General Discussion Posted: Mon Jun 14, 2004 3:01 am Subject: different values different colors... how? |
Nod, I just wrote a nestled #IF trigger (like you suggested) but it made me wonder if there could be a performance issue.
I mean, how much computing juice does nestled #IF triggers consume? Or is ... |
Topic: different values different colors... how? |
nostra
Replies: 3
Views: 5029
|
Forum: zMUD General Discussion Posted: Mon Jun 14, 2004 2:51 am Subject: different values different colors... how? |
I have set up 3 different triggers that color my "current hp" depending on the value (< 1200 #color aqua, < 900 #color red, < 500 #color bold,red).
I wonder if it's possible to set up this ... |
Topic: triggering my "status-line"? |
nostra
Replies: 2
Views: 4366
|
Forum: zMUD General Discussion Posted: Mon Jun 14, 2004 2:30 am Subject: triggering my "status-line"? |
Yup, that was the solution. Thanks! :> |
Topic: triggering my "status-line"? |
nostra
Replies: 2
Views: 4366
|
Forum: zMUD General Discussion Posted: Mon Jun 14, 2004 1:27 am Subject: triggering my "status-line"? |
Hi everyone!
My mud (moongate) always have a "status-line" at the bottom which gives your current hp, sp and st (see output below)
[*]<2735hp 3045sp 1400st>
Somehow Zmud doesn't see th ... |
Topic: Is there something similar to "WHEN" command? |
nostra
Replies: 9
Views: 8805
|
Forum: zMUD General Discussion Posted: Fri Jun 11, 2004 9:21 pm Subject: Is there something similar to "WHEN" command? |
Lol! Not working the way I was thinking... I'm a nonprogrammer so bare with me... here is the explanation again.
Some of my trigger conflict with my mud's settings. One such occassion is when I'm c ... |
Topic: Is there something similar to "WHEN" command? |
nostra
Replies: 9
Views: 8805
|
Forum: zMUD General Discussion Posted: Fri Jun 11, 2004 7:48 pm Subject: Is there something similar to "WHEN" command? |
...well, this is a two-way trigger that...
...checks a variable and if it's false wait until true then fires off... more complicated than lightbulb's suggestion :> |
Topic: Is there something similar to "WHEN" command? |
nostra
Replies: 9
Views: 8805
|
Forum: zMUD General Discussion Posted: Fri Jun 11, 2004 7:26 pm Subject: Is there something similar to "WHEN" command? |
My mud has a filter which prevents me from removing eq etc while I'm casting a spell.
So I made a variable which has value 1 as long as I'm casting a spell (after completion it goes back to 0).
... |
Topic: Simple alias question.. |
nostra
Replies: 3
Views: 4598
|
Forum: zMUD General Discussion Posted: Fri Jun 11, 2004 7:01 pm Subject: Simple alias question.. |
Works great. Thanx :> |
Topic: Is there something similar to "WHEN" command? |
nostra
Replies: 9
Views: 8805
|
Forum: zMUD General Discussion Posted: Fri Jun 11, 2004 6:57 pm Subject: Is there something similar to "WHEN" command? |
I see that there are WHILE, UNTIL commands but what if I want to wait for a variable to become a "certain value" THEN execute the trigger?
Something like this:
#WHEN (@A = 0) {say "about time"}
... |
Topic: Simple alias question.. |
nostra
Replies: 3
Views: 4598
|
Forum: zMUD General Discussion Posted: Fri Jun 11, 2004 6:25 pm Subject: Simple alias question.. |
Hi everyone,
I have written a small healing script and made an alias (healon) to kick it off.. Now I would like to add a person to heal and I therefor wonder if it's possible to have an alias like ... |
Topic: Advanced list-manipulation question |
nostra
Replies: 2
Views: 4094
|
Forum: zMUD General Discussion Posted: Fri Jun 11, 2004 2:54 pm Subject: Advanced list-manipulation question |
Hi everyone,
I need help with "list variable set-up". Specifically, when I receive a quest I want a script that colors the mobs I'm looking for. And after they have been killed I need to remove the ... |
Topic: Comparing two lists and returning value |
nostra
Replies: 2
Views: 4044
|
Forum: zMUD General Discussion Posted: Fri Jun 11, 2004 1:01 pm Subject: Comparing two lists and returning value |
I have two lists that I want to compare and if there is a match I want to return the value in the "record variable list" (1, 2).
Record variable list
one | 1
two | 2
String list
one
two
thr ... |
Topic: Comparing lists and looping spells question |
nostra
Replies: 8
Views: 9368
|
Forum: zMUD General Discussion Posted: Thu Jun 10, 2004 6:30 pm Subject: Comparing lists and looping spells question |
It works like a charm
Two questions though:
#TR {You lost your concentration} {
#IF @spelluplist {%db( @allspells, %item( @spelluplist, 1))} {#T- Spellups}
} {Spellups}
1) Is "spellups" (m ... |
Topic: Comparing lists and looping spells question |
nostra
Replies: 8
Views: 9368
|
Forum: zMUD General Discussion Posted: Thu Jun 10, 2004 10:28 am Subject: Comparing lists and looping spells question |
Thanks for a quick and extensive reply!
However (and this is kinda embarassing) after I entered your trigger as above (you forgot a bracket, but that's all) and seeing that evertyhing is looking go ... |
Topic: Comparing lists and looping spells question |
nostra
Replies: 8
Views: 9368
|
Forum: zMUD General Discussion Posted: Thu Jun 10, 2004 7:40 am Subject: Comparing lists and looping spells question |
I have a big problem. Somehow, I need to write a script that compares data-keys in a record variable list with the values in a string list.
Cheers,
Mikael
/Sweden |
Topic: Extracting a phrase from a line |
nostra
Replies: 2
Views: 4894
|
Forum: zMUD General Discussion Posted: Thu Jun 10, 2004 6:06 am Subject: Extracting a phrase from a line |
Well, I got a working solution - but it's not beatiful so if anyone else got something neater feel free to post it
Pattern: ^Spell:%s(%w) (%w)%s-%sLevel
Value: #additem list_currentspells {%1 %2} |
Topic: Extracting a phrase from a line |
nostra
Replies: 2
Views: 4894
|
Forum: zMUD General Discussion Posted: Thu Jun 10, 2004 5:59 am Subject: Extracting a phrase from a line |
Well, this could be simple -- but I guess it's not.
I want to extract a spell from a list and add it to my stringlist. Problem is that some "spells" are one-word and others are two-word. See exampl ... |
Topic: How do you step through a list? |
nostra
Replies: 3
Views: 4483
|
Forum: zMUD General Discussion Posted: Sat Sep 06, 2003 5:07 pm Subject: How do you step through a list? |
Just one question... What does the pattern {*3} mean?
(everything is working as it should, it's just the pattern that confuses me)
|
Topic: How do you step through a list? |
nostra
Replies: 3
Views: 4483
|
Forum: zMUD General Discussion Posted: Sat Sep 06, 2003 1:15 am Subject: How do you step through a list? |
Hi everyone,
This is probably quite basic but I haven't been able to find the answer in the helpfile. Hopefully someone else can help me.
I want to write a trigger that execute the values in a s ... |
Topic: Nested #IF statement with error... need help. |
nostra
Replies: 4
Views: 5625
|
Forum: zMUD General Discussion Posted: Sat Sep 06, 2003 12:02 am Subject: Nested #IF statement with error... need help. |
Duh, nevermind my last posting. I was tired =) |
Topic: Nested #IF statement with error... need help. |
nostra
Replies: 4
Views: 5625
|
Forum: zMUD General Discussion Posted: Fri Sep 05, 2003 11:55 pm Subject: Nested #IF statement with error... need help. |
Thanx, that sorted the error message!
However, the second part of the #IF statement (if FALSE) doesn't execute (it should fire if TRUE doesn't fire)... Any ideas? |
Topic: Nested #IF statement with error... need help. |
nostra
Replies: 4
Views: 5625
|
Forum: zMUD General Discussion Posted: Fri Sep 05, 2003 11:29 pm Subject: Nested #IF statement with error... need help. |
Hi,
I have this nested #IF trigger:
#IF (%iskey( @mob_bot_list, %1)) {
#T- mob_action1
#LOO %db( @string_steps, %2) %3
kill %db( @mob_bot_list, %1)
} {execute not_true_trigger}
If ... |
Topic: Extracting "2nd" value from a record_variable_list |
nostra
Replies: 1
Views: 2845
|
Forum: zMUD General Discussion Posted: Fri Sep 05, 2003 8:44 pm Subject: Extracting "2nd" value from a record_variable_list |
Hello everyone,
I'm about to produce a very delicate script but I'm on stuck on the "record_variable" list manipulation:
WHAT I'VE GOT SO FAR:
Zmud output: Gandalf the Elder is here.
#TR {{@ ... |
Topic: #CW a recordvariable list_name |
nostra
Replies: 1
Views: 3018
|
Forum: zMUD General Discussion Posted: Fri Sep 05, 2003 7:26 pm Subject: #CW a recordvariable list_name |
Hi,
I store player_name and player_clan in a record_variable_list. Example:
Name1 ClanA
Name2 ClanB
Name3 ClanA
I have a zmud output:
{@record_variable list} is here
Problem: I want t ... |
Topic: %ismember question |
nostra
Replies: 1
Views: 3047
|
Forum: zMUD General Discussion Posted: Thu Aug 21, 2003 4:22 pm Subject: %ismember question |
I just don't understand why this trigger refuse to work, someone please help me before I'm going insane
Problem:
My %ismember trigger only fires on a stringlist but not on a record variable list ... |
|