gpt-3.5-turbo-0125· OpenAI
WildChat-4.8M (AI2)
function sampev.onShowDialog(id, style, title, btn1, btn2, text) if id == 32700 and…
- User
function sampev.onShowDialog(id, style, title, btn1, btn2, text) if id == 32700 and btn1:match("Войти") and btn2:match("Уйти") then print('geroin') else print() end end добавь во второй принт проверку для каждого из условий(между and)
- Assistant
function sampev.onShowDialog(id, style, title, btn1, btn2, text) if id == 32700 and btn1:match("Войти") and btn2:match("Уйти") then print('geroin') else if id ~= 32700 then print('id does not match 32700') end if not btn1:match("Войти") then print('btn1 does not match "Войти"') end if not btn2:match("Уйти") then print('btn2 does not match "Уйти"') end end end