PuNkTuReD commented on a Page, funny bot script  -  May 21, 2008

nice work man
try this

on *:text:*:#: { 
  if (hey isin $$1-) { describe $chan hey $nick you can type hey do you want a fucking cookie? !yes or !no }
  if (hi isin $$1-) { describe $chan hi $nick you can type hi do you want a fucking cookie? !yes or !no }
  if (whats up isin $$1-) { describe $chan hello $nick you can type whats and/or up? do you want a fucking cookie? !yes or !no }
  if (hello isin $$1-) { describe $chan hello $nick you can type hello do you want a fucking coookie? !yes or !no }
  if (!yes == $$1) { describe $chan TO FUCKING BAD!! }
  if (!no == $$1) { describe $chan i wans\'t going to give you a fucking cookie anyway }
  if (!maybe == $$1) { describe $chan that wasn\'t a fucking answer }
  if (!gay == $$1) { describe $chan !!! $nick would like to tell you that they r a fucking homo!! and you need to cover your assholes }
}

there is no need for multiple on text\'s
you can use if statements to check whether the word is in the sentence

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.