require "lib.moonloader"
local event = require "lib.samp.events"
function main()
if not isSampfuncsLoaded() or not isSampLoaded() then return end
while not isSampAvailable() do wait(100) end
while true do
wait(0)
end
end
function event.onServerMessage(color, message)
if
string.find(message,"The time is now") or
string.find(message,"Information on paychecks:") or
string.find(message,"Sign the check to receive your paycheck.") or
string.find(message,"Type /signcheck") or
string.find(message,"You have 5 minutes to sign the check before it becomes invalid.")
then
sampSendChat("/capturf")
sampSendChat("/capture")
end
end