Unnamed
public text v1 · immutableon *: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
}
}