Results 1 to 4 of 4

Thread: Talking to many NPC

  1. #1
    Normal User
    Join Date
    Apr 2013
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Talking to many NPC

    This one is Working Perfectly!

    Code:
    if islocation(3) then
    reachcreature("Jefrey")
    wait(2000,3000)
    say("hi")
    wait(2000,3000)
    npcsay("deposit all")
    wait(2000,3000)
    npcsay("yes")
    wait(2000,3000)
    
    closewindows()
    while windowcount() < 2 do
    wait(2000,3000)
    openitem(mainBp,"back",true,0)
    wait(700,1450)
    --openitem(lootBp,mainBp,true,0)
    --wait(700,1450)
    openitem(goldBp,mainBp,true,0)
    wait(700,1450)
    resizewindows()
    wait(700,1450)
    end
    
    wait(2000,3000)
    if (itemcount(nameMp) < minMp) then
    wait(2000,3000)
    npcsay("withdraw 500")
    wait(2000,3000)
    npcsay("yes")
    wait(2000,3000)   
    gotolabel("PotionShop")
    else
    gotolabel("Entrando")
    end
    end
    This not working.
    The character does not talking, doesn't moving and does not doing nothing!

    Code:
    if islocation(3) then
    reachcreature("Frederik")
    wait(2000,3000)
    npcsay("Hi")
    wait(2000,3000)
    npcsay("Trade")
    wait(2000,3000)
    npcsay("vials")
    wait(2000,3000)
    npcsay("yes")
    wait(2000,3000)
    buyitemsupto(nameMp,maxMp,itemcount(nameMp))
    wait(2000,3000)
    end
    Why?

  2. #2
    Normal User
    Join Date
    Apr 2013
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    SOLVED

    I just deleted the action buying potions and did another same! (copy and paste)

    But why?

  3. #3
    Normal User Deaths's Avatar
    Join Date
    Feb 2013
    Location
    Brasil
    Posts
    118
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    24
    Rep Power
    4
    I cant see any problem with this actions ;o

  4. #4
    Normal User
    Join Date
    Apr 2013
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Quote Originally Posted by Deaths View Post
    I cant see any problem with this actions ;o
    The problem not was the action, was the bot!

    I deleted the action and i did another just like the last!

Posting Permissions

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