the second one makes more sense to me, although i'm reading up on regex i think once i read about it a bit more i'll more than likely use that

Thanks
EDIT: also, how would i incorporate a cooldown into the first segment of code(the one with regex)? I have a basic cooldown snippet made I just can't seem to get it to work, i'd trying to get it to work on the second portion of the first segment where you can trigger a command to tell you how many times it's been used
if ((%floodcounter) || ($($+(%,floodcounter.,$nick),2))) { return }
set -u30 %floodcounter On
set -u40 %floodcounter. $+ $nick On