Results 1 to 4 of 4

Thread: Transfer balance -10000 to Mainchar. Dont work :/

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

    Unhappy Transfer balance -10000 to Mainchar. Dont work :/

    Hi! I want my cashmaker to send me all cash he gets. The script should be like "transfer 'balance-10000' to Main" so he saves 10000gps.

    I founded this action:

    local amountToSave = 10000
    local transferTo = "Your Mother"

    npcsay("Hi")
    wait(300,600)
    npcsay("Deposit all")
    wait(300,600)
    npcsay("Yes")
    wait(300,600)
    npcsay("Balance")
    wait(1300,1600)
    npcsay("Transfer "..balance-amountToSave.." to "..transferTo)
    wait(300,600)
    npcsay("Yes")
    wait(1300,1600)
    BUT! The first time he comes to bank he says "transfer -1 to 'mainchar". Next time in bank it works. Does it take to long to the varible "..balance" to set or what? Need to fix this

    Thanks!!

  2. #2
    Normal User
    Join Date
    Jul 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    And! If I have 50000 balance for example. I go hunt, earn 10000 more, say to npc, hi, deposit all, yes, balance, and then transfer xx to blabla.." Then the bot sends me 40000gps when he should send me 50000gps. (balance - SaveAmount (10k)). The bot use the old Balance. Understand? haha

  3. #3
    iBot User
    Join Date
    Jan 2013
    Posts
    303
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    18 Post(s)
    Reputation
    19
    Rep Power
    4
    just add another balance after the last yes... it might work

  4. #4
    Premium User Norkk's Avatar
    Join Date
    Jan 2013
    Location
    BH - MG - Brazil
    Posts
    1,167
    Mentioned
    78 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    207 Post(s)
    Reputation
    135
    Rep Power
    7
    Agree! do as he says.
    Quote Originally Posted by felipepiva View Post
    just add another balance after the last yes... it might work
    My Scripts - Norkk Free Scripts
    New Project - Norkk Project

    EK 208 sold to @yhuel

Posting Permissions

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