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
Vitae
Enchanter


Joined: 17 Jun 2005
Posts: 673
Location: New York

PostPosted: Fri Jun 24, 2005 6:19 pm   

Tier Subs for Aard
 
I suck at knowing what the hell each Classes Tier is.
Is a Terminator a Warrior or a Paladin?
I have a T after each sub so that I know if they are a tier or not as well. (it's a mental thing for me. Don't like it, take it out :-P )

Use wither finger or whois.
Note: I haven't done this for wars.
Tho I AM thinking about it.

Code:
#CLASS {Tiers}
#ALIAS finger {
 #T+ "Tiers Triggers"
 ~finger %1
}
#ALIAS whois {
 #T+ "Tiers Triggers"
 ~whois %1
}
#REGEX {(?:(?<!-)-{60}(?!-)|(?<!-)-{73}(?!-))} {#T- "Tiers Triggers"}
#TRIGGER {{Nope.|No-one of that name is playing.|There is no player with that name!}} {#T- "Tiers Triggers"}
#CLASS 0
#CLASS {Tiers|Tiers Triggers}
#TRIGGER {{Gladiator|Barbarian|Battlemaster|Warlord|Liege|Veteran|Berserker|Savage|General}} {#SUB WarriorT}
#TRIGGER {{Priest|Oracle|Prophet|Saint|Patriarch|Martyr|Bishop|Exorcist|Crusader}} {#SUB ClericT}
#TRIGGER {{Nightblade|Rogue|Assassin|Ninja|Cutthroat|Crimelord|Stalker|Prowler|Godfather}} {#SUB ThiefT}
#TRIGGER {{Necromancer|Lich|Wizard|Warlock|Magician|Conjurer|Illusionist|Sorcerer|Archmage}} {#SUB MageT}
#TRIGGER {{Mystic|Telepath|Channeler|Dreamwalker|Mindflayer|Mentalist|Visionary|Mindshifter|Enlightened}} {#SUB PsionicistT}
#TRIGGER {{Knight|Cavalier|Slayer|Avatar|Zealot|Terminator|Benefactor|Holy Blade|Avenger}} {#SUB PaladinT}
#TRIGGER {{Hunter|Beastmaster|Tracker|Wayfinder|Woodsman|Explorer|Strider|Scout|Protector}} {#SUB RangerT}
#CLASS 0


<suckup>This script was put together a while ago with the help of the fine people of the zmud forums and thier invaluable help.</suckup>
_________________
http://www.Aardwolf.com
Reply with quote
Private
Adept


Joined: 10 Jan 2002
Posts: 264
Location: USA

PostPosted: Wed Sep 07, 2005 11:17 pm   
 
Here is a different version,,,

Code:

#CLASS {tiernames}
#TRIGGER {~[Multiclass Player~: (%*) ~]} {replace_classes = "";tier_classes = %1;tier_classes = %replace(@tier_classes," / ",|);#FORALL @tier_classes {#FORALL @class_list {#IF %ismember(%i,@%j) {#ADDITEM replace_classes {%j~(%i~)}}};replace_classes = %replace(@replace_classes,"|"," %ansi(red)/%ansi(cyan) ");#IF (@replace_classes = "") {} {#SUBSTITUTE {[Tier Classes~: %ansi(cyan)@replace_classes %ansi(white)~]}}}}
#TRIGGER {Remort: (%*) $} {replace_classes = "";tier_classes = %1;tier_classes = %replace(@tier_classes," / ",|);#FORALL @tier_classes {#FORALL @class_list {#IF %ismember(%i,@%j) {#ADDITEM replace_classes {%j~(%i~)}}};replace_classes = %replace(@replace_classes,"|"," %ansi(grey)/%ansi(cyan) ");#IF (@replace_classes = "") {} {#SUBSTITUTE {Remort~: %ansi(cyan)@replace_classes}}}}
#CLASS 0
#CLASS {tiernames|support}
#VAR tier_classes {}
#VAR class_list {Warrior|Cleric|Thief|Mage|Psionicist|Paladin|Ranger}
#VAR replace_classes {}
#VAR Warrior {Gladiator|Barbarian|Battlemaster|Warlord|Liege|Veteran|Berserker|Savage|General}
#VAR Cleric {Priest|Oracle|Prophet|Saint|Patriarch|Martyr|Bishop|Exorcist|Crusader}
#VAR Thief {Nightblade|Rogue|Assassin|Ninja|Cutthroat|Crimelord|Stalker|Prowler|Godfather}
#VAR Mage {Necromancer|Lich|Wizard|Warlock|Magician|Conjurer|Illusionist|Sorcerer|Archmage}
#VAR Psionicist {Mystic|Telepath|Channeler|Dreamwalker|Mindflayer|Mentalist|Visionary|Mindshifter|Enlightened}
#VAR Paladin {Knight|Cavalier|Slayer|Avatar|Zealot|Terminator|Benefactor|Holy Blade|Avenger}
#VAR Ranger {Hunter|Beastmaster|Tracker|Wayfinder|Woodsman|Explorer|Strider|Scout|Protector}
#CLASS 0


no whois or finger alias needed, youll see:

Code:

[Tier Classes: Mage(Necromancer) / Thief(Nightblade) / Cleric(Priest) / Psionicist(Mystic) ]


in place of:

Code:

[Multiclass Player: Necromancer / Nightblade / Priest / Mystic ]
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