function sampev.onShowDialog(dialogId, style, title, button1, button2, text)
if dialogId == ид диалога and title == "Название диалога" then
if string.match("\n{FFFFFF}Статус: {B83434}%[(.+)%]\n") then
vipstatus = string.match("\n{FFFFFF}Статус: {B83434}%[(.+)%]\n")
end
end
end