Hi, so i am making a game, that requires the person to type in their name, or initials.
I want to make a limit of only typing in three letters, and no more than that.
I just don't know how to do that yet, and I was wondering whether it was possible...and if you could tell me...
Thank you,
parakeets4ever
Offline
Not possible using the ask block, but if you did it yourself it'd be quite possible.
Offline
ask [What's your initials?] and wait
if <not <(length of (answer)) = (3)>>
repeat until <(length of (answer)) = 3>
ask [Initials must be 3 letters long] and wait
Offline
Thanks you all for replying so quickly! And thank you so much Rufflebee! I will try it, and will give you credit!
Offline
Oh duh. How did I not think of that? :O
Last edited by Sunrise-Moon (2011-03-06 20:54:37)
Offline
Sunrise-Moon wrote:
Oh duh. How did I not think of that?
![]()
how would we know
Offline
use this
[green flag clicked]
[other stuff]
[broadcast Initals]
[When i recieve Initals]
[if error = 1]
[say Please use only 3 letters. for 5 sec]
[set error to 0]
[broadcast Initals]
[else]
[ask Please type initals. and wait]
[if (length of initals) < 3]
[set error to 1]
[broadcast initals]
[do other stuff]
Much more reliable.
Last edited by bbbeb (2011-03-07 00:46:08)
Offline