my project, NEURO, needs to be able to say slightly different responcse to a queston.
like if i type my name in it would say hello, hi, or something else. basicly a "random respounse core" or something. when this settled, i might ask about help elsewhere.
please help if you can
Offline
Create a list called "Responses". Add hello, hi and everything you want to "Responses" (you can call it whatever you want but I'll call it that here)
when gf clicked ask [What's your name?] and wait say (item [any v] of [responses v]) for [5] secs
Offline
This would work
[scratchblocks]
when gf clicked
ask [What is your name?]
send [pick random [1] through [3]]
[scratchblocks]
when I receive [1]
say [Hello!]
Offline
RoboNeo9 wrote:
This would work
when gf clicked ask [What is your name]? broadcast (pick random (1) to (3)) when I receive [1] say [Hello!]
fixed scratchblocks, but that would be far less effective than phirrups way
Offline
PhirripSyrrip wrote:
Create a list called "Responses". Add hello, hi and everything you want to "Responses" (you can call it whatever you want but I'll call it that here)
when gf clicked ask [What's your name?] and wait say (item [any v] of [responses v]) for [5] secs
This would work very well.
Offline
PhirripSyrrip wrote:
Create a list called "Responses". Add hello, hi and everything you want to "Responses" (you can call it whatever you want but I'll call it that here)
when gf clicked ask [What's your name?] and wait say (item (pick random 1 to 10) of [responses v]) for [5] secs//the random block is green in reality
This would work for ten responses, and be completely random.
Offline
sonicfan12p wrote:
PhirripSyrrip wrote:
Create a list called "Responses". Add hello, hi and everything you want to "Responses" (you can call it whatever you want but I'll call it that here)
when gf clicked ask [What's your name?] and wait say (item (pick random (1) to (10)) of [responses v]) for (5) secsThis would work for ten responses, and be completely random.
Blocks fixed.
Offline