Hello need persistent for ignore single mosnter after chest only if monster have more then 90 % can sb help with it ?: )
or if someone pm to me ("xyz") bot turn off targeting
Hello need persistent for ignore single mosnter after chest only if monster have more then 90 % can sb help with it ?: )
or if someone pm to me ("xyz") bot turn off targeting
Last edited by Nekro; 05-22-2016 at 10:35 PM.
i dont understand what you want in the first part but heres the msg one, i hope there isn't any typo
auto(500)
local msg = "xyz"
local sender = "Eternal Oblivion"
foreach newmessage m do
if m.content == msg and m.sender == sender then
if $targeting then
setsetting('Targeting/Enabled', 'no')
else
setsetting('Targeting/Enabled', 'yes')
end
end
end
edit: typo