Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: use on 100 gps

  1. #1
    Normal User
    Join Date
    Nov 2012
    Posts
    63
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5

    use on 100 gps

    Hello, I need action which will use my 100gps (ots - changes into platinum coin)


    I did something like that:

    if countitem("gold coin") >= 100 then useitem("gold coin") end
    but if I've got ie. 104 gps in my bp it uses that 4 gp, not 100..
    any ideas how to make it works ?

  2. #2
    Normal User mistgun's Avatar
    Join Date
    Nov 2012
    Location
    LDZ
    Posts
    333
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    41
    Rep Power
    5
    if countitem("gold coin") == 100 then useitem("gold coin") end
    try it , not tested yet

  3. #3
    Normal User
    Join Date
    Nov 2012
    Posts
    63
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    wont work

  4. #4
    Normal User eng.mahmoud's Avatar
    Join Date
    Nov 2012
    Posts
    55
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    7
    Rep Power
    0
    ye i need that too

  5. #5
    iBot User walukasz's Avatar
    Join Date
    Feb 2012
    Location
    Poland
    Posts
    312
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    25 Post(s)
    Reputation
    67
    Rep Power
    5
    if itemcount("gold coin") >= 100 then
    useitem("gold coin", "all')
    end

  6. #6
    Normal User
    Join Date
    Jun 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Dont work.
    Bump!

  7. #7
    Normal User
    Join Date
    Jun 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    BUMP.
    Need this guys

  8. #8
    Normal User SySiO's Avatar
    Join Date
    Dec 2012
    Posts
    355
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    25
    Rep Power
    5
    Well no action will work for this. Since when you got more than 100 gold, example 101 gp, then you got stack of 1 gold and 100 gold, so any script will try to use that 1st/1 gp ;p
    We are no longer able to put smth else than weapon to hand, so action with hand wont work. I got no idea how to make an action to drop these stacks w/o 100 gold. Best to do is do like it's in real tibia = get more bps x)

  9. #9
    iBot User Dehan's Avatar
    Join Date
    May 2012
    Location
    www.ssocialscripts.com
    Posts
    910
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    114
    Rep Power
    7
    all you need: gold bp + bp to move gold and use
    Code:
    --[OT - Gold Coin User by Dehan]--
    local goldBP = "backpack of holding"
    local use_goldBP = "brocade backpack"
    
    --[DO NOT EDIT]--
    local gold_count = 100-itemcount("gold coin", use_goldBP)
    
    if itemcount("gold coin", goldBP) >= 100 then
    moveitems("gold coin", goldBP, use_goldBP, gold_count)
    wait(200,400)
    useitem("gold coin", use_goldBP)
    wait(200,400)
    elseif itemcount("gold coin", use_goldBP) > 100 then
    moveitems("gold coin", use_goldBP, goldBP, 100)
    end
    Check out - Dehan Accounts Service!

    Proud Scripter of BUgWT STAFF

  10. #10
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    Another idea is:

    Get a BAG:
    7 slots with 1 platinum in each slot

    Make the looting go to this bag. then you can't have more than 101 gp

    Then use one of the above hotkeys

Posting Permissions

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