Ever try making ZMUD aliases? Super powerful, and way better than the brean-dead JediMUD command line aliases you've been using.
slevel-
#VAR eqList {candle|diamond|diamond|garland|ivory|ivory|armor|hooves|dangling|topaz|topaz|dagger|chainsaw}
#VAR levelEq {torch|platinum|platinum|mask|teardrop|teardrop|jumpsuit|hover|old|band|band|runed|runed}
#FORALL @levelEq {
rem %i
put %i @container
}
#FORALL @eqList {
get %i @container
#IF (%i = lantern) {hol lantern}
#IF (%i = candle) {hol candle}
#IF (%i = chainsaw) {hol chainsaw}
#IF (%i = sphere) {hol sphere}
#IF (%i = dagger) {wie dagger} {wea %i}
}
The command
>slevel-
Will switch out damage gear for leveling gear.
Here's an alias that will check for valid level before allowing a cast:
aid
#CLASS AutoBot
#CLASS @caster
#IF ((@class = C & @level >= 21) | (@class = P & @level >= 23)) {
#VAR caster {%char}
#VAR spell {aid}
#VAR target {%1}
%if( @sleeping, {st}, "")
casting @spell @target
%if( @sleeping, {sleep}, "")
} {#IF (@class = C | @class = P) {#ECHO You do not know that spell!}}
Here's another super helpful alias that works in conjunction with a login alias:
#ECHO loading character data for %char ...
#ECHO {%word( %time, %numwords( %time)-1)}
#ECHO title_name %if( @title_name, @title_name, ~<none~>)
#ECHO title_verb %if( @title_verb, @title_verb, ~<none~>)
#ECHO title @title
#ECHO character class @class
#ECHO character level @level
#ECHO remorts to perf @rem2perf
#ECHO current area @current_area
#ECHO magic caster? %if( @caster, yes, no)
#ECHO food caster? %if( @food_caster, yes, no)
#ECHO container @container
#ECHO water_container @water_container
#ECHO auto_skill @auto_skill
#ECHO skill @skill
#ECHO skill_delay @skill_delay
#IF (@class = C | @class = P | @class = A) {#ECHO glowMAX @glowMax}
#ECHO weapon @weapon
#IF (@class = B) {#ECHO instrument %if( @instrument, @instrument, none)}
#ECHO stabber %if( @stabber, @stabber, none)
#ECHO following~: %if( @following, @following, "no one")
#ECHO default_verb ~"@default_verb~" and verb ~"@verb~"
#ECHO last command ~"%lastcom~"
>pcinfo
Will retrieve a bunch of information about your character, especially helpful are the auto_skill and skill functions. These data points are extablished at login with this trigger:
%char
#VAR nh {}
#VAR caster @false
#VAR food_caster @false
#VAR food_target {%char}
#VAR following {}
#VAR skill {}
#VAR auto_skill {}
#VAR skill_delay 4
#VAR container {urn}
#VAR water_container {}
#VAR followers {}
#VAR default_verb {tell}
#VAR glowMax 0
#VAR glowLow 0
#VAR debug @false
#VAR valid_char @false
#VAR squadPC {Arya|Aegon|Brandon|Danerys|Eddard|Hoster|Motecuzuoma|Sansa|Stannis|Tepuli|Tixoc|Tywin|Xiuhcoatl|Yolcatl}
#VAR squadName {Stark|Targaryan|Stark|Targaryan|Stark|Tully|||Stark|Baratheon|||Lannister||}
#VAR squadTitle {""|"King of Westeros, raised by House Stark as Jon Snow"|"The Broken~, King of Westeros"|"Queen of Dragons"|"King of Winterfell"|"Lord of Riverrun"|"Lord of Light"|"Last Emperor of the Aztec Empire"|"Queen of House Stark"|"Lord of Dragonstone"|"Ambassador to the Nuatl Nation"|"Slave of the Jaguar Temple"|"Hand to the Queen of Dragons"|"Turquoise Serpent"|"Slave of the Aztec High Priests"}
#IF (%ismember( %char, @squadPC)) {
#VAR valid_char @true
#VAR i {%ismember( %char, @squadPC)}
#VAR title_name %item( @squadName, @i)
#VAR title %item( @squadTitle, @i)
#VAR class {M}
#VAR caster @true
#VAR stabber {dagger}
}
#VAR racePC {Anarion|Dwalin|Fimbul|Fingolfin|Jerekh|Kvurg|Mauhur|Marcho|Roar|Zwerg}
#VAR raceTitleName {"of Osgiliath"|"of Thrain"|"Dol Guilder"|"of Tirion"|"of Lonely Mountain"|"of Khazad Dum"|"of Isengard"|"Brandybuck"|"Mumbletypeg"|"Hammerhead"}
#VAR raceTitleVerb {""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""}
#VAR raceTitle {"seeks Isildur but"|"seeks the Fellowship but"|"seeks Yanzeg but"|"of House Finarfin"|"seeks revenge upon Humankind but"|"agent of Khazad-dûm"|"agent of the White Hand"|"Lord of the Enedwaithe Forest"|"Honeythroat Fellatrix of Thalos"|"the Last Scion of Boneshaft"}
#VAR raceContainer {jewels|hole|jewels|jewels|hole|jewels|jewels|jewels|jewels|jewels}
#VAR raceWaterContainer {chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice}
#VAR raceClass {R|W|A|P|C|N|S|T|B|M}
#VAR raceLevel {28|30|30|30|30|30|30|30|25|30}
#VAR raceCaster {1|0|1|1|1|0|1|0|1|1}
#VAR raceAutoSkill {bi|bash|shieldcharge|bash|cc|stun|pound|stab|illx|ray}
#VAR raceSkill {bi||shieldcharge|pummel|cc|stun|pummel||block|}
#VAR raceSkillDelay {2|3|3|3|3|3|3|3|3|3}
#VAR raceGlowMax {0|0|4|4|6|0|0|0|0|0}
#VAR raceWeapon {bolt|bolt|phaser|sword|wrath|stabber|staff|stabber|sword|staff}
#VAR raceInstrument {|||||||||}
#VAR racestabber {|||||spike|spike|nightbringer|}
#IF (! @valid_char) {
#IF (%ismember( %char, @racePC)) {
#VAR i {%ismember( %char, @racePC)}
#VAR valid_char @true
#VAR title_name {%item( @raceTitleName, @i)}
#VAR title_verb {%item( @raceTitleVerb, @i)}
#VAR title {%item( @raceTitle, @i)}
#VAR container {%item( @raceContainer, @i)}
#VAR water_container {%item( @raceWaterContainer, @i)}
#VAR class {%item( @raceClass, @i)}
#VAR level {%item( @raceLevel, @i)}
#VAR caster {%item( @raceCaster, @i)}
#VAR food_caster {%if( (@class = A) | (@class = P) | (@class = C) | (@class = R), @true, @false)}
#VAR auto_skill {%item( @raceAutoSkill, @i)}
#VAR skill {%item( @raceSkill, @i)}
#VAR skill_delay {%item( @raceSkillDelay, @i)}
#VAR glowMax {%item( @raceGlowMax, @i)}
#VAR weapon {%item( @raceWeapon, @i)}
#VAR instrument {%item( @raceInstrument, @i)}
#VAR stabber {%item( @raceStabber, @i)}
}
}
#VAR questPC {Bauglir|Beed|Beleg|Beric|Cortez|Dank|Gethron|Greef|Gwindor|Hador|Iluvatar|LaoTse|Lorax|Mance|Nezahualpili|QiGong|Quetzalcoatl|Varys}
#VAR questTitleName {Morgoth|Thane|Cuthalion|Dundarrion|""|Cysterian|Thule|Karga|"Prince of the Elves of Nargothrond"|""|Manwe|""|""|Raydar|""|""|""|"Lord of Whisperers"}
#VAR questTitleVerb {""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""}
#VAR questTitle {"of Folchlucan"|"the Sith Lord of Kyr"|"the Companion of Hurin"|"of Cli"|"de Monroy y Pizarro Altamirano"|"the Exile of Dragon City"|"Profiant of the Three Enclaves"|"Magistrate of Lothan"|"the Son of Guilin"|"an Elf Friend and Chieftain of the Edain"|"of Canaith"|"the Assassin of the Chinobu Clan"|"the Defender of the Trees"|"of Doss"|"the Jaguar Warrior"|"the Warrior Priest of Temple Enyaku"|"the Feathered Serpent"|"of Anstruth"}
#VAR questContainer {hole|jewels|jewels|hole|jewels|jewels|hole|urn|hole|jewels|hole|jewels|jewels|hole|jewels|jewels|jewels|hole}
#VAR questWaterContainer {chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice|flask|chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice}
#VAR questClass {B|J|W|B|A|C|J|J|B|R|B|N|P|B|T|S|M|B}
#VAR questLevel {2|30|30|18|30|30|22|30|30|30|12|30|30|8|30|30|30|20}
#VAR questCaster {1|1|0|1|1|1|1|1|1|1|0|1|1|0|1|1|1}
#VAR questAutoSkill {|bi|hit||shieldbash|cc|bash|bash|ill|hit||stun|hit||stab|strike|ray|}
#VAR questSkill {||||shieldcharge|cc|pummel|pummel|block|dodge|||bash|||strike||}
#VAR questSkillDelay {3|3|3|3|3|3|3|3|3|999|3|3|3|3|3|3|3|3}
#VAR questGlowMax {0|4|0|0|4|7|0|0|0|0|0|0|4|0|0|0|0|0}
#VAR questWeapon {scimitar|lightsaber|bolt|sword|spike|staff|lightsaber|lightsaber|sword|protector|scimitar|iris|protector|chainsaw|stabber||dagger|sword}
#VAR questInstrument {kazoo|""|""|lyre|""|""|""|""|past|""|flute|""|""|recorder|""|""|""|harp}
#VAR queststabber {""|""|""|""|""|""|""|""|dagger|""|""|spike|""|""|"stabber"|""|""|""}
#IF (! @valid_char) {
#IF (%ismember( %char, @questPC)) {
#VAR i {%ismember( %char, @questPC)}
#VAR valid_char @true
#VAR title_name {%item( @questTitleName, @i)}
#VAR title_verb {%item( @questTitleVerb, @i)}
#VAR title {%item( @questTitle, @i)}
#VAR container {%item( @questContainer, @i)}
#VAR water_container {%item( @questWaterContainer, @i)}
#VAR class {%item( @questClass, @i)}
#VAR level {%item( @questLevel, @i)}
#VAR caster {%item( @questCaster, @i)}
#VAR food_caster {%if( (@class = A) | (@class = P) | (@class = C) | (@class = R), @true, @false)}
#VAR auto_skill {%item( @questAutoSkill, @i)}
#VAR skill {%item( @questSkill, @i)}
#VAR skill_delay {%item( @questSkillDelay, @i)}
#VAR glowMax {%item( @questGlowMax, @i)}
#VAR weapon {%item( @questWeapon, @i)}
#VAR instrument {%item( @questInstrument, @i)}
#VAR stabber {%item( @questStabber, @i)}
}
}
#VAR mulePC {Alvarado|Ahuitzotl|Asgon|Belegur|Beor|Bernal|Chimali|Cuatemoc|Denethor|Eol|ExtliQuani|Felagund|Fimbul|Fingolfin|Fingon|Finrod|Gardakan|Grima|Huor|Inky|Luthien|Mixtli|Ragnir|Tark|Thingol|Xochitl|Xococ|Zumarraga}
#VAR muleNameList {Alv|Ahu|Asg|Bel|Beo|Ber|Chi|Cua|Den|Eol|Ext|Fel|Fim|Fingol|Fingon|Finr|Gar|Gri|Huo|Ink|Lut|Mix|Rag|Tar|Thi|Xoc|Xoc|Zum|27}
#VAR muleName {the Spanish Conquistador|"the God of War"||"the Lord Morgoth"||the Spanish Conquistador|||"Steward of Gondor"||||"minion of Yazneg"|"son of Finarfin"||||"the Worm-Tongue"|||Tinuviel|"Atlatl Punk"|"Companion of Beleg"|"Ar Theotta"|"the King of the Sindar"||"the Jaguar Warrior"|}
#VAR muleRole {SAC|SAC|"Zoo Runner"|"Dank~'s Squire"|"Hador~'s Squire"|""|"~+HITR"|"AC"|"Weapons"|"Gwindor~'s Squire"|"DUAL STAT"|"~+WIS"|"the Orc"|"the Elf"|SS|"~+INT"|"~+DEX ~+mvR"|"Thief Gear"|"Lowbie Gear"|"~+mnR"|"~+STR"|"Skara Thief"|"~+hpR"|"Star Wars"|"Bard Gear"|"Quest Gear"|"~+DAM"|"~+CHA"}
#VAR muleContainer {hole|jewels|jewels|jewels|hole|jewels|jewels|hole|urn|hole|jewels|hole|jewels|jewels|hole|jewels|jewels|jewels|hole}
#VAR muleWaterContainer {chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice|chalice}
#VAR muleClass {P|P|T|A|P|P|T|W|W|P|W|P|A|P|T|P|P|T|W|C|C|T|W|A|W|W|W|C}
#VAR muleLevel {21|21|24|21|21|21|8|21|21|21|21|21|22|27|24|21|21|21|21|21|21|21|21|21|21|21|21|21}
#VAR muleCaster {1|1|0|1|1|1|0|0|0|1|0|1|1|1|0|1|1|0|0|1|1|0|0|1|0|0|0|1}
#VAR muleAutoSkill {bash|bash|stab|shieldbash|bash|bash|stab|bash|bash|bash|bash|bash|shieldbash|bash|stab|bash|bash|stab|bash|cc|cc|stab|bash|shieldbash|bash|bash|bash|cc}
#VAR muleSkill {pummel|pummel|circle|shieldcharge|pummel|pummel|circle|pummel|pummel|pummel|pummel|pummel|shieldcharge|pummel|circle|pummel|pummel|circle|pummel|cc|cc|circle|pummel|shieldcharge|pummel|pummel|pummel|cc}
#VAR muleSkillDelay {3|3|3|3|3|3|3|3|3|3|3|3|3|3|3|3|3|3|3|3|3|3|3|3|3|3|3|3}
#VAR muleGlowMax {4|4|0|4|4|4|0|0|0|4|0|4|4|0|4|4|4|0|0|6|6|0|0|4|0|0|0|6}
#VAR muleWeapon {""|""|""|""|""|""|""|""|""|""|""|""|"Avenger"|""|""|""|""|""|""|""|""|""|""|""|""|""|""}
#VAR muleInstrument {""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""}
#VAR mulestabber {""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""|""}
#IF (! @valid_char) {#IF (%ismember( %char, @mulePC)) {
#VAR valid_char @true
#VAR i {%ismember( %char, @mulePC)}
#VAR title_name {%item( @muleName, @i)}
#VAR role { ~+ %item( @muleRole, @i) ~+}
#VAR title {@title_name @role}
#VAR class {%item( @muleClass, @i)}
#VAR container {%item( @muleContainer, @i)}
#VAR water_container {%item( @muleWaterContainer, @i)}
#VAR class {%item( @muleClass, @i)}
#VAR level {%item( @muleLevel, @i)}
#VAR caster {%item( @muleCaster, @i)}
#VAR food_caster {%if( (@class = A) | (@class = P) | (@class = C) | (@class = R), @true, @false)}
#VAR auto_skill {%item( @muleAutoSkill, @i)}
#VAR skill {%item( @muleSkill, @i)}
#VAR skill_delay {%item( @muleSkillDelay, @i)}
#VAR glowMax {%item( @muleGlowMax, @i)}
#VAR weapon {%item( @muleWeapon, @i)}
#VAR instrument {%item( @muleInstrument, @i)}
#VAR stabber {%item( @muleStabber, @i)}
} {#SAY %char not found!}}
#VAR default_delay @skill_delay
#IF (! @auto_skill) {#VAR auto_skill @skill}'
