Signup Now
Results 1 to 6 of 6

Thread: Zebron gambling

  1. #1
    Free User
    Join Date
    May 2014
    Posts
    46
    Reputation
    13
    Rep Power
    0

    Zebron gambling

    Can someone make a action that bets on zebron with 3gp and if you lose you raise the bet.

    This is the numbers of the bets
    3, 4, 5, 5, 6, 7, 8, 10, 11, 13, 15, 18, 21, 24, 28, 33, 39, 45, 53, 61, 72, 84, 98
    Last edited by Runebar; 12-30-2015 at 10:34 AM.

  2. #2
    Free User
    Join Date
    May 2014
    Posts
    46
    Reputation
    13
    Rep Power
    0
    I was trying to use this but doenst work

    local npcname = 'Zebron'
    local MSG = 'NPCs'
    local MSG1 = 'Ok, here we go ... 6! You have won 15, congratulations. One more game?'

    local index = 0
    local msgs = getnewmessages()
    local qtd = msgs.count-1
    for i=0,qtd do
    if msgs[qtd].sender == npcname and msgs[qtd].text:find(MSG) and msgs[qtd].type == 5 then
    wait(1000)
    npcsay(MSG_1)
    wait(1000)
    then
    gotolabel("start")
    else
    gotolabel("sec bet")
    end


    Say that have a unexpected symbol near 'then' line 14

    Can someone help me?
    Last edited by Runebar; 12-31-2015 at 03:16 AM.

  3. #3
    Free User
    Join Date
    May 2014
    Posts
    46
    Reputation
    13
    Rep Power
    0
    Uppppp

  4. #4
    Free User
    Join Date
    May 2014
    Posts
    46
    Reputation
    13
    Rep Power
    0
    Nobody? Really?

  5. #5
    Moderator RoxZin xD's Avatar
    Join Date
    Dec 2013
    Location
    Rio de Janeiro
    Posts
    4,914
    Reputation
    109
    Rep Power
    31
    Quote Originally Posted by Runebar View Post
    Nobody? Really?
    You have a wrong "then" on your script, before gotolabel("start"). That's your first problem.



    Troubled Animals Quest [100+]
    ALL
    Feyrist Animals Surface [160+]
    RP
    Feyrist Silencers Underground X1 [180+]
    RP | EK
    Feyrist Silencers Underground X2 [200+]
    RP | EK
    Feyrist Silencers Surface [210+]
    RP | EK
    Rathleton Sewers [240+]
    RP
    Glooth Fairy [350+]
    ED/MS
    Hardcore Draken Walls [400+]
    EK

  6. #6
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28
    Dude, this doesn't work. Give up.

 

 

Posting Permissions

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