default
{
touch_start(integer total_number)
{
llSay(0, "What is your favorite band? Reply using chat.");
state new;
}
}
state new
{
state_entry()
{
llListen(0,"",NULL_KEY,""); //listen to anyone
}
listen(integer channel,string name,key id, string message)
{
if (message=="RUSH")
{
llSay(0,"Of course it's Rush.") ;
state default;
}
else
{
llWhisper(0,"Wrong answer,click again and answer RUSH");
state default; // go back to the default
}
}
}