Code:
function OmNomNomOnChat(event, player, message, type, language)
local message = string.lower(message)
if message == "#gohostile" then
if (player:GetGmRank() == 'a') or (player:GetGmRank() == 'az') then
player:FlagFFA(true)
return 0
end
elseif message == "#gonormal" then
if (player:GetGmRank() == 'a') or (player:GetGmRank() == 'az') then
player:FlagFFA(false)
return 0
end
end
end
RegisterServerHook(16, "OmNomNomOnChat")
There's a Lua script to do it.
Go into notepad -> Copy paste script into it, go to file -> save as, change the file type to "all files" and call it anything.lua (has to have .lua on the end).
^
Put it in your scripts folder where your ArcEmu server/repack is.
Restart your server.
use
#gohostile
and
#gonormal
To trigger hostile to all and normal again. Only GMs can use it as it's configured so far.