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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Private
Adept


Joined: 10 Jan 2002
Posts: 264
Location: USA

PostPosted: Sat Apr 09, 2005 11:53 pm   

#SUB getting confused?
 
Ok, have a script to replace 'tiered" classnames with their 1st level counterpart...

#CLASS {TierSubs}
#TRIGGER {{Gladiator|Barbarian|Battlemaster|Warlord|Liege|Veteran|Berserker|Savage|General}} {#SUB Warrior}
#TRIGGER {{Priest|Oracle|Prophet|Saint|Patriarch|Martyr|Bishop|Exorcist|Crusader}} {#SUB Cleric}
#TRIGGER {{Nightblade|Rogue|Assassin|Ninja|Cutthroat|Crimelord|Stalker|Prowler|Godfather}} {#SUB Thief}
#TRIGGER {{Necromancer|Lich|Wizard|Warlock|Magician|Conjurer|Illusionist|Sorcerer|Archmage}} {#SUB Mage}
#TRIGGER {{Mystic|Telepath|Channeler|Dreamwalker|Mindflayer|Mentalist|Visionary|Mindshifter|Enlightened}} {#SUB Psionicist}
#TRIGGER {{Knight|Cavalier|Slayer|Avatar|Zealot|Terminator|Benefactor|Holy Blade|Avenger}} {#SUB Paladin}
#TRIGGER {{Hunter|Beastmaster|Tracker|Wayfinder|Woodsman|Explorer|Strider|Scout|Protector}} {#SUB Ranger}
#TRIGGER {Quest Points%s~:} {#CLASS TierSubs 0}
#TRIGGER {^------------------------------------------------------------$} {#Class TierSubs 0}
#CLASS 0

the class is only on during a whois or finger operation, but some class combinations tend to produce wierd results....

[Multiclass Player: Explorer / Crimelord / Martyr / Veteran / Conjurer / Mentalist / Terminator ]
gives
[Multiclass Player: Ranger / Thief / Cleric / WarrioMageurePsionicistlisPaladinator ]

while

[Multiclass Player: Necromancer / Nightblade / Priest / Mystic ]
gives
[Multiclass Player: Mage / Thief / Cleric / Psionicist ]

example 1 is obviously screwy, example 2 is correct

letting zmud do the wordwrap auto, this only occurs on characters whois class info wordwraps... but if i resize the window width once... no matter how wide or skinny i have it after that it parses correctly until i close and reopen zmud with my normal saved layout.

Minor annoyance to do this as i rarely close zmud, all i gotta do when i startup is resizes the window by 1 pixel and then back and all is good. But it would be nice to find a hands-off fix for it :P Any ideas?

Private
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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