Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Hroomha
Beginner


Joined: 03 Sep 2004
Posts: 11

PostPosted: 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
Reply with quote
edb6377
Magician


Joined: 29 Nov 2005
Posts: 482

PostPosted: 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}
Reply with quote
Hroomha
Beginner


Joined: 03 Sep 2004
Posts: 11

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net