Shattered Kingdoms

Where Roleplay and Tactics Collide
VOTE NOW!
It is currently Wed Nov 13, 2024 10:37 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: (zMud) XP guage - By BlackDragon
PostPosted: Fri May 07, 2010 5:59 am 
Offline
Mortal

Joined: Thu Feb 28, 2002 4:00 pm
Posts: 677
Location: The great white north
Grabs your rough exp and displays it a a bargraph guage.

Code:
#TRIGGER {You {are|have|still|may} &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 one-third of the way to the next level.") {#var exp 33}
#if (@expstr1=="very close to half-way to the next level.") {#var exp 44}
#if (@expstr1=="at the half-way of your journey to the next level.") {#var exp 50}
#if (@expstr1=="just begun your second-half journey to the next level.") {#var exp 59}
#if (@expstr1=="over two-thirds of the way to the next level.") {#var exp 66}
#if (@expstr1=="over three-fourths 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} {} {Gauge||10|100|90|8} {} "" {Explore|Inset} {You @EXPSTR1} {}


Other little bits to make above work.
Code:
#VAR exp {0}
Code:
#VAR status {0}
Code:
#TRIGGER {Status: (%w)} {#var status %1}


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 29 guests


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

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group