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
Jared242004
Beginner


Joined: 28 Jul 2004
Posts: 21
Location: Canada

PostPosted: Tue Sep 07, 2004 8:12 am   

Trigger/Variable/Alias
 
Confused
ok in the game I play you can get stones for a quest 12 different in total.
I have a trigger to #ad @stone1 1
#ad @stone2 1
#ad @stone3 1
etc. everytime I get one
I have an alias to report the stones I have:
alias stonereport say I have: @stone1 stone1 12, @stone2 stone2 3. @stone3 stone3 6 etc.

now I want to make an alias to report to say how many I have to trade that I don't need.
@stone1 = 12 but I need to keep 2 for my own personal use but wanna report that I have 10 for sale/trade:
alias stonesell say I have @stone1 stone1 10, @stone2 stone2 1, @stone3 stone3 4 for sale or trade.

I still want to report my total stones and then report what I can sell/trade.
I kinda made it hard to understand, but if anyone can help me please do.

Thanks,
Jared
Confused
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Tue Sep 07, 2004 6:37 pm   
 
Code:
#AL stonesell {say I have %eval( @stone1 - 2) stone1, %eval( @stone2 -2) stone2 for sale or trade}

_________________
LightBulb
Senior member

Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious.
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