ciao a tutti,sto cercando di imparare sempre di più sui script in lua...oggi cercavo di imparare sempre di iù sull'utilizzo dei timer...se lo scrivessi cosi andrebbe bene?
when value.click begin
say("ciao")
local a = select ("primo","esci")
if a == 2 then
return
elseif a == 1 then
timer("ciao",30)
end --local a
end --when
when ciao.timer begin
say("ciaoooooooo")
end --when
????? non ci dovrebbe essere un clear.timer() (un qualcosa del genere?), e se ci fosse vorrei sapere il perchè...grazie in anticipo
when value.click begin
say("ciao")
local a = select ("primo","esci")
if a == 2 then
return
elseif a == 1 then
timer("ciao",30)
end --local a
end --when
when ciao.timer begin
say("ciaoooooooo")
end --when
????? non ci dovrebbe essere un clear.timer() (un qualcosa del genere?), e se ci fosse vorrei sapere il perchè...grazie in anticipo