Results 1 to 4 of 4

Thread: If X balance transfer money

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

    If X balance transfer money

    If my knight got X balance or more transfer the money to X char

    its that posible?

  2. #2
    iBot User
    Join Date
    Jun 2012
    Posts
    52
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    PHP Code:
    local xbalance 1000

    if balance >= xbalance then
    npcsay
    ("transfer" ..MainCharName)
    wait(500,800)
    npcsay("yes")
    end 
    put it on action after bank( there put npcsay("balance")), why? cause in the same action it wont check balance correctly

  3. #3
    iBot User uzingang's Avatar
    Join Date
    Apr 2012
    Posts
    26
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    15
    Rep Power
    5
    Can post one example ?

  4. #4
    iBot User
    Join Date
    Jun 2012
    Posts
    52
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    action(BANK): normal bank action with npcsay("balance")
    action(BANK2): transfer script

    the wont work in 1 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
  •