Results 1 to 5 of 5

Thread: Need Action

  1. #1
    iBot User Bosse101's Avatar
    Join Date
    Jul 2012
    Location
    Sweden
    Posts
    273
    Mentioned
    19 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    25 Post(s)
    Reputation
    185
    Rep Power
    6

    Need Action

    Need action to count spears or bolts in container and in weapon slot to buy spears or prismatic bolts

    local Ammunition = itemcount(AmmoName) + weaponamount(?)

    and then...

    buyitemsupto(AmmoName, AmmoCount, Ammunition)
    Last edited by Bosse101; 07-26-2013 at 03:23 PM.

  2. #2
    Premium User Eldar's Avatar
    Join Date
    Apr 2013
    Location
    Poland
    Posts
    1,335
    Mentioned
    37 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    62 Post(s)
    Reputation
    159
    Rep Power
    7
    Code:
    local Ammunition = itemcount(AmmoName) + ammoamount
    or
    Code:
    local Ammunition = itemcount(AmmoName) + weaponamount
    Next time look here: http://www.tibiaibot.com/forum/showt...-and-Functions

  3. #3
    iBot User Bosse101's Avatar
    Join Date
    Jul 2012
    Location
    Sweden
    Posts
    273
    Mentioned
    19 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    25 Post(s)
    Reputation
    185
    Rep Power
    6
    Quote Originally Posted by Eldar View Post
    Code:
    local Ammunition = itemcount(AmmoName) + ammoamount
    or
    Code:
    local Ammunition = itemcount(AmmoName) + weaponamount
    Next time look here: http://www.tibiaibot.com/forum/showt...-and-Functions
    Hello mate, thank you Alrdy looked there tried to figure it out but ...

  4. #4
    Premium User Eldar's Avatar
    Join Date
    Apr 2013
    Location
    Poland
    Posts
    1,335
    Mentioned
    37 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    62 Post(s)
    Reputation
    159
    Rep Power
    7
    Remember to Rep+

  5. #5
    iBot User Bosse101's Avatar
    Join Date
    Jul 2012
    Location
    Sweden
    Posts
    273
    Mentioned
    19 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    25 Post(s)
    Reputation
    185
    Rep Power
    6
    Quote Originally Posted by Eldar View Post
    Remember to Rep+
    Will do

Posting Permissions

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