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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » Finished MUD Scripts
ssmud
Newbie


Joined: 27 Jun 2006
Posts: 3

PostPosted: Fri Jun 30, 2006 10:15 pm   

party(group) liting for BatMUD
 
This trigger lites party members hps / sps / eps by % they are at. Here is what it looks like when it works: http://batusa.dyndns.org:2100/party.png

#TRIGGER {{ldr|fol|rest|stun|form|mbr}%s(%d)~({| }(%d)~)%s(%d)~({| }(%d)~)%s(%d)~({| }(%d)~)} {#IF (%eval( (%1.0/%2.0)*100.0)>0) {#PCOL bold,red %x1;#PCOL bold,red %x2};#IF (%eval( (%1.0/%2.0)*100.0)>33) {#PCOL bold,yellow %x1;#PCOL bold,yellow %x2};#IF (%eval( (%1.0/%2.0)*100.0)>66) {#PCOL bold,green %x1;#PCOL bold,green %x2};#IF (%eval( (%3.0/%4.0)*100.0)>0) {#PCOL bold,red %x3;#PCOL bold,red %x4};#IF (%eval( (%3.0/%4.0)*100.0)>33) {#PCOL bold,yellow %x3;#PCOL bold,yellow %x4};#IF (%eval( (%3.0/%4.0)*100.0)>66) {#PCOL bold,green %x3;#PCOL bold,green %x4};#IF (%eval( (%5.0/%6.0)*100.0)>0) {#PCOL bold,red %x5;#PCOL bold,red %x6};#IF (%eval( (%5.0/%6.0)*100.0)>33) {#PCOL bold,yellow %x5;#PCOL bold,yellow %x6};#IF (%eval( (%5.0/%6.0)*100.0)>66) {#PCOL bold,green %x5;#PCOL bold,green %x6}}
#TRIGGER {{ldr|fol|rest|stun|form|mbr}%s(%d)~({| }(%d)~)%s(%d)~(%s(%d)~)%s(%d)~({| }(%d)~)} {#IF (%eval( (%1.0/%2.0)*100.0)>0) {#PCOL bold,red %x1;#PCOL bold,red %x2};#IF (%eval( (%1.0/%2.0)*100.0)>33) {#PCOL bold,yellow %x1;#PCOL bold,yellow %x2};#IF (%eval( (%1.0/%2.0)*100.0)>66) {#PCOL bold,green %x1;#PCOL bold,green %x2};#IF (%eval( (%3.0/%4.0)*100.0)>0) {#PCOL bold,red %x3;#PCOL bold,red %x4};#IF (%eval( (%3.0/%4.0)*100.0)>33) {#PCOL bold,yellow %x3;#PCOL bold,yellow %x4};#IF (%eval( (%3.0/%4.0)*100.0)>66) {#PCOL bold,green %x3;#PCOL bold,green %x4};#IF (%eval( (%5.0/%6.0)*100.0)>0) {#PCOL bold,red %x5;#PCOL bold,red %x6};#IF (%eval( (%5.0/%6.0)*100.0)>33) {#PCOL bold,yellow %x5;#PCOL bold,yellow %x6};#IF (%eval( (%5.0/%6.0)*100.0)>66) {#PCOL bold,green %x5;#PCOL bold,green %x6}}
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » Finished MUD Scripts 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