Results 1 to 5 of 5

Thread: Problem opening sandpits

  1. #1
    iBot User haard's Avatar
    Join Date
    Nov 2013
    Posts
    25
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    7 Post(s)
    Reputation
    18
    Rep Power
    4

    Lightbulb Opening sandpits

    Code:
    local sandHole =  toptileitem(33027,32869,7)
    local sandID = (614)
    local digItem = ("Shovel")
     
    if sandHole == sandID then
    useitemon(digItem, 33027, 32869, 7)
    end
    Did the trick!
    Last edited by haard; 02-18-2014 at 06:07 AM. Reason: Fixed

  2. #2
    Normal User
    Join Date
    Jan 2014
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    3
    Im makeing post here becouse I can not make a new theard - so sorry :< I need help to make a script to use chameleon rune on another item in bp, please help me

  3. #3
    iBot User
    Join Date
    Aug 2012
    Posts
    805
    Mentioned
    18 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    38 Post(s)
    Reputation
    180
    Rep Power
    7
    @about thread read here http://www.tibiaibot.com/forum/showt...ge-sandhole-ID

    Quote Originally Posted by fiko666 View Post
    Im makeing post here becouse I can not make a new theard - so sorry :< I need help to make a script to use chameleon rune on another item in bp, please help me
    what you mean you cant make new thread?

  4. #4
    Normal User
    Join Date
    Jan 2014
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    3
    Quote Originally Posted by shanp View Post
    @about thread read here http://www.tibiaibot.com/forum/showt...ge-sandhole-ID



    what you mean you cant make new thread?
    Im getting error: "denied" or somethnig like that :\ I need only scritp to use chameleon rune on other item in bp. I used search, but there is no script like that on forum... only use item on a ground or ground item.

  5. #5
    iBot User
    Join Date
    May 2012
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    18 Post(s)
    Reputation
    16
    Rep Power
    5
    This should make you use digitem on desired x, y, z until it opens.
    I didn't test it.

    Code:
    local postousex = "33027" -- pos X for hole
    local postousey = "32869" -- pos y for hole
    local postousez = "7" -- pos z for hole
    local sandplace =  toptileitem(postousex, postousey, postousez)
    local openedid = "ID to ADD" -- set the id for OPENED hole
    local digitem = "Shovel" -- add item ID to be used to open the hole it can be AVI or shovel
    
    while sandplace ~= openedid and posx-postousex <= 7 and postousex-posx <= 7 and posy-postousey <= 7 and postousey-posy <= 7 and posz == postousez do
    useitemon(digitem, postousex, postousey, postousez)
    wait(1000, 1100)
    end

    And this one is to use an item FROM bp on an item ON bp:
    Code:
    local useitemid = "" -- id for chameleon rune
    local itemonid = "" -- id for item to be used on
    local itemonloc = "" -- bp name which contain the item to be used on
    useitemonitem(useitemid, itemonid, itemonloc)
    Last edited by Talis3o1; 02-19-2014 at 01:28 PM. Reason: typed wrong

Posting Permissions

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