Hey guys.....I know that the answer to my question is probably a simple one but I just can't seem to figure it out.
I keep getting a "Flow ran into another subroutine. scwarp.mac@23 (ScaryCaves); Sub ScaryCaves" error and my macro ends. I have tried a couple of things and the macro still terminates after one run.
Its just a simple warp macro while I still learn this stuff.
I'm not really concerned so much about the macro working as I am about why I'm getting that error so I can avoid that problem in future macros.
Thanks in advance for any help.
DaB
I keep getting a "Flow ran into another subroutine. scwarp.mac@23 (ScaryCaves); Sub ScaryCaves" error and my macro ends. I have tried a couple of things and the macro still terminates after one run.
Its just a simple warp macro while I still learn this stuff.
Rich (BB code):
|------------------------------------------------------------------------------|
#turbo 10
#Event Zoned "You have entered#*#"
sub Main
|- ZONER Variables ------------------------------------------------------------|
/declare Zn int outer
|- Snag the task
/delay 2s
/tar npc marana
/task 3759 5
/delay 20
/call ScaryCaves
/doevents flush
Sub ScaryCaves
/echo Starting Scary Caves
/doevents flush
/zone karnor
/call Zoner
/warp loc -48.92 -277.16 2.19
/Delay 20
/zone dreadlands
/call Zoner
/warp loc -2514 3498 712
/Delay 20
/zone frontiermtns
/call Zoner
/Target npc Shilur
/Hail
/Delay 10
/zone Dreadlands
/call Zoner
/delay 20
/return
}
/return
sub Zoner
/delay 60
:stillzoning
/doevents
/if (${Zn}!=1) /goto :stillzoning
/varset Zn 0
/delay 5s
/return
sub Event_Zoned
/call GMCheck
/varset Zn 1
/return
sub GMCheck
/if (${Bool[${Spawn[gm].ID}]}) {
/echo A GM or Guide has been detected. Waiting for five minutes to check again ...
/delay 300s
/call GMCheck
}
/return
I'm not really concerned so much about the macro working as I am about why I'm getting that error so I can avoid that problem in future macros.
Thanks in advance for any help.
DaB