on *:text:!chuck*:#:{ msg $chan $iif(($2 isnum 1- $+ $lines(Jokes.txt)),$read(Jokes.txt,$2),$read(Jokes.txt)) }
works 100% thank you
works 100% thank you