Results 1 to 6 of 6

Thread: New Scripter asking for help!

  1. #1
    Normal User ByGripH's Avatar
    Join Date
    May 2014
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    3

    Question New Scripter asking for help!

    Does anyone how if there is a function similar to itemcount related to holding spear?
    I'm looking to make my char leave the cave when he has less than 5 spears.

    Thanks!
    Last edited by ByGripH; 06-09-2014 at 03:46 PM.

  2. #2
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    There sure is.

    weaponamount [int]: Return amount of items on weapon slot.
    Lua Code:
     
    if weaponamount < 5 then
        gotolabel("LeaveHunt")
    end


    Bookmark this: http://www.tibiaibot.com/forum/showt...-Documentation
    Last edited by pink_panther; 06-06-2014 at 01:54 AM.

  3. #3
    Moderator Furieri's Avatar
    Join Date
    Jun 2012
    Location
    Vitoria - ES / Brasil
    Posts
    792
    Mentioned
    62 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    199 Post(s)
    Reputation
    158
    Rep Power
    7
    Pink phanter always faster then me =x

  4. #4
    Normal User ByGripH's Avatar
    Join Date
    May 2014
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    3
    Awesome!

    That's just what I was looking for!
    Thank you so much Pink Panther!

    Can you change this post to "Solved" status plz?
    Last edited by ByGripH; 06-06-2014 at 10:54 PM.

  5. #5
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    817
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    345 Post(s)
    Reputation
    462
    Rep Power
    10
    Quote Originally Posted by ByGripH View Post
    Awesome!

    That's just what I was looking for!
    Thank you so much Pink Panther!

    Can you change this post to "Solved" status plz?
    You can change your thread status, just use the edit button


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

  6. #6
    Normal User ByGripH's Avatar
    Join Date
    May 2014
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    3
    Quote Originally Posted by blakw View Post
    You can change your thread status, just use the edit button
    Took me sometime, but finally found it!

    Thank you! Hhhaahha


Tags for this Thread

Posting Permissions

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