Stuff
public text v1 · immutable-- This adds the GM command .monstersay <message>
-- Only works on NPC's
function opcode(LuaAI,player,args,type)
if (player:GetSecurity() > 0) then
LuaAI:player:getSelectedCreature():HandleEmoteCommand(args, 0);
end
return true
end
register_lua_script_command(".opcode","opcode")