mishgul

Untitled

Jul 20th, 2015
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. targetTracing = true
  2. traceLevel = 3
  3. traceStep = 0
  4.  
  5. function targetTrace(person, room)
  6. if targetTracing then
  7. if traceStep == 0 then
  8. send("pt ".. person.. " at " ..room)
  9. end
  10. traceStep = traceStep + 1
  11. traceTimer = tempTimer(3, [[traceStep = 0]])
  12. if traceStep >= traceLevel then
  13. traceStep = 0
  14. killTimer(traceTimer)
  15. end
  16. end
  17. end
Advertisement
Add Comment
Please, Sign In to add comment