here is an example that i did a long time ago when i first started out doing my bot
on :text::#: {
tokenize 32 $strip($1-)
if ($1 == !norris) {
msg # 4,1 $read $mircdir\text\norris.txt
}
if ($1 == !Momma) {
msg # 4,1 $read $mircdir\text\momma.txt
}
if ($1 == !blonde) {
msg # 4,1 $read $mircdir\text\blonde.txt
}
if ($1 == !clowns) {
msg # 4,1 $read $mircdir\text\clowns.txt
}
if ($1 == !condoms) {
msg # 4,1 $read $mircdir\text\condoms.txt
}
if ($1 == !elevator) {
msg # 4,1 $read $mircdir\text\elevator.txt
}
if ($1 == !emo) {
msg # 4,1 $read $mircdir\text\emo.txt
}
if ($1 == !internet) {
msg # 4,1 $read $mircdir\text\internet.txt
}
if ($1 == !love) {
msg # 4,1 $read $mircdir\text\love.txt
}
if ($1 == !pc) {
msg # 4,1 $read $mircdir\text\pc.txt
}
if ($1 == !pickup) {
msg # 4,1 $read $mircdir\text\pickup.txt
}
if ($1 == !pizza) {
msg # 4,1 $read $mircdir\text\pizza.txt
}
if ($1 == !quotes) {
msg # 4,1 $read $mircdir\text\quotes.txt
}
if ($1 == !stupid) {
msg # 4,1 $read $mircdir\text\stupid.txt
}
if ($1 == !walmart) {
msg # 4,1 $read $mircdir\text\walmart.txt
}
if ($1 == !redneck) {
msg # 4,1 You might be a redneck if $read $mircdir\text\redneck.txt
}
if ($1 == !8ball) {
if (!$2) { msg $chan you must ask a question to get an answer } halt
if ($nick == Darknessfalls) && (Angelic_Desire isin $1-) && (tit isin $1-) { .msg # Yes
halt
}
else { msg # 4,1 $read $mircdir\text\8ball.txt
}
}
}