Results 1 to 2 of 2

Thread: What's wrong with my script?? O que a de errado com meu script

  1. #1
    iBot User
    Join Date
    Apr 2015
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    2

    What's wrong with my script?? O que a de errado com meu script

    english version.
    I did this script, to open the backpack, and see, if have health potion the character if have he can to came hunt, else go to seller of potion, but when start the script this jump.
    Can you put in your program to test? I need help please.

    portuguese version. \/

    eu fiz este script, para abrir a backpack, e ver, se tem health potion no carinha se tem ele pode voltar para caça, senão ele vai comprar
    potion, mas quando ele começa o script ele pula este.
    você podem colocar no seus programas para teste? eu preciso de ajuda por favor.


    openitem(MainBP,"back")
    wait(2000)
    if itemcount("health potion",MainBP,"back") < 12 then
    say("hi")
    wait(2000)
    npcsay("withdraw")
    wait(2000)
    npcsay("200")
    wait(2000)
    npcsay("yes")
    gotolabel("gopotion")
    else
    say("hi")
    wait(2000)
    npcsay("balance")
    wait(2000)
    npcsay("bye")
    gotolabel("gohunt")

  2. #2
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    390 Post(s)
    Reputation
    366
    Rep Power
    10
    Quote Originally Posted by jhonrosa View Post
    english version.
    I did this script, to open the backpack, and see, if have health potion the character if have he can to came hunt, else go to seller of potion, but when start the script this jump.
    Can you put in your program to test? I need help please.

    portuguese version. \/

    eu fiz este script, para abrir a backpack, e ver, se tem health potion no carinha se tem ele pode voltar para caça, senão ele vai comprar
    potion, mas quando ele começa o script ele pula este.
    você podem colocar no seus programas para teste? eu preciso de ajuda por favor.


    openitem(MainBP,"back")
    wait(2000)
    if itemcount("health potion",MainBP,"back") < 12 then
    say("hi")
    wait(2000)
    npcsay("withdraw")
    wait(2000)
    npcsay("200")
    wait(2000)
    npcsay("yes")
    gotolabel("gopotion")
    else
    say("hi")
    wait(2000)
    npcsay("balance")
    wait(2000)
    npcsay("bye")
    gotolabel("gohunt")


    openitem(MainBP,"back")
    wait(2000)
    if itemcount("health potion",MainBP,"back") < 12 then
    say("hi")
    wait(2000)
    npcsay("withdraw")
    wait(2000)
    npcsay("200")
    wait(2000)
    npcsay("yes")
    gotolabel("gopotion")
    else
    say("hi")
    wait(2000)
    npcsay("balance")
    wait(2000)
    npcsay("bye")
    gotolabel("gohunt")
    end

Tags for this Thread

Posting Permissions

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