RANDOM NUMBER! *REP+*
#10

let x be the variable and you want the players to type a ten digit number between 10 and 20
so assign x=random(20-10+1)+10;
or x=random(11)+10;
Now check this with inputext of of your dialog under ondialogresponse
like
Quote:

if(inputext == x)
{
//sendmessage correct
}
else
{
//send wrong message
}

Reply


Messages In This Thread
RANDOM NUMBER! *REP+* - by _GHT_MarK445 - 19.03.2016, 16:01
Re: RANDOM NUMBER! *REP+* - by zPain - 19.03.2016, 17:21
Re: RANDOM NUMBER! *REP+* - by SickAttack - 19.03.2016, 17:45
Re: RANDOM NUMBER! *REP+* - by _GHT_MarK445 - 19.03.2016, 18:32
Re: RANDOM NUMBER! *REP+* - by introzen - 19.03.2016, 18:34
Re: RANDOM NUMBER! *REP+* - by SickAttack - 19.03.2016, 18:38
Re: RANDOM NUMBER! *REP+* - by _GHT_MarK445 - 22.03.2016, 15:35
Re: RANDOM NUMBER! *REP+* - by SyS - 22.03.2016, 15:59
Re: RANDOM NUMBER! *REP+* - by _GHT_MarK445 - 22.03.2016, 16:00
Re: RANDOM NUMBER! *REP+* - by SyS - 22.03.2016, 16:11

Forum Jump:


Users browsing this thread: 1 Guest(s)