Results 1 to 2 of 2

Thread: Counting Items in a specific backpack

  1. #1
    zami84's Avatar
    Join Date
    May 2012
    Posts
    316
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    48
    Rep Power
    5

    Counting Items in a specific backpack

    Is there such an action?

    PHP Code:
    Something like:
    if 
    itemcount ("mana potion"PotBP) > 20 then
    setsettings 
    ("Settings\\looting\\List\\Mana Potion\\Destination""2")
    else
    setsettings ("Settings\\looting\\List\\Mana Potion\\Destination""1")
    end 
    Last edited by zami84; 03-05-2013 at 12:29 PM.

  2. #2
    Normal User RafiXWPT's Avatar
    Join Date
    Jun 2012
    Location
    (Poland) http://rafixwptscripts.com
    Posts
    1,602
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    128 Post(s)
    Reputation
    128
    Rep Power
    9
    yeah,
    PHP Code:
    if itemcount("mana potion"PotBP) > 20 then
    setstettings
    ("Settings\\looting\\List\\Mana Potion\\Destination""2")
    else
    setstettings("Settings\\looting\\List\\Mana Potion\\Destination""1")
    end 
    it's good action

Posting Permissions

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