Author |
Message |
Topic: nested #if ...and variable help..please? |
Hroomha
Replies: 4
Views: 4487
|
Forum: zMUD General Discussion Posted: Wed Apr 19, 2006 11:45 am Subject: nested #if ...and variable help..please? |
had to change just one thing...works great!
#FORALL @bank {#ECHO %i " " @{balance%i}}
added a grand total to it ..
#CR
#SHOW "CURRENT BANK BALANCES"
#FORALL @bank {#ECHO %i " " ... |
Topic: nested #if ...and variable help..please? |
Hroomha
Replies: 4
Views: 4487
|
Forum: zMUD General Discussion Posted: Mon Apr 17, 2006 11:32 am Subject: nested #if ...and variable help..please? |
zmud 6.16
here is the code
Trigger: You have an account balance of (%d) silver
Value:
#if {@currbank=meetbank} {
meetbank=%1
#if {@currbank=spurbank} {spurbank=%1} {}
} {}
... |
Topic: syntax trigger variable...lil help please? |
Hroomha
Replies: 2
Views: 3567
|
Forum: zMUD General Discussion Posted: Mon Apr 17, 2006 10:21 am Subject: syntax trigger variable...lil help please? |
Thanx,
dam hard to see the little brackets without glasses...
mebbe we should ask Zugg for a Geezer font in the editor?
Rick |
Topic: syntax trigger variable...lil help please? |
Hroomha
Replies: 2
Views: 3567
|
Forum: zMUD General Discussion Posted: Sun Apr 16, 2006 12:10 pm Subject: syntax trigger variable...lil help please? |
running zmud 6.16
I have 3 ( or more) banks , each has it's own account
I'd like to store the account balance for each bank in a variable
what I've been trying to do is store a variable in ... |
Topic: pattern match end of line help please? |
Hroomha
Replies: 1
Views: 3708
|
Forum: zMUD General Discussion Posted: Mon Nov 15, 2004 7:11 am Subject: pattern match end of line help please? |
the mud output looks like this
You find its closed blood-stained sack (..or bag or pouch...etc)
or
You find its hemp sack
trying to do a get sack ( or bag or pouch)
mine loo ... |
Topic: HIlightiing multiple variables? |
Hroomha
Replies: 10
Views: 7104
|
Forum: zMUD General Discussion Posted: Mon Sep 06, 2004 12:13 am Subject: got it |
Mnay thanx,
sorry I didn't pick up on the command line entry bit.
your way works perfect.
Thanx again for all the help,
and also the aliases to go with it. :}
H, |
Topic: HIlightiing multiple variables? |
Hroomha
Replies: 10
Views: 7104
|
Forum: zMUD General Discussion Posted: Sun Sep 05, 2004 5:23 am Subject: HIlightiing multiple variables? |
found a kind of work-around.
alias: tm
value: #var tm %1 {tm}
#forall @tm {teamz {%1}}
#forall @tm {#echo {%i}}
alias: teamz
value: #trigger {%1} {#CW 14} tm
#echo {%1} teamed!
Th ... |
Topic: HIlightiing multiple variables? |
Hroomha
Replies: 10
Views: 7104
|
Forum: zMUD General Discussion Posted: Sat Sep 04, 2004 10:42 pm Subject: HIlightiing multiple variables? |
Thanks for the responses,
the extra brackets didn't work tho.
I've gotten close but still need a lil help.
Alias: teamz
Value: #var teamz %1
#forall @teamz {#trigger {(%i)} {#CW 14} {test ... |
Topic: HIlightiing multiple variables? |
Hroomha
Replies: 10
Views: 7104
|
Forum: zMUD General Discussion Posted: Sat Sep 04, 2004 9:07 pm Subject: HIlightiing multiple variables? |
sorry folks,
nothing is working.
I have this allready:
alias:team
value: #trigger {%1} {#CW 14} team
#echo {%1} teamed!
this works for single names, and can be used one by one.
I ... |
Topic: HIlightiing multiple variables? |
Hroomha
Replies: 10
Views: 7104
|
Forum: zMUD General Discussion Posted: Sat Sep 04, 2004 5:38 am Subject: trig |
Many thanks.
I read the help files and tried,
but couldn't get it to work.
kind of sad, but i took me a long time
and still couldn't get it.
Thanks again, this is alot different fro ... |
Topic: HIlightiing multiple variables? |
Hroomha
Replies: 10
Views: 7104
|
Forum: zMUD General Discussion Posted: Fri Sep 03, 2004 3:25 am Subject: HIlightiing multiple variables? |
I'm trying to take a string like
{dalan|Grogg|sultan}
and color each word yellow
we play team games, and i need a trigger to hilight multiple names.
Thanx for any help
H. |
|