|
Post by sean4tw on Jan 11, 2017 12:37:50 GMT
Hi All, I'm not the most proficient as this script my indicate - but Im also eager to learn. I've created this script to walk around the Magencia docks and fish, its just long and ugly. To summarize whats happening: its walking in a box shape around the dock, fishing for up to 20 times, then moving to the next spot. Is there a more efficient way to accomplish this? Thanks! -Sean
for 20
clearjournal
useobject 0x40d9c3cb
waitfortarget 15000
targettile 3702 2310 -5
pause 9000
if injournal 'seem to be biting' 'system'
break
endif
endfor
for 7
walk east
endfor
for 20
clearjournal
useobject 0x40d9c3cb
waitfortarget 15000
targettile 3712 2310 -5
pause 9000
if injournal 'seem to be biting' 'system'
break
endif
endfor
for 9
walk north
endfor
for 20
clearjournal
useobject 0x40d9c3cb
waitfortarget 15000
targettile 3712 2300 -5
pause 9000
if injournal 'seem to be biting' 'system'
break
endif
endfor
for 7
walk west
endfor
for 20
clearjournal
useobject 0x40d9c3cb
waitfortarget 15000
targettile 3702 2302 -5
pause 9000
if injournal 'seem to be biting' 'system'
break
endif
endfor
for 9
walk south
endfor
|
|
|
Post by Experience on Jan 12, 2017 1:47:49 GMT
my suggestion would be to use a (while not @injournal "there are no fish here" 'system') instead of the (for 20...)
|
|