Results 1 to 5 of 5

Thread: Count spears in head?

  1. #1
    Normal User
    Join Date
    Apr 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Lightbulb Count spears in head?

    I have trobule with action itemcount("spear") > 5 bot dont count spears : <
    Maybe some can help me, is there any possibility to count spears in hand?

  2. #2
    Normal User lcf1996's Avatar
    Join Date
    May 2012
    Posts
    64
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    try with if itemcount('spear') > 5
    or try with it
    moveitems('spear','weapon','namebp',50)-- this move spears to bp
    itemcount('spear') > 5 then
    gotolabel('namelabel')
    moveitems('spear','namebp','weapon',50) -- this move spears hands
    or try with
    weaponcount('spear') > 5
    or with it
    weaponcount() > 5

  3. #3
    Normal User
    Join Date
    Apr 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Nope, still dont work : <

  4. #4
    Normal User
    Join Date
    May 2012
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    PHP Code:
    if weaponamount 5 then
    gotolabel
    ('x')
    end 

  5. #5
    Normal User
    Join Date
    Apr 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Works fine now. Thanks a lot!

Posting Permissions

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