Signup Now
Results 1 to 6 of 6
  1. #1
    Free User
    Join Date
    Jul 2014
    Posts
    94
    Reputation
    7
    Rep Power
    0

    Remove trash from sqm before using shovel/pick

    Looking for a script that will remove trash from sqm im trying to shovel.

  2. #2
    Moderator mistgun's Avatar
    Join Date
    Dec 2013
    Location
    Lodz, Poland
    Posts
    1,821
    Reputation
    220
    Rep Power
    26
    Isn't it possible now to just use shovel on the trashed hole and it will move you into the cave?
    Anyways if you really need this you can use this function:
    openhole(x,y,z)

    pick(x,y,z)

  3. #3
    Free User
    Join Date
    Apr 2014
    Posts
    19
    Reputation
    10
    Rep Power
    0
    nostalgia island script detected :P
    you could just open browse field on that sqm and while it has items, move them to your feet or something like that

  4. #4
    Free User hyderascripts's Avatar
    Join Date
    Oct 2014
    Location
    Brasil
    Posts
    312
    Reputation
    41
    Rep Power
    20
    Just check if the toptile item ID is different from the hole ID, and if so, use desintegrate for example, or just move items around.


    topitem($posx, $posy, $posz).id ~= HOLE_ID

  5. #5
    Free User
    Join Date
    Apr 2014
    Posts
    19
    Reputation
    10
    Rep Power
    0
    Also, if you want to dig a sand spot for example, you need to check if there is a player there (player ID for toplookitem is 99 if I'm not mistaken) and also there are players who throw bomb/wall runes on the digging spot.
    Quote Originally Posted by hyderascripts View Post
    Just check if the toptile item ID is different from the hole ID, and if so, use desintegrate for example, or just move items around.


    topitem($posx, $posy, $posz).id ~= HOLE_ID

  6. #6
    Free User hyderascripts's Avatar
    Join Date
    Oct 2014
    Location
    Brasil
    Posts
    312
    Reputation
    41
    Rep Power
    20
    Quote Originally Posted by ricardosohn View Post
    Also, if you want to dig a sand spot for example, you need to check if there is a player there (player ID for toplookitem is 99 if I'm not mistaken) and also there are players who throw bomb/wall runes on the digging spot.
    If its the case, he wants to open hole that people are trashing, there is a teamspeak bot out there that does it.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •