Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
mmclean82
Newbie


Joined: 21 Jun 2011
Posts: 1

PostPosted: Tue Jun 21, 2011 4:52 pm   

Completely new to Cmud scripting
 
I am looking for something that grabs my gold, silver, diamonds, glory, pracs and trains from my score when I check it and store it in a variable, I also want it to grab my hp/mana/move from my prompt and store it for a health bar, I then want a function that converts the value of the diamonds and gold into silver and sums it all up to show me My value in Gold Or Silver Or Diamonds, and Show's my current Glory, Pracs and Trains where I can set an Uppper limit so when the bar is full I go use my glory or trains or bank my gold.
Reply with quote
shalimar
GURU


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

PostPosted: Tue Jun 21, 2011 5:34 pm   
 
What you are looking for are #TRIGGER's to gather all the data, you can use the wattern wizard to help match stuff... but without your showing us what you see, i cant help with that.

#BUTTON's for the gauges, they are easier to make via the settings editor.

The rest of the info could be displayed in a #STATUS either on the bar between the command line and the mud window, or in the status window.

for more information on these commands, entering something like:

#HELP #TRIGGER
#HELP %concat

to open up the help files for things, math is pretty direct as well, just make sure to put your formula in parenthesis

var=(@var+1)
coinTotal=(@silver+(@gold*10)+(@diamond*100))
_________________
Discord: Shalimarwildcat
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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