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.
102 lines
1.8 KiB
102 lines
1.8 KiB
8 years ago
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||
|
<!DOCTYPE muclient>
|
||
|
<!-- Saved on Saturday, March 18, 2017, 6:07 AM -->
|
||
|
<!-- MuClient version 4.98 -->
|
||
|
|
||
|
<!-- Plugin "Attack_Spell_Manager" generated by Plugin Wizard -->
|
||
|
|
||
|
<muclient>
|
||
|
<plugin
|
||
|
name="Attack_Spell_Manager"
|
||
|
author="Lunk"
|
||
|
id="11e0de8bfe76c4700438e897"
|
||
|
language="Lua"
|
||
|
purpose="manages attack spell"
|
||
|
save_state="y"
|
||
|
date_written="2017-03-18 06:04:52"
|
||
|
requires="4.98"
|
||
|
version="1.0"
|
||
|
>
|
||
|
<description trim="y">
|
||
|
<![CDATA[
|
||
|
as help ---> displays this help
|
||
|
as * ---> sets attack spell to *
|
||
|
as ---> displays attack spell
|
||
|
cs * ---> casts attack spell on mob *
|
||
|
cs ---> casts attack spell
|
||
|
]]>
|
||
|
</description>
|
||
|
|
||
|
</plugin>
|
||
|
|
||
|
|
||
|
<!-- Get our standard constants -->
|
||
|
|
||
|
<include name="constants.lua"/>
|
||
|
|
||
|
<!-- Aliases -->
|
||
|
|
||
|
<aliases>
|
||
|
<alias
|
||
|
match="as"
|
||
|
enabled="y"
|
||
|
expand_variables="y"
|
||
|
send_to="12"
|
||
|
sequence="100"
|
||
|
>
|
||
|
<send>ColourNote ("red", "blue", "Attack Spell : @attack_spell")</send>
|
||
|
</alias>
|
||
|
<alias
|
||
|
match="as *"
|
||
|
enabled="y"
|
||
|
send_to="12"
|
||
|
sequence="100"
|
||
|
>
|
||
|
<send>SetVariable ("attack_spell", "%1")
|
||
|
ColourNote ("red", "blue", "Attack Spell set to : %1")</send>
|
||
|
</alias>
|
||
|
<alias
|
||
|
match="cs"
|
||
|
enabled="y"
|
||
|
expand_variables="y"
|
||
|
sequence="100"
|
||
|
>
|
||
|
<send>c '@attack_spell'</send>
|
||
|
</alias>
|
||
|
<alias
|
||
|
match="cs *"
|
||
|
enabled="y"
|
||
|
expand_variables="y"
|
||
|
sequence="100"
|
||
|
>
|
||
|
<send>c '@attack_spell' %1</send>
|
||
|
</alias>
|
||
|
</aliases>
|
||
|
|
||
|
<!-- Variables -->
|
||
|
|
||
|
<variables>
|
||
|
<variable name="attack_spell">nothing</variable>
|
||
|
</variables>
|
||
|
|
||
|
<!-- Plugin help -->
|
||
|
|
||
|
<aliases>
|
||
|
<alias
|
||
|
script="OnHelp"
|
||
|
match="as help"
|
||
|
enabled="y"
|
||
|
>
|
||
|
</alias>
|
||
|
</aliases>
|
||
|
|
||
|
<script>
|
||
|
<![CDATA[
|
||
|
function OnHelp ()
|
||
|
world.Note (world.GetPluginInfo (world.GetPluginID (), 3))
|
||
|
end
|
||
|
]]>
|
||
|
</script>
|
||
|
|
||
|
</muclient>
|