View Single Post
  #5  
Old 06-12-2014, 01:46 PM
Guest001 is offline Guest001
Registered User

Join Date: Aug 2008
Posts: 4,971

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
Reply With Quote