You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lunk-AttackSpell/Attack_Spell_Manager.xml

354 lines
7.2 KiB

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<!-- Saved on Saturday, March 18, 2017, 2:19 AM -->
<!-- MuClient version 4.98 -->
<!-- Plugin "potman" generated by Plugin Wizard -->
<muclient>
<plugin
name="potman"
author="Lunk"
id="fbab1e58a30ef08fcecd3d9f"
language="Lua"
purpose="potion management"
save_state="y"
date_written="2017-03-18 02:03:25"
requires="4.98"
version="1.0"
>
<description trim="y">
<![CDATA[
potman help
potmanbag * ---> sets potions bag to *
pheal * ---> sets healing potion to *
plotus * ---> sets mana potion to *
prefresh * ---> sets refresh potion to *
phb ---> puts all heal potions in potions bag
plb ---> puts all lotus potions in potions bag
prb ---> puts all refresh potions in potions bag
pshb ---> puts all shadowbane potions in potions bag
pwob ---> puts all eyes of the wolf potions in potions bag
psib ---> puts all sight beyond sight potions in potions bag
pgrb ---> puts all griffons blood potions in potions bag
pclb ---> puts all clear elixir potions in potions bag
qp ---> gets a heal potion from potions bag and quaffs it
ql ---> gets a lotus potion from potions bag and quaffs it
qr ---> gets a refresh potion from potions bag and quaffs it
qsh ---> gets a shadowbane potion from potions bag and quaffs it
qwo ---> gets an eyes of the wolf potion from potions bag and quaffs it
qsi ---> gets a sight beyond sight potion from potions bag and quaffs it
qgr ---> gets a griffons blood potion from potions bag and quaffs it
qcl ---> gets a clear elixir potion from potions bag and quaffs it
sell hp ---> gets all heal potions from potions bag and sells them
sell mn ---> gets all lotus potions from potions bag and sells them
sell mv ---> gets all refresh potions from potions bag and sells them
sell sh ---> gets all shadowbane potions from potions bag and sells them
sell wo ---> gets all eyes of the wolf potions from potions bag and sells them
sell si ---> gets all sight beyond sight potions from potions bag and sells them
sell gr ---> gets all griffon's blood potions from potions bag and sells them
sell cl ---> gets all clear elixir potions from potions bag and sells them
]]>
</description>
</plugin>
<!-- Get our standard constants -->
<include name="constants.lua"/>
<!-- Aliases -->
<aliases>
<alias
match="potman bag *"
enabled="y"
send_to="12"
sequence="100"
>
<send>SetVariable ("potion_bag", "%1")
ColourNote ("red", "blue", "potman bag set to : %1")</send>
</alias>
<alias
match="pheal *"
enabled="y"
send_to="12"
sequence="100"
>
<send>SetVariable ("potion_heal", "%1")
ColourNote ("red", "blue", "potman heal potion set to : %1")</send>
</alias>
<alias
match="plotus *"
enabled="y"
send_to="12"
sequence="100"
>
<send>SetVariable ("potion_lotus", "%1")
ColourNote ("red", "blue", "potman lotus potion set to : %1")</send>
</alias>
<alias
match="prefresh *"
enabled="y"
send_to="12"
sequence="100"
>
<send>SetVariable ("potion_refresh", "%1")
ColourNote ("red", "blue", "potman refresh potion set to : %1")</send>
</alias>
<alias
match="pclb"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>put all.clear @potion_bag</send>
</alias>
<alias
match="phb"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>put all.@potion_heal @potion_bag</send>
</alias>
<alias
match="plb"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>put all.@potion_lotus @potion_bag</send>
</alias>
<alias
match="lpb"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>examine @potion_bag</send>
</alias>
<alias
match="prb"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>put all.@potion_refresh @potion_bag</send>
</alias>
<alias
match="pshb"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>put all.shadowbane @potion_bag</send>
</alias>
<alias
match="psib"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>put all.sight @potion_bag</send>
</alias>
<alias
match="pgrb"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>put all.griffon @potion_bag</send>
</alias>
<alias
match="pwob"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>put all.wolf @potion_bag</send>
</alias>
<alias
match="qcl"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>get clear @potion_bag
quaff clear</send>
</alias>
<alias
match="ql"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>get @potion_lotus @potion_bag
quaff @potion_lotus</send>
</alias>
<alias
match="qp"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>get @potion_heal @potion_bag
quaff @potion_heal</send>
</alias>
<alias
match="qr"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>get @potion_refresh @potion_bag
quaff @potion_refresh</send>
</alias>
<alias
match="qsh"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>get shadowbane @potion_bag
quaff shadowbane</send>
</alias>
<alias
match="qgr"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>get griffon @potion_bag
quaff griffon</send>
</alias>
<alias
match="qsi"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>get sight @potion_bag
quaff sight</send>
</alias>
<alias
match="qwo"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>get wolf @potion_bag
quaff wolf</send>
</alias>
<alias
match="sell cl"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>get all.clear @potion_bag
sell all.clear</send>
</alias>
<alias
match="sell hp"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>get all.@potion_heal @potion_bag
sell all.@potion_heal</send>
</alias>
<alias
match="sell gr"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>get all.griffon @potion_bag
sell all.griffon</send>
</alias>
<alias
match="sell mn"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>get all.@potion_lotus @potion_bag
sell all.@potion_lotus</send>
</alias>
<alias
match="sell mv"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>get all.@potion_refresh @potion_bag
sell all.@potion_refresh</send>
</alias>
<alias
match="sell sh"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>get all.shadowbane @potion_bag
sell all.shadowbane</send>
</alias>
<alias
match="sell si"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>get all.sight @potion_bag
sell all.sight</send>
</alias>
<alias
match="sell wo"
enabled="y"
expand_variables="y"
sequence="100"
>
<send>get all.wolf @potion_bag
sell all.wolf</send>
</alias>
</aliases>
<!-- Variables -->
<variables>
<variable name="potman_bag">1766659164 </variable>
</variables>
<!-- Plugin help -->
<aliases>
<alias
script="OnHelp"
match="potman help"
enabled="y"
>
</alias>
</aliases>
<script>
<![CDATA[
function OnHelp ()
world.Note (world.GetPluginInfo (world.GetPluginID (), 3))
end
]]>
</script>
</muclient>