I'm new to coding in general but it seems that this should work with my limited ability.. could it be caused by a bug of some sort? when i run this macro i get a error saying couldn't parse "ana,pct)>10{"
do i have to format my code in a certain way to avoid this or something?
here goes
Code: Select all
|MAIN
Sub Main
/call Cast
|CASTING CODE
Sub Cast
/stand
:start
/if $char(mana,pct)>10{
/cast 1
/delay 50
/goto :start
}else
{
/call Med
}
|MEDDING CODE
Sub Med
/delay 50
/sit
:startmed
/delay 10
/doability 2
/if n $char(mana,pct)>95{
/call Cast
}else
{
/goto :startmed
}

