Results 1 to 2 of 2

Thread: why this action doesnt work <bank withdrawer>

  1. #1
    Normal User
    Join Date
    Aug 2012
    Location
    Askara
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    5

    why this action doesnt work <bank withdrawer>

    hej guys,
    i got an withdraw action but wondering it open proper bps but then it doesnt say anything to nps ;s dunno why

    PHP Code:
    closewindows()
    wait(5001000)
    openitem(MainBPname'back')
    wait(5001000)
    resizewindows() 
    wait(5001000)
    openitem(SupplyBPnameMainBPnametrue)
    wait(5001000)
    resizewindows() 

    local mana positive(manatobuy itemcount(mananame)) * manaprice
    local health 
    positive(healthtobuy itemcount(healthname)) * healthprice
    local Total 
    mana health 2000

    wait
    (500,1000)
    npcsay("hi")
    wait(1500,2000)
    npcsay("deposit all")
    wait(1000,1300)
    npcsay("yes")
    wait(1000,1300)
    npcsay("balance")
    wait(2000)
    npcsay("withdraw "..Total)
    wait(1000,1300)
    npcsay("yes")
    wait(1000,1300
    if someone could check what is wrong cause seriusly i dont fu*n know

  2. #2
    Focus Group Targets's Avatar
    Join Date
    Nov 2013
    Location
    PoA - Brazil
    Posts
    456
    Mentioned
    18 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    48 Post(s)
    Reputation
    109
    Rep Power
    5
    First, yours BP variables can not be on your setup.
    Second, ever, do the "Say Hi" in normal chat: say('hi')

    sometimes npcsay is not open and you are trying to say 'hi' on this chat



Posting Permissions

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