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
JTShadow
Newbie


Joined: 28 Feb 2004
Posts: 3
Location: USA

PostPosted: Sat Feb 28, 2004 2:45 pm   

Trigger Question
 
I want to make a couple buttons on my mud, and I'm wondering how to do it. In this MUD I can perform an action whenever the word ACT appears, and I want to automatically perform an action. Simple enough, I got that far. Now I want to make it more complex. I want to add buttons such as attack and cure and whatever so if i click attack it'll make me attack whenever the word ACT comes up, or if I click cure it makes me cure whenever the word ACT comes up. How would I go about doing that?
Reply with quote
Danlo
Magician


Joined: 28 Nov 2003
Posts: 313
Location: Australia

PostPosted: Sat Feb 28, 2004 4:35 pm   
 
#trigger {ACT} {ActStatus}
#BUTTON 1 {Attack} {#alias ActStatus {Attack}}
#BUTTON 2 {Cure} {#alias ActStatus {cure}}
Reply with quote
JTShadow
Newbie


Joined: 28 Feb 2004
Posts: 3
Location: USA

PostPosted: Sun Feb 29, 2004 12:08 am   
 
Thanks, that helped a lot. I had to modify it a little, change them to variables, but without this info I wouldn't of gotten anywhere too soon.
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