Shattered Kingdoms https://www.shatteredkingdoms.org/forums/ 

(zMud) XP guage  By BlackDragon https://www.shatteredkingdoms.org/forums/viewtopic.php?f=42&t=20220 
Page 1 of 1 
Author:  Rennus_Dragonsbane [ Fri May 07, 2010 5:59 am ] 
Post subject:  (zMud) XP guage  By BlackDragon 
Grabs your rough exp and displays it a a bargraph guage. Code: #TRIGGER {You {arehavestillmay} &expstr1.} {#if (@expstr1=="just begun your journey to the next level.") {#var exp 0} #if (@expstr1=="have a long way to go before the next level.") {#var exp 10} #if (@expstr1=="over onethird of the way to the next level.") {#var exp 33} #if (@expstr1=="very close to halfway to the next level.") {#var exp 44} #if (@expstr1=="at the halfway of your journey to the next level.") {#var exp 50} #if (@expstr1=="just begun your secondhalf journey to the next level.") {#var exp 59} #if (@expstr1=="over twothirds of the way to the next level.") {#var exp 66} #if (@expstr1=="over threefourths of the way to the next level.") {#var exp 75} #if (@expstr1=="almost eligible for a level advancement.") {#var exp 90} #if (@expstr1=="advance to the next level.") {#var exp 100;#wait (500);#echo You may now train a level}} I have the 'response' gagged so I put the echo in at the end just to remind me. Code: #BUTTON 34 {approx EXP @status} {worth} {} {} {@exp} {} {} {Size} {160} {11} {Pos} {8} {465} {32} {} {Gauge10100908} {} "" {ExploreInset} {You @EXPSTR1} {} Other little bits to make above work. Code: #VAR exp {0} Code: #VAR status {0} Code: #TRIGGER {Status: (%w)} {#var status %1}

Page 1 of 1  All times are UTC  8 hours 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ 