What changes are necessary to make this work?
mainly i am concerned with the attacktype
Rich (BB code):
#turbo 40
Sub Main (string outer attacktype)
/declare StartZone int outer ${Zone.ID}
:loop
/if (${Zone.ID}!=${StartZone}) /call Done
/if (!${Target.ID}) {
/target npc
}
/call Combat
/goto :loop
Sub Combat
/squelch /${attacktype}s
/delay 0
/squelch /${attacktype}n
/delay 0
/squelch /${attacktype}e
/delay 0
/squelch /${attacktype}w
/delay 0
/return
Sub Done
/echo Not in starting zone, camping and ending macro...
/echo You have 15 seconds to abort...
/delay 15s
/gate
/delay 90s
/camp desktop
/end
mainly i am concerned with the attacktype