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


Joined: 22 Dec 2005
Posts: 4

PostPosted: 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...
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Fri Dec 23, 2005 12:09 am   
 
#BU {cure me} {cure me} {cast spell normal cure on me}
Reply with quote
sarghan
Newbie


Joined: 22 Dec 2005
Posts: 4

PostPosted: 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...
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: 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
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: 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
Reply with quote
sarghan
Newbie


Joined: 22 Dec 2005
Posts: 4

PostPosted: Sun Dec 25, 2005 9:28 pm   
 
Thanks TonDiening, this is what I was looking for :).
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