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
Ggoss
Apprentice


Joined: 01 Nov 2006
Posts: 114

PostPosted: Tue Jul 08, 2008 4:48 am   

not capturing enough info into my variable. V2.30
 
Your group consists of:
( Head) 1948/1948 hit, 224/224 move, Nair === 0 difference
(Front) 908/923 hit, 201/201 move, Ranz === -15 difference
(Front) 995/820 hit, 172/172 move, Kesk === 175 difference
(Front) 823/823 hit, 139/139 move, Durin === 0 difference
(Front) 787/787 hit, 120/120 move, Kymasoc === 0 difference
(Front) 713/713 hit, 151/151 move, Nostra === 0 difference
(Front) 1043/1043 hit, 159/159 move, Lohrr === 0 difference
(Front) 1270/1270 hit, 179/179 move, Dravin === 0 difference
(Front) 1037/1037 hit, 146/146 move, Yuri === 0 difference
(Front) 858/858 hit, 201/201 move, Buv === 0 difference
(Front) Baldo
(Front) 1411/1355 hit, 178/178 move, Skirog === 56 difference
(Front) 1518/1518 hit, 203/203 move, Eudas === 0 difference

I use the following trigger to fill in my group variable, this is then exported to my status line
Pattern : Your group consists of: value:#VAR group ""
pattern: %w*~)%s%n/%n%shit,%s%n/%n%smove (%w) value: #additem group %1

but its not pulling the whole group anymore its only pulling like 9 of the members, how do i get it to grab everyone? I swear it used to work and now it doesnt.

Nair|Ranz|Kesk|Durin|Kymasoc|Nostra|Lohrr|Dravin
Reply with quote
Ggoss
Apprentice


Joined: 01 Nov 2006
Posts: 114

PostPosted: Tue Jul 08, 2008 4:54 am   
 
Hrmm seems it may be getting an error from my seperate health script.
which is what posts the hp differences after group, but it didn't seem to interfere before.
pattern: ~(&gpos~)%s&%nhit/&%dmaxhit%shit,%s&%nmov/&%dmaxmov%smove &name
value:
hitper = (100 * @hit/@maxhit)
hitdif = (@hit-@maxhit)

#IF (@hitper > 30) {#SU "("@gpos") "@hit"/"@maxhit" hit, "@mov"/"@maxmov" move, "@name" === "@hitdif" difference"

#SWITCH (@hitper >= 95) {#COL bold,green}
(@hitper > 90) {#COL brown}
(@hitper > 80) {#COL yellow}
(@hitper > 50) {#COL bold,magenta}
(@hitper > 30) {#COL magenta}}
{#IF (@hitper > 1) {#SU "("@gpos") "@hit"/"@maxhit" hit, -"@mov"/"@maxmov" move, mana "@name" === "@hitdif" difference"

#COL bold,red} {#SU "("@gpos") "@hit"/"@maxhit" hit, "@mov"/"@maxmov" move, "@name" === "@hitdif" difference -= MORTED =-"

#COL blink,bold,red}}
#CAP GROUP
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