Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --os.execute("pastebin get -f 4ZnZ2iXE status.lua")
- local status = {}
- status.__index = status;
- status.current = ""
- function status.set(value)
- if value ~= status.current then
- status.change(value)
- end
- end
- function status.change(value)
- io.write(value.."\n")
- status.current = value
- end
- return status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement