View Single Post
04/05/14, 04:27 PM   #1
satherequesting
Join Date: Apr 2014
Posts: 2
run function after player has idled a set time?

Hey there!

First I would like to say thanks for all the great work out there! It is awesome to see!

I am very new to LUA, but have some general coding experience.

I have a great idea for an addon but I want to know if its even possible. Is there a method available to us to detect User input at any level, or the lack thereof?

I would like to create an addon that would run a function when the player has idled, say for 5-10 seconds, and then stop running that function the moment a player resumes input.

Is this conceivable with the current api?
  Reply With Quote