Danical
08-12-2008, 05:05 PM
So, I've got this script for my color coding scheme in SF.
Goto %1
LOOK:
matchre PALADIN /(Paladin|Holy Crusader|Dark Crusader|Temple Guard|Purifier|Exemplar|Vindicator|Challenger|Repe ntant|Blasphemer|Penitent|Zealot|Holy Warrior|Arbiter|Reaver|Quester|Avenger|Templar|Def ender|Faithbringer|Wrathbringer|Justicar|Redeemer| Vanquisher|Dreadnaught|Preceptor|Paragon)/
matchre BARD /(Bard|Songsmith|Busker|Thespian|PoetPoetess|Skald| Piper|Storyteller|Harper|Gleeman|Gleewoman|Battlec hanter|Jongleur|Spellsinger|Rhymester|Jester|Lores inger|Muse|Balladeer|Bladesinger|Composer|MasterPo et|Minstrel|Songmaster|Songmistress|Troubadour|Mas terStoryteller|Loremaster|Loremistress|BardLaureat e)/
matchre SORC /(Sorcerer|Transmuter|Beguiler|Hexer|Ritualist|Disr uptor|Cabalist|Dissembler|Harrower|Incanter|Incant ress|Tormenter|Sacrificer|Deceiver|Re-Animator|Plaguebringer|Maledictor|Enervator|Soulsl ayer|Necromancer|Doomsayer|Torturer|Summoner|Apost ate|Corruptor|Cursebringer|Demonmaster|Demonmistre ss|Warlock|Witch)/
matchre CLERIC /(Cleric|Initiate|Pilgrim|Proselyte|Crusader|Acolyt e|Renouncer|Sacristan|Missionary|Brother|Sister|De acon|Shaman|Celebrant|Intercessor|Curate|Preacher| Confessor|Priest|Priestess|Inquisitor|Prior|Priore ss|Heretic|Theurgist|Churchwarden|Abbot|Abbess|Sou l Keeper|Prelate|Patriarch|Matriarch)/
matchre ROGUE /(Rogue|Cutpurse|Prowler|Pickpocket|Hoodlum|Footpad |Bandit|Smuggler|Brigand|Thief|Locksmith|Grifter|H ighwayman|Filcher|Stalker|Sapper|Thug|Fingersmith| Knave|Blackguard|Bounty Hunter|Purloiner|Cutthroat|Waylayer|Scoundrel|Mast erLocksmith|MasterRogue)/
matchre EMPATH /(Empath|Mender|Pacifist|Woundtender|Consoler|Heale r|Sustainer|Botanist|Caretaker|Herbalist|Nurse|Phl ebotomist|Bloodletter|Herbmaster|Herbmistress|Pall iator|Curer|Butcher|Meliorator|Apothecary|Rejuvena tor|Physician|Chirurgeon|Scourge|Solacebringer|Wou ndmaster|Woundmistress|Martyr|MasterHealer)/
matchre MAGE /(Wizard|Conjurer|Prestidigitator|Boltwielder|Spell weaver|Spellbinder|Evoker|Rainmaker|Firestormer|He dgewizard|Magician|Invoker|BattleMage|Elementalist |Stormcaller|ZephyrMage|Icebringer|Enchanter|Encha ntress|Thaumaturge|Pyromancer|Geomancer|Mage|WarMa ge|Mystic|Adept|Archwizard|Archmage)/
matchre RANGER /(Ranger|Scout|Forager|Explorer|Forester|Tracker|Se archer|Survivalist|Rover|Woodsman|Woodswoman|Plain sman|Plainswoman|Frontiersman|Pioneer|Pathfinder|T railsman|Trailswoman|Wayfarer|Mountaineer|Guide|Ga mekeeper|Voyager|Watcher|Trailblazer|Forestwalker| Woodsmaster|Woodsmistress|Beastmaster|Beastmistres s|Huntmaster|Huntmistress|ForestWarden)/
matchre WARRIOR /(Warrior|Fighter|Cadet|Barbarian|Squire|Swordsman| Swordswoman|Raider|Militiaman|Soldier|Mercenary|Gl adiator|Myrmidon|Fencer|Hiresword|Man-at-Arms|Amazon|Armiger|Battlerager|Blademaster|Bladem istress|Marauder|Berserker|Protector|Weaponmaster| Weaponmistress|Cavalier|Destroyer|Guardian|Warlord |Champion)/
matchre EXIT /(She|He) appears/
put look %2
matchwait
RANGER:
ADDTOHIGHLIGHTNAMES STRING=%2 foreColor=#008000 highlightEntireLine=false matchPartialWord=False
exit
WARRIOR:
ADDTOHIGHLIGHTNAMES STRING=%2 foreColor=#7B3900 highlightEntireLine=false matchPartialWord=False
exit
PALLY:
PALADIN:
ADDTOHIGHLIGHTNAMES STRING=%2 foreColor=#E2CB6D highlightEntireLine=false matchPartialWord=False
exit
BARD:
ADDTOHIGHLIGHTNAMES STRING=%2 foreColor=#FFD2A1 highlightEntireLine=false matchPartialWord=False
exit
SORC:
ADDTOHIGHLIGHTNAMES STRING=%2 foreColor=#8080C0 highlightEntireLine=false matchPartialWord=False
exit
CLERIC:
ADDTOHIGHLIGHTNAMES STRING=%2 foreColor=#00FFFF highlightEntireLine=false matchPartialWord=False
exit
ROGUE:
ADDTOHIGHLIGHTNAMES STRING=%2 foreColor=#FF9000 highlightEntireLine=false matchPartialWord=False
exit
EMPATH:
ADDTOHIGHLIGHTNAMES STRING=%2 foreColor=#FF00FF highlightEntireLine=false matchPartialWord=False
exit
MAGE:
WIZARD:
ADDTOHIGHLIGHTNAMES STRING=%2 foreColor=#FFFF00 highlightEntireLine=false matchPartialWord=False
exit
GNOME:
ADDTOHIGHLIGHTNAMES STRING=%2 foreColor=#FF6B73 highlightEntireLine=false matchPartialWord=False
exit
MATE:
put befriend %2 warm
ADDTOHIGHLIGHTNAMES STRING=%2 foreColor=#33F390 highlightEntireLine=false matchPartialWord=False
exit
HATE:
put befriend %2 cold
ADDTOHIGHLIGHTNAMES STRING=%2 foreColor=#FF0000 highlightEntireLine=false matchPartialWord=False
exit
EXIT:
exit
I'd like to convert this to a lich script, if possible, so I can take an array of everyone in the room, look at them, then assign the appropriate color labels.
Possible?
----------------
Now playing: John Digweed - Kiss 100 FM (April 03, 2005) - John Digweed (http://www.foxytunes.com/artist/john+digweed/track/kiss+100+fm+(april+03%2c+2005)+-+john+digweed)
via FoxyTunes (http://www.foxytunes.com/signatunes/)
Goto %1
LOOK:
matchre PALADIN /(Paladin|Holy Crusader|Dark Crusader|Temple Guard|Purifier|Exemplar|Vindicator|Challenger|Repe ntant|Blasphemer|Penitent|Zealot|Holy Warrior|Arbiter|Reaver|Quester|Avenger|Templar|Def ender|Faithbringer|Wrathbringer|Justicar|Redeemer| Vanquisher|Dreadnaught|Preceptor|Paragon)/
matchre BARD /(Bard|Songsmith|Busker|Thespian|PoetPoetess|Skald| Piper|Storyteller|Harper|Gleeman|Gleewoman|Battlec hanter|Jongleur|Spellsinger|Rhymester|Jester|Lores inger|Muse|Balladeer|Bladesinger|Composer|MasterPo et|Minstrel|Songmaster|Songmistress|Troubadour|Mas terStoryteller|Loremaster|Loremistress|BardLaureat e)/
matchre SORC /(Sorcerer|Transmuter|Beguiler|Hexer|Ritualist|Disr uptor|Cabalist|Dissembler|Harrower|Incanter|Incant ress|Tormenter|Sacrificer|Deceiver|Re-Animator|Plaguebringer|Maledictor|Enervator|Soulsl ayer|Necromancer|Doomsayer|Torturer|Summoner|Apost ate|Corruptor|Cursebringer|Demonmaster|Demonmistre ss|Warlock|Witch)/
matchre CLERIC /(Cleric|Initiate|Pilgrim|Proselyte|Crusader|Acolyt e|Renouncer|Sacristan|Missionary|Brother|Sister|De acon|Shaman|Celebrant|Intercessor|Curate|Preacher| Confessor|Priest|Priestess|Inquisitor|Prior|Priore ss|Heretic|Theurgist|Churchwarden|Abbot|Abbess|Sou l Keeper|Prelate|Patriarch|Matriarch)/
matchre ROGUE /(Rogue|Cutpurse|Prowler|Pickpocket|Hoodlum|Footpad |Bandit|Smuggler|Brigand|Thief|Locksmith|Grifter|H ighwayman|Filcher|Stalker|Sapper|Thug|Fingersmith| Knave|Blackguard|Bounty Hunter|Purloiner|Cutthroat|Waylayer|Scoundrel|Mast erLocksmith|MasterRogue)/
matchre EMPATH /(Empath|Mender|Pacifist|Woundtender|Consoler|Heale r|Sustainer|Botanist|Caretaker|Herbalist|Nurse|Phl ebotomist|Bloodletter|Herbmaster|Herbmistress|Pall iator|Curer|Butcher|Meliorator|Apothecary|Rejuvena tor|Physician|Chirurgeon|Scourge|Solacebringer|Wou ndmaster|Woundmistress|Martyr|MasterHealer)/
matchre MAGE /(Wizard|Conjurer|Prestidigitator|Boltwielder|Spell weaver|Spellbinder|Evoker|Rainmaker|Firestormer|He dgewizard|Magician|Invoker|BattleMage|Elementalist |Stormcaller|ZephyrMage|Icebringer|Enchanter|Encha ntress|Thaumaturge|Pyromancer|Geomancer|Mage|WarMa ge|Mystic|Adept|Archwizard|Archmage)/
matchre RANGER /(Ranger|Scout|Forager|Explorer|Forester|Tracker|Se archer|Survivalist|Rover|Woodsman|Woodswoman|Plain sman|Plainswoman|Frontiersman|Pioneer|Pathfinder|T railsman|Trailswoman|Wayfarer|Mountaineer|Guide|Ga mekeeper|Voyager|Watcher|Trailblazer|Forestwalker| Woodsmaster|Woodsmistress|Beastmaster|Beastmistres s|Huntmaster|Huntmistress|ForestWarden)/
matchre WARRIOR /(Warrior|Fighter|Cadet|Barbarian|Squire|Swordsman| Swordswoman|Raider|Militiaman|Soldier|Mercenary|Gl adiator|Myrmidon|Fencer|Hiresword|Man-at-Arms|Amazon|Armiger|Battlerager|Blademaster|Bladem istress|Marauder|Berserker|Protector|Weaponmaster| Weaponmistress|Cavalier|Destroyer|Guardian|Warlord |Champion)/
matchre EXIT /(She|He) appears/
put look %2
matchwait
RANGER:
ADDTOHIGHLIGHTNAMES STRING=%2 foreColor=#008000 highlightEntireLine=false matchPartialWord=False
exit
WARRIOR:
ADDTOHIGHLIGHTNAMES STRING=%2 foreColor=#7B3900 highlightEntireLine=false matchPartialWord=False
exit
PALLY:
PALADIN:
ADDTOHIGHLIGHTNAMES STRING=%2 foreColor=#E2CB6D highlightEntireLine=false matchPartialWord=False
exit
BARD:
ADDTOHIGHLIGHTNAMES STRING=%2 foreColor=#FFD2A1 highlightEntireLine=false matchPartialWord=False
exit
SORC:
ADDTOHIGHLIGHTNAMES STRING=%2 foreColor=#8080C0 highlightEntireLine=false matchPartialWord=False
exit
CLERIC:
ADDTOHIGHLIGHTNAMES STRING=%2 foreColor=#00FFFF highlightEntireLine=false matchPartialWord=False
exit
ROGUE:
ADDTOHIGHLIGHTNAMES STRING=%2 foreColor=#FF9000 highlightEntireLine=false matchPartialWord=False
exit
EMPATH:
ADDTOHIGHLIGHTNAMES STRING=%2 foreColor=#FF00FF highlightEntireLine=false matchPartialWord=False
exit
MAGE:
WIZARD:
ADDTOHIGHLIGHTNAMES STRING=%2 foreColor=#FFFF00 highlightEntireLine=false matchPartialWord=False
exit
GNOME:
ADDTOHIGHLIGHTNAMES STRING=%2 foreColor=#FF6B73 highlightEntireLine=false matchPartialWord=False
exit
MATE:
put befriend %2 warm
ADDTOHIGHLIGHTNAMES STRING=%2 foreColor=#33F390 highlightEntireLine=false matchPartialWord=False
exit
HATE:
put befriend %2 cold
ADDTOHIGHLIGHTNAMES STRING=%2 foreColor=#FF0000 highlightEntireLine=false matchPartialWord=False
exit
EXIT:
exit
I'd like to convert this to a lich script, if possible, so I can take an array of everyone in the room, look at them, then assign the appropriate color labels.
Possible?
----------------
Now playing: John Digweed - Kiss 100 FM (April 03, 2005) - John Digweed (http://www.foxytunes.com/artist/john+digweed/track/kiss+100+fm+(april+03%2c+2005)+-+john+digweed)
via FoxyTunes (http://www.foxytunes.com/signatunes/)