{$CLEO}
0000:
repeat
wait 0
until 0AFA: is_samp_available
WHILE TRUE
wait 0
IF 0B4C: samp is_dialog_active -1
THEN
0BD8: samp get_dialog_caption 0@
0BD7: samp get_dialog_text 1@
0AF8: samp add_message_to_chat "Заголовок: %s" color -1 0@
0AF8: samp add_message_to_chat "%s" color -1 1@
END
END