i want to create a flash script for stroboscope..
so the script flash every 1-2 seconds the screen
or random second..
Possible is it?
function autoflash_begin(id) 	timer(2000,"parse","flashplayer "..id,0) end function autoflash_end(id) 	freetimer("parse","flashplayer "..id) end
addhook("serveraction" ,"sact") function sact(id, act) if(act==1) then menu(id, "Smoke Machine, Start/Stop Smoker, Start Stroboscope") end end addhook("menu", "menus") function menus(id, tit, sel) if(tit=="Smoke Machine") then if(sel==1) then parse("trigger 25"); if(sel==2) then THE CODE
flashing = {} function autoflash_begin(id) 	flashing[id] = true 	timer(1000,"parse","flashplayer "..id.." 10",0) end function autoflash_end(id) 	flashing[id] = false 	freetimer("parse","flashplayer "..id.." 10") end addhook("serveraction" ,"sact") function sact(id, act) 	if(act==1) then 		menu(id, "Smoke Machine, Start/Stop Smoker, Toggle Stroboscope") 	end end addhook("menu", "menus") function menus(id, tit, sel) 	if(tit=="Smoke Machine") then 		if(sel==1) then 			parse("trigger 25"); 		end 		if(sel==2) then 			if not flashing[id] then 				autoflash_begin(id) 			else 				autoflash_end(id) 			end 		end 	end end
flashing = {} function autoflash_begin(id) 	flashing[id] = true 	timer(1000,"parse","flashposition yourxposition youryposition 10",0)		-- change yourxposition and youryposition end function autoflash_end(id) flashing[id] = false freetimer("parse","flashposition yourxposition youryposition 10",0) end addhook("serveraction" ,"sact") function sact(id, act) if(act==1) then menu(id, "Smoke Machine, Start/Stop Smoker, Toggle Stroboscope") end end addhook("menu", "menus") function menus(id, tit, sel) if(tit=="Smoke Machine") then if(sel==1) then parse("trigger 25"); end if(sel==2) then if not flashing[id] then autoflash_begin(id) else autoflash_end(id) end end end end