looking for a simple melee assist bot macro

Got a cool macro idea? Wanna request a macro? Here is the place for you!

Moderator: MacroQuest Developers

thegnome
orc pawn
orc pawn
Posts: 16
Joined: Fri Sep 05, 2003 7:04 am

looking for a simple melee assist bot macro

Post by thegnome » Sun Nov 30, 2003 12:29 am

wouldlike to just do a /macro assist <name of assist person>

a) that well assist the MA when ever he calls for assist in the raid channel.
b) Follow the mob so the bot well be in max melee range
c) stop attacking when the mob has enranged
b) follow a group member after fights

.. anyone'


i have been using the follow macro that comes with the down load.. but its still hard when your in a Cleric rotation ...

Drunkensloth
a lesser mummy
a lesser mummy
Posts: 67
Joined: Sat Oct 18, 2003 2:54 am

here you go

Post by Drunkensloth » Sun Nov 30, 2003 3:15 am

here you go... read it and edit it to make it work for you... i warned you~

Code: Select all

|request by thegnomoe
|written by Drunkensloth
|usage /mac raidassist "assist name"
|
|
|note: this will stop attacking if anything that gives an enrage message becomes enraged~
|
|personalize this code or you will look like a retard

#turbo
#Event asstank "@Param0" tells the raid, 'Assist'"
#Event enraged "has become enraged"
#Event toofar "Your target is too far away, get closer!"
#Event XP "experience!!"

Sub Main
	:mainloop
	/doevents
	/delay 2s
	/goto :mainloop
/return

Sub Event_asstank
	/assist "@Param0"
	/call Combat
/return

Sub Event_XP
	/press esc
	/press esc
	/press f2
	/rs I am retard and am following $target(name,clean)
	   :Loop
      /if n $target(distance)>60 /sendkey down up
      /if n $target(distance)<20 /sendkey up up
      /face fast
	/doevents
      /delay 0
   /if "$target()"=="TRUE" /goto :Loop
/return

Sub Event_toofar
	/press up
                /call Combat
/return

Sub Combat
	/attack
	:fight
	/rs I am stupid and dont edit my macros~
	/shout hey everyone, I am breaking the EULA running a third party program to MACRO WEEEEEE!
	/face fast
	/press down
	/doevents
	/delay 2s
	/if "$target()"=="False" /call Main
	/goto :fight
/return
edit: forgot to call Sub Combat after the too far event
And here I was clicking like a sucker!

thegnome
orc pawn
orc pawn
Posts: 16
Joined: Fri Sep 05, 2003 7:04 am

Post by thegnome » Sun Nov 30, 2003 7:47 am

LoL.. thank bro .... nice trick )

Drunkensloth
a lesser mummy
a lesser mummy
Posts: 67
Joined: Sat Oct 18, 2003 2:54 am

Post by Drunkensloth » Sun Nov 30, 2003 1:54 pm

it should work~ if it doesnt... post agian... i will try to fix it (i did all that without testing it on a toon)
And here I was clicking like a sucker!

thegnome
orc pawn
orc pawn
Posts: 16
Joined: Fri Sep 05, 2003 7:04 am

Post by thegnome » Sun Nov 30, 2003 5:27 pm

boo, doesn't do anything..... :P had to use macro follow again ..grrrrr

Drunkensloth
a lesser mummy
a lesser mummy
Posts: 67
Joined: Sat Oct 18, 2003 2:54 am

Post by Drunkensloth » Sun Nov 30, 2003 5:37 pm

none of the events fired?! or did it not assist?


try messing around with the event line for event asstank

and it needs to match what your tank says as his assist line, fyi~
and when you start eh macro

if my tank name was pookybear
and my macro name was asstank

/macro asstank "Pookybear"


and the event assist thingy should be what he says as his msg... id ont know if raidsay works in MQ .... i forget :)

the rest of hte crap SHOULD work...
And here I was clicking like a sucker!

notadruid
a ghoul
a ghoul
Posts: 143
Joined: Mon Dec 08, 2003 6:02 pm

Fixed

Post by notadruid » Tue Dec 09, 2003 5:51 pm

How about this. I took your asstank script and tweaked it into a bot script for 2boxing my monk.

Side note, my hotkey #1 is flying kick and #9 is feign death.

Usage: Have botted character have MQ enabled. I do this with commanding character not mq enabled but /shrug.

Commander directs boxed monk through ;tell (not /tell).

I feel this can easily be macroed into an asstank script

Code: Select all

#turbo
#Event kill "commander told you, 'kill"
#Event enraged "has become enraged"
#Event toofar "Your target is too far away, get closer!"
#Event follow "commander told you, 'follow'"
#Event feign "commander told you, 'feign'"

Sub Main
   :mainloop
   /doevents
   /delay 1s
   /goto :mainloop
/return

Sub Event_kill
   /assist commander
   /delay 1s
   /t commander Attacking %t
   /call Combat
/return

Sub Event_follow
   /press esc
   /press esc
   /stand
   /attack off
   /target commander
   /t commander Following you
      :followLoop
      /if n $target(distance)>40 /sendkey down up
      /if n $target(distance)<20 /sendkey up up
      /face fast
   /doevents
   /delay 0
   /if "$target()"=="TRUE" /goto :followLoop
/return

Sub Event_toofar
    /sendkey down up
      :farLoop
      /if n $target(distance)<30 /sendkey up up
      /face fast
   /doevents
   /delay 0
   /if "$target()"=="TRUE" {
     /if n $target(distance)>40 /goto :farLoop
     /call Combat
   }
/return

Sub Event_enraged
  /attack off
  /press 9
  /press esc
  /t commander rage
  /delay 0
/return

Sub Combat
   /attack on
   /press 1
   /cast item "Celestial Fists"
   :fight
   /face fast
   /doevents
   /delay 0
   /if "$target()"=="False" {
     /sendkey up up
     /call Main
   }
   /goto :fight
/return

Sub Event_feign
  /attack off
  /press 9
  /press esc
  /t commander Feigned
  /delay 0
/return

Drunkensloth
a lesser mummy
a lesser mummy
Posts: 67
Joined: Sat Oct 18, 2003 2:54 am

Post by Drunkensloth » Wed Dec 10, 2003 5:27 pm

make an event that checks to see if FD failed or not~
And here I was clicking like a sucker!