I wrote these as a way to box my 5 lowbie toons. They are not full featured bots but work very well in my experience.
Rich (BB code):
|Written by Higamorph for Red Guides
|Written 3 of 2007
|Edited last on Sunday, April 7th, 2007
|Purpose - To semiautomate a melee player for use in a monitered botgroup.
|The macro as written requires mq2melee, and mq2moveutils to be loaded.
|replace any instance of REPLACEME with the name of the main toon.
|
|Thanks to Thez and Pugs for helping with my macro code.
|
|Responds to the following commands in group chat or via tells.
|Commands
|Kill this - attack the current target
|follow - start autofollow using stick
|wait here - end autofollow
|camp - camps the whole group out
|reload - reloads the macro, left in from creation, though it was nifty
|
|The toons should autojoin a group after being invited.
|Start Syntax
|/macro group.mac AssistName
#include spell_routines.inc
#chat tell
#event attack "#*# tells the group, 'Kill this'"
#event attack "#*# tells you, 'Kill this'"
#event follow "#*# tells the group, 'follow'"
#event follow "#*# tells you, 'follow'"
#event stopfollow "#*# tells the group, 'wait here'"
#event stopfollow "#*# tells you, 'wait here'"
#event camp "#*# tells the group, 'camp'"
#event camp "#*# tells you, 'camp'"
#event reload "#*# tells the group, 'reload'"
#event reload "you tell your party, 'reload'"
#event invite "#*#invites you to join#*#"
sub main
/call CheckPlugin MQ2moveutils
/call CheckPlugin MQ2melee
/declare AssistName string outer
/varset AssistName ${Param0}
/melee load
:loop
/doevents
/goto :loop
|Place the main charcters name after target for the follow to work correctly
Sub Event_follow
/target ${AssistName}
/tt following
/stick hold 10 moveback uw
/return
Sub Event_stopfollow
/stick off
/return
|Place the main charcters name after target for the assist and attack features work correctly
Sub Event_attack
/assist ${AssistName}
/delay 2s
/tt Assisting on %T
/stick hold 10 moveback uw
/attack on
/return
Sub Event_camp
/sit
/g Camping
/camp
/delay 30s
/end
/return
Sub Event_reload
/macro group.mac
/return
Sub Event_invite
/invite
/return
|Code from EQManiac's brdhoh.mac
Sub CheckPlugin(string PluginName)
/if (!${Plugin[${PluginName}].Name.Equal[${PluginName}]}) /plugin ${PluginName} noauto
/if (!${Plugin[${PluginName}].Name.Equal[${PluginName}]}) {
/echo Exit Macro: Failed to load REQUIRED plugin ${PluginName}
/endmacro
}
/return
Last edited:

