local memory = require "memory"
function main()
repeat wait(0) until isSampAvailable()
sampRegisterChatCommand('ch', function() -- by randazzo
memory.fill(sampGetChatInfoPtr() + 306, 0x0, 25200)
memory.write(sampGetChatInfoPtr() + 306, 25562, 4, 0x0)
memory.write(sampGetChatInfoPtr() + 0x63DA, 1, 1)
end)
wait(-1)
end