Kibor Bot Autoclicker » Kibor - Integrated development environment for bots » About Kibor » Version 2.18 The messagebox extension. Output messages from (yes no) (yes no cancel).

Страниц (1): [1]
 

1. Kibor - 24 Июля, 2018 - 02:40:06 - перейти к сообщению
messagebox yn - displays the message with (YES NO).
messagebox ync - output the message from (YES NO CANCEL).

Return:
1 - yes
-1 - no
0 - cancellation

Example
int a = messageboxync ("Select");
if (a == 1) messagebox ("Yes");
if (a == - 1) messagebox ("No");
if (a == 0) messagebox ("Cancel");

or
if (messageboxyn ("Selection") == 1)
{
messagebox ("Yes");
}
else
{
messagebox ("No");
}

Powered by ExBB FM 1.0 Final