Added modpol.menu() functions modpol and modpol_minetest. Not sure if latter works.
This commit is contained in:
@ -7,6 +7,18 @@ local regchat -- Chat-command registration function
|
||||
|
||||
regchat = minetest.register_chatcommand
|
||||
|
||||
-- ===================================================================
|
||||
-- /menu
|
||||
-- Presents a menu of options to users
|
||||
minetest.register_chatcommand(
|
||||
"menu", {
|
||||
privs = {},
|
||||
func = function(user)
|
||||
local result = modpol.menu(user)
|
||||
return true, result
|
||||
end,
|
||||
})
|
||||
|
||||
-- ===================================================================
|
||||
-- /addorg /add_org
|
||||
-- This code defines a chat command which creates a new
|
||||
|
Reference in New Issue
Block a user