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
zema
Wanderer


Joined: 22 Jun 2005
Posts: 79

PostPosted: Wed Jun 22, 2005 1:47 am   

#setprompt problem
 
ok i am trying to use the #srtprompt command however there is no kind of bracket at the start or end of the prompt so zmud is not allowing me too use it am i doing somthing wrong? This is my prompt HP:1993/4837 MP:500/589 MC:N/A AFFBY:(None) you can customize your prompt but it wont let me add in the < or [ i tried just using #SETPROMPT "" hp maxhp mana maxmana but if it's blank zmud says prompt info cleared..i am a beginner user so if it's somthing insanely simple i am sorry..
_________________
There are 3 things i hate kids, animals, and women with attitudes..
Reply with quote
DeReP
Adept


Joined: 14 Jun 2003
Posts: 222
Location: Chile

PostPosted: Wed Jun 22, 2005 2:39 am   
 
Try
#SETPROMPT "HP:" hp maxhp mana maxmana
Reply with quote
zema
Wanderer


Joined: 22 Jun 2005
Posts: 79

PostPosted: Wed Jun 22, 2005 3:02 am   question
 
How do i know it's done i am getting no imput from zmud, and i am not shure where to look to see if it took sorry i know this is a stupid question..
_________________
There are 3 things i hate kids, animals, and women with attitudes..
Reply with quote
DeReP
Adept


Joined: 14 Jun 2003
Posts: 222
Location: Chile

PostPosted: Wed Jun 22, 2005 3:29 am   
 
#SETPROMPT is just to set the "numbers" of your prompt to variables
so in this case, @hp will contain your current hp, @maxhp will contain your max, same with @mana and @maxmana
I'm not sure what you are trying to accomplish though, you want to change the way your prompt looks?
Reply with quote
zema
Wanderer


Joined: 22 Jun 2005
Posts: 79

PostPosted: Wed Jun 22, 2005 5:14 pm   responce
 
Basically what i am trying to do is get zmud to notice my prompt so i can set up gauges, and i thought you had to do that to set up variables for your hp mana ect..eventually i wanna set up an automated combat bot however i am very new too zmud. On a side note if anyone knows of any websites with detailed tutorials, and examples cause the helpfiles lingo is hard to understand..
_________________
There are 3 things i hate kids, animals, and women with attitudes..
Reply with quote
DeReP
Adept


Joined: 14 Jun 2003
Posts: 222
Location: Chile

PostPosted: Wed Jun 22, 2005 6:19 pm   
 
Gauges are just other kind of buttons, and use numeric value to display the correct percentage bar
here you would use in the HP gauge max value @maxhp and current to @hp
same with mana and maxmana.
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Wed Jun 22, 2005 8:45 pm   
 
Assuming you want just the hp and the mp variables.

#TRIGGER {^HP:&%dhp/&%dhpmax MP:&%dmp/&%dmpmax %*}

That will store values into @hp, @hpmax, @mp, @mpmax. Then you can create your gauges accordingly.
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