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

Thread: Action for sending bank balance to my main

  1. #1
    iBot User
    Join Date
    May 2012
    Posts
    79
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    9
    Rep Power
    0

    Action for sending bank balance to my main

    Hello.
    As long as im afraid to bot my noobs on places where i dont need cash for supplies i would like to make an action -> after withdraw money for manas send bank balance to my another character.

    Waiting for answer

  2. #2
    iBot User Deepling [troll <3]'s Avatar
    Join Date
    May 2013
    Location
    Gray Island
    Posts
    673
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    54 Post(s)
    Reputation
    127
    Rep Power
    6
    I want it too

  3. #3
    Normal User
    Join Date
    Jun 2012
    Posts
    122
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    10
    Rep Power
    5
    i need it too

  4. #4
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    815
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    344 Post(s)
    Reputation
    462
    Rep Power
    10
    This one:

    PHP Code:
    --Main character name:
    local mainCharName = ("blakw")

    --
    Engine:
    say("hi")
    wait(1500,2500)
    npcsay("balance")
    wait(3000,4500)
    npcsay("transfer "..balance.." to "..mainCharName)
    wait(200,300)
    npcsay("yes")
    wait(200,300)
    npcsay("bye")
    wait(200,300
    Last edited by blakw; 09-11-2013 at 09:21 AM.


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

  5. #5
    Normal User
    Join Date
    Oct 2012
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    10
    Rep Power
    5
    So everyone now check the script before using it <>

  6. #6
    Normal User
    Join Date
    Jul 2012
    Posts
    609
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    37
    Rep Power
    6
    Blakw,

    Possible to Send balance-50k in this action?


    Greetings ikalos
    Helped? Show respect, use reputation system!

  7. #7
    iBot User Byczarz's Avatar
    Join Date
    Jun 2012
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    Quote Originally Posted by Ikalos View Post
    Blakw,

    Possible to Send balance-50k in this action?


    Greetings ikalos
    Ofc it is:

    Code:
    local amountToSave = 50000
    local transferTo = "MAINCHAR"
    
    npcsay("Hi")
    wait(1200,1400)
    npcsay("balance")
    wait(1300,1600)
    if balance > amountToSave then
    npcsay("Transfer "..balance-amountToSave.." to "..transferTo)
    wait(1100,1500)
    npcsay("Yes")
    wait(1300,1600)  
    end

  8. #8
    iBot User
    Join Date
    Jul 2012
    Posts
    132
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    12 Post(s)
    Reputation
    22
    Rep Power
    5
    for me it's don't work :/ idk why all is good

    edit : it sometimes work and sometimes don't work wtf ?
    Last edited by Zikkk; 09-18-2013 at 04:48 PM.

  9. #9
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    815
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    344 Post(s)
    Reputation
    462
    Rep Power
    10
    Quote Originally Posted by Zikkk View Post
    for me it's don't work :/ idk why all is good

    edit : it sometimes work and sometimes don't work wtf ?
    Increase wait time between npcsay("balance") and npcsay("transfer... because it need a few secs to update variable values.


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

  10. #10
    Normal User e k x's Avatar
    Join Date
    Sep 2013
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    18
    Rep Power
    4
    Quote Originally Posted by blakw View Post
    Increase wait time between npcsay("balance") and npcsay("transfer... because it need a few secs to update variable values.
    You don't need to, use updateworld() instead. It'll be like this:

    Code:
    local amountToSave = 50000
    local transferTo = "MAINCHAR"
    
    npcsay("hi")
    wait(1200,1400)
    npcsay("balance")
    updateworld()
    wait(1300,1600)
    if balance > amountToSave then
        npcsay(string.format("transfer %d to %s", math.max(0, balance - amountToSave), transferTo))
        wait(1100,1500)
        npcsay("yes")
        wait(1300,1600)
    end

Posting Permissions

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