Simple mod that executes any LUA command if sent as a chat message that starts with "./c ". It does this without disabling achievements like the built-in "/c" command.
Any ideas on how to invoke this so it only prints it to the player and not players?
Or make it so it prints to admins but not non-admins?
Example:
function Commands.toggle_cheat(self)
if self.util.allowedToUse() == false then return end
self.player.cheat_mode = self.util.switchBool(self.player.cheat_mode, "Cheat mode is now")
end