function onReceivePacket(id, bs)
if id == 220 then
raknetBitStreamReadInt8(bs);
if raknetBitStreamReadInt8(bs) == 17 then
raknetBitStreamReadInt32(bs);
local len, text = raknetBitStreamReadInt32(bs), '';
if len > 0 then
text = raknetBitStreamReadString(bs, len)
local event, data = text:match('window%.executeEvent%(\'([%w.]+)\',%s*\'(.+)\'%)');
if event == 'event.arizonahud.playerSatiety' then
local satiety = data:match('%[(%d+)%]')
if tonumber(satiety) <= 50 then
sampSendChat('/jmeat')
end
end
end
end
end
end