Yoko
http://forum.yoko.com.ua/

Need a script for Mining
http://forum.yoko.com.ua/viewtopic.php?f=17&t=17425
Page 1 of 1

Author:  InjFan [ 2014-03-31 22:53:20 ]
Post subject:  Need a script for Mining

Around 8 years ago i have and injection script who mine around me with a grid similar to this
00000
00x00
00000
(me are the x)
with no move, no catchbag, no reccal, nothig. only mine in a matrix like that.

One time i activate the script in my house for error, and i see the script "work" my pg start mining and collect ore... and i can do this in every part of the world... someone have a script like that?

Author:  Incorrect User [ 2014-03-31 23:37:54 ]
Post subject:  Re: Need a script for Mining

Code:
sub Mining()
   var waittime, x, y, msg = "ore in your|ores in your|too far away|loosen some rocks|no ore here|have no line|mining in rock"
   for x = -2 to 2
      for y = -2 to 2
         repeat
            uo.deletejournal(msg)
            uo.waittargettile(-1, uo.getx() + x, uo.gety() + y, uo.getz())
            uo.usetype("0x0E85")
            waittime = uo.timer() + 150
            repeat
               wait(100)
            until uo.dead() or uo.injournal(msg) or uo.timer() > waittime
         until uo.dead() or uo.injournal("too far away|no ore here|have no line|mining in rock")
      next
   next
end sub

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/