Add hint mod code - MT refuses to load mods without `init.lua`
[insidethebox.git] / mods / hint / init.lua
blob2a0110128a4b8327eba0ebe446ab89c398598c5e
2 --[[
4 'hint' mod - for Inside The Box.
6 ]]--
8 minetest.register_on_chat_message(function(name, message)
9 if message:sub(1, 1) == "/" then
10 return
11 end
12 if message == "hint" then
13 minetest.chat_send_player(name, minetest.colorize("#44ff44",
14 "Just so you know, there are videos showing how to do the tutorial on our website!"))
15 return true
16 end
17 end)