Results 1 to 5 of 5

Thread: help change gold action

  1. #1
    iBot User
    Join Date
    Dec 2013
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    help change gold action

    Hey guys, on rook it's not possible to deposit more than 1k i need an action that change the money and DO NOT deposit it.
    Somebody help me !

  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
    Can you deposit it all, then withdraw it all? that's easier

    PHP Code:
    npcsay("hi")
    wait(600,900)
    npcsay("deposit all")
    wait(600,900)
    npcsay("yes")
    wait(600,900)
    npcsay("balance")
    wait(600,900)
    npcsay("withdraw "..balance)
    wait(600,900)
    npcsay("yes")
    wait(600,900

  3. #3
    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
    10
    pink, but what if he have for example 2148gp? limit in rookgard is 1000gp. Thats why he want gp to platinum changer

  4. #4
    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
    Hmmmm

    MAybe this?

    PHP Code:
    local changeGp math.floor((itemcount("gold coin")/100))

    npcsay("hi")
    wait(600,900)
    npcsay("change gold")
    wait(600,900)
    npcsay(changeGp)
    wait(600,900)
    npcsay("yes"

    If it doesnt work, please check debug log, because I didn't test it at all.

  5. #5
    iBot User
    Join Date
    Dec 2013
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Quote Originally Posted by pink_panther View Post
    hmmmm

    maybe this?

    PHP Code:
    local changegp math.floor((itemcount("gold coin")/100))

    npcsay("hi")
    wait(600,900)
    npcsay("change gold")
    wait(600,900)
    npcsay(changegp)
    wait(600,900)
    npcsay("yes"

    if it doesnt work, please check debug log, because i didn't test it at all.
    worked. Thank you a lot panther !
    Last edited by RENANRJ; 12-17-2013 at 09:44 AM.

Posting Permissions

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