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


Joined: 13 Jun 2010
Posts: 2

PostPosted: Sun Jun 13, 2010 5:07 am   

Am having a major problem with buttons on zmud. Please help if anyone can.
 
A friend had given me some commands to set up a set of buttons for various purposes. Two of those buttons worked out half decently and did create button entries in my settings. I set the buttons up manually through the command line....the setup as was as follows...

#TRIGGER {+(*) } {#win who %1;#gag} "emug"
#TRIGGER {@(*)@(*)@} {maxhp=%2;curhp=%1;#gag;health=%1} "emug"
#TRIGGER {#(*)#(*)#} {maxmp=%2;curmp=%1;#gag;#math mpper ((@maxmp/@curmp)*100)} "emug"
#TRIGGER { (*) !} {#gag;#clr who} "emug"
#TRIGGER {You have (*) mana remaining.} {curmp=%1} "emug"
#TRIGGER {You determine to enhance your next (*) your mana reserves.} {reserves=0} "emug"
#TRIGGER {} {} "emug"
#TRIGGER {You have (%n) out of 11351 mana remaining.} {curmp=%1} "emug"
#BUTTON 1 {Hit Points @curhp} {#echo I have @curhp remaining.;rec} {} {} {@curhp} {} {} {} {} {} {Pos} {1} {342} {64} {} {Gauge||12|@maxhp|800|13} {} "" {Explore|Inset} {} {}
#BUTTON 2 {Mana Points @curmp} {#echo I have @curmp mana remaining.;m} {} {} {@curmp} {} {} {} {} {} {Pos} {1} {659} {32784} {} {Gauge||13|@maxmp|1000|3} {} "" {Explore|Inset} {} {}
#BUTTON 3 {@reserves} {#echo Reserves are at @reserves} {} {} {} {} {} {Size} {136} {20} {Pos} {1} {511} {} {} {} {} "" {} {} {}

I copied each set exactly how it was set up in the file and then pasted them into the command line and hit enter. Button 1 and Button 2 created a button entry in my settings file, but the third did not. Now I can not delete the buttons and they are really a pain in the bum. Could anyone give me any idea what is causing the problem and how I might be able to delete the buttons manually from the command line. I would greatly appreciate the help because this is really caused some frustration.
Reply with quote
ralgith
Sorcerer


Joined: 13 Jan 2006
Posts: 715

PostPosted: Sun Jun 13, 2010 1:35 pm   
 
#UNBUTTON 1 & etc..?
_________________
CrossOver: Windows Compatibility on Mac and Linux CMUD Advocate
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4692
Location: Pensacola, FL, USA

PostPosted: Sun Jun 13, 2010 2:37 pm   
 
right clicking on the button will pull it up in the settings editor, where you should be able to click on delete.
_________________
Discord: Shalimarwildcat
Reply with quote
Darqlover
Newbie


Joined: 13 Jun 2010
Posts: 2

PostPosted: Mon Jun 14, 2010 2:12 am   
 
Thanks for the help. The #unbutton 1 and such did help with my problem.
Reply with quote
ralgith
Sorcerer


Joined: 13 Jan 2006
Posts: 715

PostPosted: Mon Jun 14, 2010 4:27 pm   
 
Welcome, I couldn't remember offhand if buttons had a #UN or not, but I figured they should. :)
_________________
CrossOver: Windows Compatibility on Mac and Linux CMUD Advocate
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