All pastes #611283 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-07-09 21:11 UTC
rendered paste body
on *:TEXT:!candy*:#:{ 
  if ($2) { 
    msg $chan Would you like candy? If so, say yes.
    set %a $2 
  } 
}
on *:TEXT:yes:#:{ 
  if ($nick == %a) { 
    msg $chan What type of candy? Please respond by saying the type of candy you want. 
  }
}
on *:TEXT:*:#:{ if ($nick == %a) { 
    describe $chan hands $nick a $1-
    unset %a 
  } 
}