Swim Simple (script)

From Elanthipedia
Jump to navigation Jump to search
Swim Simple (script)
Category training,Survival
Front-end Genie
Author [Lethan]


Simple swimming script that loop back and forth between two points.

#Change the directions as desired. Must be opposit or the script will likely fail.
var firstDir n
var secondDir s

save %firstDir

Loop:
put %s
match SwitchDir You can't
match Loop Obvious
match Pause ...wait
matchwait

SwitchDir:
if %s = %firstDir then save %secondDir
else save %firstDir
goto Loop

Pause:
pause 1
goto Loop