Code: Select all
--Sham.mac--
#define my-toons-name v2
#define my-friend v1
#event resist "resisted"
#event chloro "you stop regenerating"
Sub Main
/if $target(mana,pct)>30 /goto :medtime
/if $v1~~"heal" /call Heal
/if $v1~~"help" /call Help
/if $v1~~"regen" /call Chloro
/if $gm==TRUE /call Crap
/doevents
:medtime
/sit
/if $v2(mana,pct)<60 /call Gmana
Sub Heal
/if n $v1(hp,pct)>60 /goto :heal
:heal
/stand
/target $v1
/press 6
/return
Sub Help
/assist $v1
/stand
/cast 5
/cast 6
/if $target()~~"resists your torgors insects spell" /call Resist
Sub Crap
/end macro
/cleanup
/unload
/sit
/camp
/return
Sub Resist
/cast 6
/return
Sub Chloro
/stand
/target $v1
/cast 4
/if $v2~~"you stop regenerating" /goto regenme
:regenme
/target $v2
/press 4
/return
Sub Gmana
/tell $v1 mana good pull on
/sit
/return
when i run it in game it says cannot parse sub heal or something along those lines.. not sure about that
any help would be great. thanks!
Flint

