All pastes #435104 Raw Edit

Stuff

public text v1 · immutable
·published 2007-04-11 19:38 UTC
rendered paste body
-- 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")