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


Joined: 28 Aug 2002
Posts: 16

PostPosted: Tue Aug 26, 2003 9:36 pm   

Need help with a button
 
I am not sure in what direction to go on this one. I whould like a button that can add and remove pouches as needed on my char. Here is where I was going. But this does not seem conductive to removeing pouches if I select 1 and want to remove 1. I was wondering if anyone had any ideas so this will work the way I want it to. As time goes on i will add more states so that I will be using more pouches.

#BUTTON {@Npouch} {} {1 Pouch|2 Pouches} {#var NPouch 1;get pouch from pack|#var Npouch 2;get 2 pouches from pack}

@Npouch is just so i have a visual reminder for how many pouches my char has currently.
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Wed Aug 27, 2003 5:51 am   
 
I don't think that you would really want to do this.
How do you know if the bag your pulling is the right one?

but you could make an #alias to do this:

#al gs {get %1 pouch from pack}

Now when you type "gs 3" you will get 3 pouches from your pack
or if you type gs 1 you will get 1 pouch (maybe)
you might have to do an #if %1="" get pouch from pack and the other stuff in the false
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