Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function init (args)
- local needs = {}
- needs["packet"] = tostring(true)
- return needs
- end
- function match(args)
- p = SCPacketPayload()
- print("expval: ", p)
- -- Opens a file in append mode
- local file = io.open("test.tst", "a")
- -- sets the default output file
- io.output(file)
- -- appends to the file
- io.write(p)
- -- closes the open file
- io.close(file)
- io.flush()
- return 1
- end
Advertisement
Add Comment
Please, Sign In to add comment