Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function caps_check(name, param)
- local a = 0
- minetest.register_on_chat_message(function(name,message)
- if string.match(message, "%u%u%u%u") or string.match(message, "%U%u%u%u%u") then
- local a = a + 1
- minetest.chat_send_all("<The All Seeing Eye> Please refrain from using all caps.")
- else
- if a > 4 then
- minetest.chat_send_all("You have really done it now.")
- end
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement