[RakBots] Помогите с текстом в диалоге

z3hA444

Участник
Автор темы
90
4
Версия MoonLoader
Другое
Всем привет, мне нужна помощь, как сделать так, чтобы бот отправлял не весь текст с диалога а только от какого то одного до другого слова?

Код:
elseif text:find("/check (.+)") then
                nick = text:match("/check (.+)")
                local decodeAction = u8:decode('/getoffstats '..nick..'')
                sendInput(decodeAction)
                function onDialogShow(dialogId, dialogStyle, dialogTitle, okButtonText, cancelButtonText, dialogText)
                openUrl(AnsiToUtf8(string.format(link..''..dialogText..'')))
                end
 

ChromiusJ

PARΛDIGM ΛSS
Друг
4,909
3,197