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
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?
Dude, this doesn't work. Give up.