Guest User

test.lua

a guest
Nov 3rd, 2017
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.20 KB | None | 0 0
  1. event = require("event")
  2.  
  3. function doSomething(event, id, x, y, z, user)
  4.   print("Hello "..user)
  5. end
  6.  
  7. event.listen("motion", doSomething)
  8.  
  9. event.pull("interrupted")
  10.  
  11. event.ignore("motion", doSomething)
Advertisement
Add Comment
Please, Sign In to add comment