Results 1 to 3 of 3

Thread: Help with action

  1. #1
    iBot User
    Join Date
    Feb 2013
    Posts
    97
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    33 Post(s)
    Reputation
    10
    Rep Power
    4

    Help with action

    some action to pull WG in front of me

    example



    . X .1
    me 2
    . X .3


    1,2,3 = Wild Growth Rune

  2. #2
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    390 Post(s)
    Reputation
    366
    Rep Power
    10
    Quote Originally Posted by lobito View Post
    some action to pull WG in front of me

    example



    . X .1
    me 2
    . X .3


    1,2,3 = Wild Growth Rune
    Lua Code:
     
    local range = 1
     
    for i=-range,range do
       if toptileitem(posx+1, posy+i,posz) ~= 10182 and itemcount('wild growth rune') > 0 then
          useitemon(3156,posx+1,posy+i,posz) 
          wait(1000)
          updateworld()
       end
    end

  3. #3
    iBot User
    Join Date
    Oct 2015
    Posts
    72
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    30 Post(s)
    Reputation
    23
    Rep Power
    2
    Quote Originally Posted by Drakke View Post
    Lua Code:
     
    local range = 1
     
    for i=-range,range do
       if toptileitem(posx+1, posy+i,posz) ~= 10182 and itemcount('wild growth rune') > 0 then
          useitemon(3156,posx+1,posy+i,posz) 
          wait(1000)
          updateworld()
       end
    end
    funciona em partes, ele fica spmiando a runa infinitamente, eu conferi na lista, o id que vc usou é do mato amarelo ( de outros players), não sabe o id do mato proprio?◘

Posting Permissions

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