|
Hroomha Beginner
Joined: 03 Sep 2004 Posts: 11
|
Posted: Sun Apr 16, 2006 12:10 pm
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 a variable
not workin to well
the banks are Meetpoint, Spur, and Market
all I have so far is ...
Trigger : meetpoint bank
Value : currbank=meetpoint
I tried just triggering a variable for each bank
but get this error :
Trigger: meetpoint bank
#temp (You have an account balance of (%d) silver} (meetbank=%1}
...............................................................^ syntax error
***************
when i get into the bank, i have 2 triggers
You have an account balance of (%d) silver
Your new account balance is (%d) silver.
I'd like to store the amounts in my account
in each bank in a variable for each bank.
then I'd like to be able to use an alias like "gold"
to view (echo?) the banks and their acount balances.
Should be easy, just tired and buzzed...
thanx for any help folks...
Rick |
|
_________________ Hroom's Hand |
|
|
|
edb6377 Magician
Joined: 29 Nov 2005 Posts: 482
|
Posted: Sun Apr 16, 2006 1:08 pm |
You are mixing your ( and your {
Code: |
#temp {You have an account balance of (%d) silver} {meetbank=%1}
|
|
|
|
|
Hroomha Beginner
Joined: 03 Sep 2004 Posts: 11
|
Posted: Mon Apr 17, 2006 10:21 am |
Thanx,
dam hard to see the little brackets without glasses...
mebbe we should ask Zugg for a Geezer font in the editor?
Rick |
|
_________________ Hroom's Hand |
|
|
|
|
|