This is just a simple pancake script I made... Don't know why, but oh well... (:
Enjoy!
Trigger it by typing !pancake
on *:TEXT:!Pancake:#: {
if ($nick isop $chan) {
msg $chan Hello, you want a pancake? Ok! Because your an op! Congratz!
}
else {
msg $chan Unfortunatly, your not an op, so your not trsuted with a pancake. Sorry!
}
}
You can do this with the $iif() identifier:
on *:TEXT:!Pancake:#: {
.msg # $iif($nick isop #,Hello $+ $chr(44) you want a pancake? Ok! Because you're an op! Congratz!,$&
Unfortunately $+ $chr(44) you're not an op so you're not trusted with a pancake. Sorry!)
}
, which saves yourself a /msg command. I also corrected a couple of misspellings, excluding the word "congratz."