<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<!-- Saved on Thursday, May 11, 2006, 11:29 AM -->
<!-- MuClient version 3.70 -->

<!-- Plugin "Aardwolf_Colored_ConsiderLUA" generated by Plugin Wizard -->

<muclient>
<plugin
   name="Aardwolf_Colored_ConsiderLUA"
   author="Onoitsu2"
   id="7f3acebf9d896b87d52f1284"
   language="Lua"
   purpose="Colorizes Consider messages by difficulty, and by probable EXP gain."
   save_state="y"
   date_written="2006-05-11 11:28:24"
   requires="3.65"
   version="1.1"
   >
<description trim="n">
<![CDATA[
Aardwolf_Colored_ConsiderLUA Helpfile
Usage
-----
con mobname       (considers mob name in question, and colors the returned line)
con all           (considers all considerable mobs in room, and colors the returned lines)

autocon (on|off)  (toggles auto consider all upon entering a room)

conhelp           (displays this help message)
concolors         (displays a table of the colors used, and the equivalent Difficulty / EXP)

]]>
</description>

</plugin>
<include name="constants.lua"/>

<!--  Triggers  -->

<triggers>
  <trigger
   custom_colour="17"
   enabled="y"
   group="Con"
   match="(.*?) chuckles at the thought of you fighting (him|her|it)\.$"
   regexp="y"
   sequence="50"
   lowercase_wildcard="y"
   other_text_colour="yellow"
  >
  </trigger>
  <trigger
   custom_colour="17"
   enabled="y"
   group="Con"
   match="(.*?) looks a little worried about the idea\.$"
   regexp="y"
   sequence="50"
   lowercase_wildcard="y"
   other_text_colour="lightskyblue"
  >
  </trigger>
  <trigger
   custom_colour="17"
   enabled="y"
   group="Con"
   match="(.*?) says \'BEGONE FROM MY SIGHT unworthy\!\'$"
   regexp="y"
   sequence="50"
   lowercase_wildcard="y"
   other_text_colour="firebrick"
  >
  </trigger>
  <trigger
   custom_colour="17"
   enabled="y"
   group="Con"
   match="(.*?) should be a fair fight\!$"
   regexp="y"
   sequence="50"
   lowercase_wildcard="y"
   other_text_colour="royalblue"
  >
  </trigger>
  <trigger
   custom_colour="17"
   enabled="y"
   group="Con"
   match="(.*?) snickers nervously\.$"
   regexp="y"
   sequence="50"
   lowercase_wildcard="y"
   other_text_colour="lemonchiffon"
  >
  </trigger>
  <trigger
   custom_colour="17"
   enabled="y"
   group="Con"
   match="(.*?) would be easy\, barely worth breaking a sweat over\.$"
   regexp="y"
   sequence="50"
   lowercase_wildcard="y"
   other_text_colour="limegreen"
  >
  </trigger>
  <trigger
   custom_colour="17"
   enabled="y"
   group="Con"
   match="(.*?) would be easy\, but is it even worth the workout\?$"
   regexp="y"
   sequence="50"
   lowercase_wildcard="y"
   other_text_colour="limegreen"
  >
  </trigger>
  <trigger
   custom_colour="17"
   enabled="y"
   group="Con"
   match="(.*?) would crush you like a bug\!$"
   regexp="y"
   sequence="50"
   lowercase_wildcard="y"
   other_text_colour="red"
  >
  </trigger>
  <trigger
   custom_colour="17"
   enabled="y"
   group="Con"
   match="(.*?) would dance on your grave\!$"
   regexp="y"
   sequence="50"
   lowercase_wildcard="y"
   other_text_colour="crimson"
  >
  </trigger>
  <trigger
   custom_colour="17"
   enabled="y"
   group="Con"
   match="Best run away from (.*?) while you can\!$"
   regexp="y"
   sequence="50"
   lowercase_wildcard="y"
   other_text_colour="pink"
  >
  </trigger>
  <trigger
   custom_colour="17"
   enabled="y"
   group="Con"
   match="Challenging (.*?) would be either very brave or very stupid\.$"
   regexp="y"
   sequence="50"
   lowercase_wildcard="y"
   other_text_colour="lightcoral"
  >
  </trigger>
  <trigger
   custom_colour="17"
   enabled="y"
   group="Con"
   match="No Problem\! (.*?) is weak compared to you\.$"
   regexp="y"
   sequence="50"
   lowercase_wildcard="y"
   other_text_colour="lightskyblue"
  >
  </trigger>
  <trigger
   custom_colour="17"
   enabled="y"
   group="Con"
   match="You would be completely annihilated by (.*?)\!$"
   regexp="y"
   sequence="50"
   lowercase_wildcard="y"
   other_text_colour="maroon"
  >
  </trigger>
  <trigger
   custom_colour="17"
   enabled="y"
   group="Con"
   match="You would stomp (.*?) into the ground\.$"
   regexp="y"
   sequence="50"
   lowercase_wildcard="y"
   other_text_colour="chartreuse"
  >
  </trigger>
  <trigger
   custom_colour="17"
   enabled="y"
   group="Con"
   match="You would walk all over (.*?)\.$"
   regexp="y"
   sequence="50"
   lowercase_wildcard="y"
   other_text_colour="chartreuse"
  >
  </trigger>
  <trigger
   name="Autocon"
   ignore_case="y"
   keep_evaluating="y"
   enabled="n"
   match="^\[Exits\:(.*?)$"
   regexp="y"
   repeat="y"
   sequence="100"
  >
  <send>con all</send>
  </trigger>
</triggers>

<!--  Plugin help  -->

<aliases>
  <alias
   script="OnHelp"
   match="conhelp"
   enabled="y"
  >
  </alias>
  <alias
   script="concolors"
   match="concolors"
   enabled="y"
  >
  </alias>
  <alias
   script="autocon"
   regexp="y"
   ignore_case="y"
   match="^autocon (on|off)$"
   enabled="y"
  >
  </alias>
</aliases>

<script>
<![CDATA[
function OnPluginInstall()
OnHelp()
end

function autocon(sName,sLine,wildcards)
if string.lower(wildcards[1]) == "on" then
world.ColourNote("white", "green", "AutoConAll ON!")
world.EnableTrigger("Autocon",true)
else
world.ColourNote("white", "red", "AutoConAll OFF!")
world.EnableTrigger("Autocon",false)
end
end

function OnHelp()
world.Note(GetPluginInfo (GetPluginID(), 3))
end
function concolors()
  world.ColourNote("white","black","_________________________________________________________________________________")
  world.ColourNote("black","white","|Color                           |Difficulty		                                  |")
  world.ColourNote("white","black","|","chartreuse","black","Light Green (\"chartreuse\")      ","white","black","|","chartreuse","black","Too Easy (No Exp) 		                     					","white","black","|")
  world.ColourNote("white","black","|","limegreen","black","Dark Green (\"limegreen\")        ","white","black","|","limegreen","black","Easy (Very Little Exp, If Any) 		           		","white","black","|")
  world.ColourNote("white","black","|","lightskyblue","black","Light Blue (\"lightskyblue\")     ","white","black","|","lightskyblue","black","Easy (Some Exp)                       								","white","black","|")
  world.ColourNote("white","black","|","royalblue","black","Dark Blue (\"royalblue\")         ","white","black","|","royalblue","black","Fair (OK Exp) 	                        							","white","black","|")
  world.ColourNote("white","black","|","lemonchiffon","black","Light Yellow (\"lemonchiffon\")   ","white","black","|","lemonchiffon","black","Harder Than Fair (Better Exp) 		            		","white","black","|")
  world.ColourNote("white","black","|","yellow","black","Yellow (\"yellow\")               ","white","black","|","yellow","black","Difficult (Good Exp) 			                  				","white","black","|")
  world.ColourNote("white","black","|","pink","black","Pink (\"pink\")                   ","white","black","|","pink","black","Hard (Great Exp) 	                     							","white","black","|")
  world.ColourNote("white","black","|","lightcoral","black","Dark Pink (\"lightcoral\")        ","white","black","|","lightcoral","black","Harder (Great Exp) 			                    				","white","black","|")
  world.ColourNote("white","black","|","red","black","Red (\"red\")                     ","white","black","|","red","black","Hard! (Great Exp, If not grouped, VERY HARD!) ","white","black","|")
  world.ColourNote("white","black","|","crimson","black","Dark Red (\"crimson\")            ","white","black","|","crimson","black","Harder! (Probably Death) 					               	","white","black","|")
  world.ColourNote("white","black","|","firebrick","black","Darker Red (\"firebrick\")        ","white","black","|","firebrick","black","Harder Still! (Ya... Death!) 					            ","white","black","|")
  world.ColourNote("white","black","|","maroon","black","Darkest Red (\"maroon\")          ","white","black","|","maroon","black","Hardest!!! (You gonna die fool!!) 			         ","white","black","|")
  world.ColourNote("white","black","---------------------------------------------------------------------------------")
end
]]>
</script> 

</muclient>

