Here is a basic one
if never then
set v1,0
set v2,0
endif
if ssnnearssn 1,3,100 then
set v1,1
else
set v1,0
endif
if eq v1,1 then //adds 1 to variable2 every second
inc v2
endif
if eq v2,5 then // fires after 5 seconds and resets the variable to 0
SSNtoWP 1,3
set v2,0
endif
|