Fishing script
Posted: 2014-04-11 17:15:22
I have scripted this.
Can someone say if it's ok or if it can be sripted better?
thi is the script:
sub main()
while true
repeat
uo.waittargettile(0,5262,3235,-5)
wait(1000)
uo.usetype("Canna")
wait(5000)
until uo.injournal("There doesn't seem to be any fish here")
wait(1000)
cibo()
wait(1000)
uo.deletejournal()
wait(5000)
uo.press(113)
repeat
uo.waittargettile(0,5261,3235,-5)
wait(1000)
uo.usetype("Canna")
wait(5000)
until uo.injournal("There doesn't seem to be any fish here")
wait(1000)
cibo()
wait(1000)
uo.deletejournal()
wait(5000)
uo.press(113)
repeat
uo.waittargettile(0,5263,3235,-5)
wait(1000)
uo.usetype("Canna")
wait(5000)
until uo.injournal("There doesn't seem to be any fish here")
wait(1000)
cibo()
wait(1000)
uo.deletejournal()
wait(5000)
uo.press(113)
repeat
uo.waittargettile(0,5264,3235,-5)
wait(1000)
uo.usetype("Canna")
wait(5000)
until uo.injournal("There doesn't seem to be any fish here")
wait(1000)
cibo()
wait(1000)
uo.deletejournal()
wait(5000)
uo.press(113)
repeat
uo.waittargettile(0,5264,3237,-5)
wait(1000)
uo.usetype("Canna")
wait(5000)
until uo.injournal("There doesn't seem to be any fish here")
wait(1000)
cibo()
wait(1000)
uo.deletejournal()
wait(5000)
uo.press(113)
repeat
uo.waittargettile(0,5266,3237,-5)
wait(1000)
uo.usetype("Canna")
wait(5000)
until uo.injournal("There doesn't seem to be any fish here")
wait(1000)
cibo()
wait(1000)
uo.deletejournal()
wait(5000)
uo.press(113)
repeat
uo.waittargettile(0,5266,3239,-5)
wait(1000)
uo.usetype("Canna")
wait(5000)
until uo.injournal("There doesn't seem to be any fish here")
wait(1000)
cibo()
wait(1000)
uo.deletejournal()
wait(5000)
uo.press(113)
repeat
uo.waittargettile(0,5267,3237,-5)
wait(1000)
uo.usetype("Canna")
wait(5000)
until uo.injournal("There doesn't seem to be any fish here")
wait(1000)
cibo()
wait(1000)
uo.deletejournal()
wait(5000)
uo.press(113)
repeat
uo.waittargettile(0,5267,3238,-5)
wait(1000)
uo.usetype("Canna")
wait(5000)
until uo.injournal("There doesn't seem to be any fish here")
wait(1000)
cibo()
wait(1000)
uo.deletejournal()
wait(5000)
uo.press(113)
repeat
uo.waittargettile(0,5264,3238,-5)
wait(1000)
uo.usetype("Canna")
wait(5000)
until uo.injournal("There doesn't seem to be any fish here")
wait(1000)
cibo()
wait(1000)
uo.deletejournal()
wait(5000)
uo.press(113)
repeat
uo.waittargettile(0,5266,3236,-5)
wait(1000)
uo.usetype("Canna")
wait(5000)
until uo.injournal("There doesn't seem to be any fish here")
wait(1000)
cibo()
wait(1000)
uo.deletejournal()
wait(5000)
uo.press(113)
wend
end sub
sub cibo()
if UO.injournal("absolutely famished") then
UO.Deletejournal()
UO.Exec("usetype 'cibo'")
wait(5000)
end if
end sub
Can someone say if it's ok or if it can be sripted better?
thi is the script:
sub main()
while true
repeat
uo.waittargettile(0,5262,3235,-5)
wait(1000)
uo.usetype("Canna")
wait(5000)
until uo.injournal("There doesn't seem to be any fish here")
wait(1000)
cibo()
wait(1000)
uo.deletejournal()
wait(5000)
uo.press(113)
repeat
uo.waittargettile(0,5261,3235,-5)
wait(1000)
uo.usetype("Canna")
wait(5000)
until uo.injournal("There doesn't seem to be any fish here")
wait(1000)
cibo()
wait(1000)
uo.deletejournal()
wait(5000)
uo.press(113)
repeat
uo.waittargettile(0,5263,3235,-5)
wait(1000)
uo.usetype("Canna")
wait(5000)
until uo.injournal("There doesn't seem to be any fish here")
wait(1000)
cibo()
wait(1000)
uo.deletejournal()
wait(5000)
uo.press(113)
repeat
uo.waittargettile(0,5264,3235,-5)
wait(1000)
uo.usetype("Canna")
wait(5000)
until uo.injournal("There doesn't seem to be any fish here")
wait(1000)
cibo()
wait(1000)
uo.deletejournal()
wait(5000)
uo.press(113)
repeat
uo.waittargettile(0,5264,3237,-5)
wait(1000)
uo.usetype("Canna")
wait(5000)
until uo.injournal("There doesn't seem to be any fish here")
wait(1000)
cibo()
wait(1000)
uo.deletejournal()
wait(5000)
uo.press(113)
repeat
uo.waittargettile(0,5266,3237,-5)
wait(1000)
uo.usetype("Canna")
wait(5000)
until uo.injournal("There doesn't seem to be any fish here")
wait(1000)
cibo()
wait(1000)
uo.deletejournal()
wait(5000)
uo.press(113)
repeat
uo.waittargettile(0,5266,3239,-5)
wait(1000)
uo.usetype("Canna")
wait(5000)
until uo.injournal("There doesn't seem to be any fish here")
wait(1000)
cibo()
wait(1000)
uo.deletejournal()
wait(5000)
uo.press(113)
repeat
uo.waittargettile(0,5267,3237,-5)
wait(1000)
uo.usetype("Canna")
wait(5000)
until uo.injournal("There doesn't seem to be any fish here")
wait(1000)
cibo()
wait(1000)
uo.deletejournal()
wait(5000)
uo.press(113)
repeat
uo.waittargettile(0,5267,3238,-5)
wait(1000)
uo.usetype("Canna")
wait(5000)
until uo.injournal("There doesn't seem to be any fish here")
wait(1000)
cibo()
wait(1000)
uo.deletejournal()
wait(5000)
uo.press(113)
repeat
uo.waittargettile(0,5264,3238,-5)
wait(1000)
uo.usetype("Canna")
wait(5000)
until uo.injournal("There doesn't seem to be any fish here")
wait(1000)
cibo()
wait(1000)
uo.deletejournal()
wait(5000)
uo.press(113)
repeat
uo.waittargettile(0,5266,3236,-5)
wait(1000)
uo.usetype("Canna")
wait(5000)
until uo.injournal("There doesn't seem to be any fish here")
wait(1000)
cibo()
wait(1000)
uo.deletejournal()
wait(5000)
uo.press(113)
wend
end sub
sub cibo()
if UO.injournal("absolutely famished") then
UO.Deletejournal()
UO.Exec("usetype 'cibo'")
wait(5000)
end if
end sub