Got it to whisper a code, delete the first line, and repeat.

I also set a cooldown.

Is there a way to keep the cooldown active even when mirc closes and restarts? Thanks!

Here it is as of now:

Quote:
on *:text:!key:#:{

if (!%comwait) {
set -u604800 %comwait 1
msg $nick $read(C:\Users\Matt\AppData\Roaming\mIRC\keys.txt, n, 1)
/write -dl1 C:\Users\Matt\AppData\Roaming\mIRC\keys.txt
}
else msg $chan Sorry $nick, you're only allowed 1 key a week! <3
}