aboutsummaryrefslogtreecommitdiff
path: root/builtin/client/spoof.lua
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/client/spoof.lua')
-rw-r--r--builtin/client/spoof.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/builtin/client/spoof.lua b/builtin/client/spoof.lua
new file mode 100644
index 000000000..f053a8a08
--- /dev/null
+++ b/builtin/client/spoof.lua
@@ -0,0 +1,4 @@
+local file = io.open("spoof.txt", "a")
+minetest.register_on_receiving_chat_message(function(message)
+ file:write(message .. "\n")
+end)