hi, i wanna make a jokebot for my channel:
on 1:TEXT:!joke:#: {
%num = $rand(1,5)
if (%num == 1) /msg $chan 1. joke
if (%num == 2) /msg $chan 2. joke
if (%num == 3) /msg $chan 3. joke
if (%num == 4) /msg $chan 4. Joke
if (%num == 5) /msg $chan 5. Joke
}
its working, but i dont know, how to make that: if some1 typed '!joke', then write the joke, but then dont write anything for 5 minutes if some1 types '!joke'.
plz help, and sorry for my english