How do i do this if statement
Posted: Sat May 08, 2004 10:42 pm
What i want is for this to continue checking for a spawn untill it finds one..
Thanks for your help
Omper
Code: Select all
| Rangerautopull.mac v 0.1 alpha
| Writen by Omper
#chat tell
#include spellcast.inc
#event TOFAR "Your target is too far"
#Event CANTSEE "see your target"
#Event GainExp "You gain party experience"
#Event LoseExp "You have been slain"
Sub Main
:loop
/doevents
/goto :loop
/return
Sub Event_GainExp
/call GoToStart
/target npc radius 100
/call Cast "ensnare
/delay 30s
/attack on
/echo test
/return
Sub Event_TOFAR
/face nolook fast
/keypress forward hold
/keypress forward
/keypress forward hold
/keypress forward
/keypress forward hold
/keypress forward
/keypress forward hold
/keypress forward
/return
Sub GoToStart
/target Groupmember
/fo
/delay 10s
/autofollow off
/return
Sub Event_CANTSEE
/face fast nolook
/return
Sub Event_LoseExp
/sit
/camp desktop
/returnOmper