|
JTShadow Newbie
Joined: 28 Feb 2004 Posts: 3 Location: USA
|
Posted: 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?
|
|
|
|
Danlo Magician
Joined: 28 Nov 2003 Posts: 313 Location: Australia
|
Posted: Sat Feb 28, 2004 4:35 pm |
#trigger {ACT} {ActStatus}
#BUTTON 1 {Attack} {#alias ActStatus {Attack}}
#BUTTON 2 {Cure} {#alias ActStatus {cure}} |
|
|
|
JTShadow Newbie
Joined: 28 Feb 2004 Posts: 3 Location: USA
|
Posted: 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.
|
|
|
|
|
|