local sampev = require 'samp.events'
local dlgid = -1
function sampev.onShowDialog(dialogId, style, title, button1, button2, text)
if title:find("Проверка на робота") then
dlgid = dialogId
end
end
function sampev.onSendDialogResponse(dialogId, button, listboxId, input)
if dlgid ~= -1 and input:find("%-") then
input = input:gsub('-', '')
end
end