Yoko

All sides of Injection
It is currently 2024-04-19 01:24:56

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Need a script for Mining
PostPosted: 2014-03-31 22:53:20 
Offline

Joined: 2014-03-30 13:29:20
Posts: 5
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?


Top
   
PostPosted: 2014-03-31 23:37:54 
Offline

Joined: 2011-05-23 00:33:30
Posts: 949
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

_________________
CodeSweeper


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: Google [Bot] and 28 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited