Hey I am looking on how to make a certain script.
I know what I want but I don't know how to script it.
I am not asking you guys to do it for me I just want to know what i need to learn to make it. Baisically I want to make a script where my bot while sitting in a channel will every 5 mins or so scan that channel for a nick thats like "unknown100667". I am having a problem with a lot of those idleing in my channel and I just want to get rid of them. So every 5 min or so the bot scans the channel and if there is an unknown sets a name ban (/mode #chan +b Unknown100667) then kicks that nick.

Specificly what I would like to know is how to script the scan the names and look for unknown with any amount of numbers afterwards. Then to take that nick ban and kick it. So what /help topic do you guys reccomend?