[QUEST] Segmentation fault

10/16/2013 18:27 poXavincS#1
Hi guys I am trying with timer when begin statement but this is statement dynamically. So, I can't working and ./qc name.quest command set the error Segmentation fault.

my quest basic code;
PHP Code:
quest name begin
    state start begin
        
        when TEST
.game.get_event_flag("GX1").timer begin
            notice_all
("PoxMT2: GX1 ON!!")
        
end
    
        when 20091.chat
."GM: GX Event Settings" with pc.is_gm() begin
            say_title
("GX Event Settings")
            
say("")
            
local gy1 tonumber(input())
            
local gz1 tonumber(input())
            
game.set_event_flag("GY1",tostring(gy1))
            
game.set_event_flag("GZ1",tostring(gz1))
            
timer("TEST"..gy1,60*gz1)
            
notice_all("PoxMT2: GX1 Event is start!")
        
end
    end
end 
I have tried it;
PHP Code:
when TEST.(game.get_event_flag("GX1")).timer begin
    notice_all
("PoxMT2: GX1 ON!!")
end 
How to dynamically I use it?
Good works..