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
Sutex-Kindred
Apprentice


Joined: 26 Aug 2009
Posts: 141

PostPosted: Sat Sep 05, 2009 3:07 am   

Eternal Darkness Reading the "Score" Output Script
 
By typing Score in the command line. Eternal Darkness ed.wolfpaw.net 9700

Gives you this:

Name: Sutex Kindred soul e y e s your figure carefully Level: [163]
Guild: Kindred Race: TriKreen God: Morthorian
Hit Points: [3134 / 4470] Intelligence: [18] Age: [194]
Mana: [1361 / 1715] Wisdom: [15] Exp Needed: [ 2,314,867 ]
Movement: [1058 / 1058] Dexterity: [20] Total Exp: [ 205,627,133 ]
Alignment: [-825 ] Constitution: [19] Gold: [ 1000 ]
AC: [-231 ] Charisma: [ 7] Gold In Bank: [ 286,913,051 ]
Hitroll: [90 ] Strength: [19] Damroll: [139 ]
InvulPower: [0 ] SpellPower: [ 0]
Exp Bonus: [0 ] Haste: [ 0]
Quest Pts: [ 133 ]
Position: [standing ]
Mount: [nothing ]

The Script:

#CLASS {Score}
#TRIGGER {Name: (*) ~[(%d)~]} {
Name = %1
Stat = %2
}
#COND {Guild: (%w) Race: (%w) God: (%w)} {
Guild = %1
Race = %2
God = %3
}
#COND {Hit Points: ~[(%d) / (%d)~] Intelligence: ~[(%d)~] Age: ~[(%d)~]} {
HP = %1
MxHP = %2
Int = %3
Age=%4
}
#COND {Mana: ~[(%d) / (%d)~] Wisdom: ~[(%d)~] Exp Needed: ~[ (*) ~]} {
MP=%1
MxMP=%2
Wis = %3
ExpNeeded = %replace( %4, ', ', '')
}
#COND {Movement: ~[(%d) / (%d)~] Dexterity: ~[(%d)~] Total Exp: ~[ (*) ~]} {
Mv=%1
MxMv=%2
Dex=%3
TotalXP = %replace( %4, ', ', '')
}
#COND {Alignment: ~[(%n) ~] Constitution: ~[(%d)~] Gold: ~[ (%d) ~]} {
Align=%1
Con=%2
Gold = %replace( %3, ', ', '')
}
#COND {AC: ~[(%n) ~] Charisma: ~[ (%d)~] Gold In Bank: ~[ (*) ~]} {
AC = %1
Cha=%2
Bank = %replace( %3, ', ', '')
}
#COND {Hitroll: ~[(%d) ~] Strength: ~[(%d)~] Damroll: ~[(%d) ~]} {
Hit=%1
Str=%2
Dam=%3
}
#COND {InvulPower: ~[(%d) ~] SpellPower: ~[ (%d)~]} {
InvulPower=%1
SpellPower=%2
}
#COND {Exp Bonus: ~[(%d) ~] Haste: ~[ (%d)~]} {
XPBonus = %1
Haste=%2
}
#COND {Quest Pts: ~[ (%d) ~]} {QPts=%1}
#COND {Position: ~[(%w) ~]} {Position = %1}
#COND {Mount: ~[(*) ~] } {Mount=%1}
#CLASS 0

The Tech GURU using the information Above worked out this Script. Very Happy
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