|
mmclean82 Newbie
Joined: 21 Jun 2011 Posts: 1
|
Posted: 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.
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: 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 |
|
|
|
|
|
|
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
|
|