Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Self Repeating Function
#1
Bug 
You can use the idea to create ie. your own second hook, ms100 hook, always hook etc. Whatever comes to your imagination.

Code:
function _selfrepeat()

print("repeating..")

timer(1000,"_selfrepeat") --repeats itself every second

end

_selfrepeat() --started the function because it's an unique function and won't start if we do not trigger it
Reply


Messages In This Thread
Self Repeating Function - by BcY - 22-08-2019, 04:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Bug Array Size Callbacks & Function BcY 0 146 22-08-2019, 01:54 PM
Last Post: BcY

Forum Jump:


Users browsing this thread: 1 Guest(s)
Flag Counter