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
groundzero2010
Novice


Joined: 30 Sep 2004
Posts: 47
Location: Arkansas

PostPosted: Wed Jul 29, 2009 6:43 pm   

Status Bar Script
 
I'd like to submit my working status bar script. I didn't see anywhere to upload scripts like the "Finished scripts forum" for zmud.

Code:
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <cmud>
- <class name="Status Bar Buttons">
  <var name="mmp">1292</var>
  <var name="mp">1292</var>
  <var name="hp">851</var>
  <var name="mhp">851</var>
  <var name="vp">895</var>
  <var name="mvp">895</var>
- <trigger priority="2900" prompt="true">
- <pattern>
- <![CDATA[ &%d{char.hp}/&%d{char.maxhp}H &%d{char.mana}/&%d{char.maxmana}M &%d{char.move}/&%d{char.maxmove}V &%n{char.align}A &%d{char.gold}G &%n{char.exp}X >
  ]]>
  </pattern>
  <value>#TAG prompt</value>
  </trigger>
- <trigger priority="2910" prompt="true">
- <pattern>
- <![CDATA[ &%d{char.hp}/&%d{char.maxhp}H &%d{char.mana}/&%d{char.maxmana}M &%d{char.move}/&%d{char.maxmove}V &%n{char.exp}X
  ]]>
  </pattern>
  </trigger>
- <button type="Gauge" autosize="false" width="500" height="15" autopos="false" left="65" top="38" inset="true" toolstyle="true" transparent="false" color="purple" textcolor="white" gaugelowcol="red" gaugebackcol="silver" priority="31">
  <caption>Move - @vp / @mvp</caption>
  <expr>@vp</expr>
  <gaugemax>@mvp</gaugemax>
  <gaugelow>@mvp/5</gaugelow>
  </button>
- <button type="Gauge" autosize="false" width="500" height="15" autopos="false" left="65" top="6" inset="true" toolstyle="true" transparent="false" color="blue" textcolor="white" gaugelowcol="red" gaugebackcol="silver" priority="33">
  <caption>Hit - @hp / @mhp</caption>
  <value>recite recall</value>
  <expr>@hp</expr>
  <gaugemax>@mhp</gaugemax>
  <gaugelow>@mhp/5</gaugelow>
  </button>
- <button type="Gauge" autosize="false" width="500" height="15" autopos="false" left="65" top="22" inset="true" toolstyle="true" transparent="false" color="navy" textcolor="white" gaugelowcol="red" gaugebackcol="silver" priority="35">
  <caption>Mana - @mp / @mmp</caption>
  <value>remove velve</value>
  <expr>@mp</expr>
  <gaugemax>@mmp</gaugemax>
  <gaugelow>@mmp/5</gaugelow>
  </button>
  </class>
  </cmud>
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Wed Jul 29, 2009 7:26 pm   
 
People have posted code here before as samples, and that appears to be acceptable. You can also upload a package to the Package Library, where people can find it by mud, type, and other parameters. The Package Library for Cmud is probably why we don't have a Finished Scripts Forum for Cmud.

One thing that you don't mention--what mud is your script designed for? A script like yours is extremely dependent on the mud it is designed for.
Reply with quote
groundzero2010
Novice


Joined: 30 Sep 2004
Posts: 47
Location: Arkansas

PostPosted: Thu Jul 30, 2009 12:54 am   
 
Oh right..sorry.

The script was designed for Phoenix Mud ;)
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