|
sarghan Newbie
Joined: 22 Dec 2005 Posts: 4
|
Posted: Thu Dec 22, 2005 5:42 pm
simple problem |
how do i make a button like this, i'm typing something like 'cure' and it would send to the mud and echo 'cast spell normal cure on me' ? it shouldn't be hard...
|
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Fri Dec 23, 2005 12:09 am |
#BU {cure me} {cure me} {cast spell normal cure on me}
|
|
|
|
sarghan Newbie
Joined: 22 Dec 2005 Posts: 4
|
Posted: Fri Dec 23, 2005 12:03 pm |
This is not that I wanted, I wanted a button that will take my input from a command line or another input box and then send a command like string1 + text from command line + string2...
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Fri Dec 23, 2005 3:52 pm |
You don't want a button, you want an alias:
#alias cure {cast spell %-1 on me} |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Fri Dec 23, 2005 3:57 pm |
A prompt box then?
string1 %prompt(defaultstring,"Question") string2
cast spell %prompt("normal cure","Which spell?") on me |
|
|
|
sarghan Newbie
Joined: 22 Dec 2005 Posts: 4
|
Posted: Sun Dec 25, 2005 9:28 pm |
Thanks TonDiening, this is what I was looking for :).
|
|
|
|
|
|