This is for the idle time devoice.
Add this to the remotes section:
alias devoidlers {
if (($1 ischan) && ($me isop $1)) {
var %idx 0
while (%idx < $nick($1,0)) {
inc %idx
if ($nick($1,%idx).idle >= 3600) {
kick $1 $nick($1,%idx) [message here]
}
}
}
}
That's the basic code that accomplishes the de-voicing anyone who's been idle for 60 minutes or more. This will kick the user, you can add a ban line before the kick line if you feel like it.
You have some options on how to use this;
a) use a timer [ex; /timerildechk 0 30 devoidlers #channel]
b) type /devoidlers in the channel window
c) make it a popup
d) there's plenty of more options as well [like on join, on rawmode, on quit, on kick, on ban, etc..]
This can get to be a bit complex for a beginner, depending on how you want it. Some questions that influence this are;
1 Do you want this to scan the channel every so many seconds when YOU join the channel?
2 Do you want to scan the channel through a channel popup?
AND SO ON...
Reading the mIRC helpfile will advance your knowledge in mIRC scripting and mIRC itself. Also look at other peoples code and whatnot, and last but not least, trial-and-error

*sighs* make that a forth time editing this, lol. I've been plowing/shoveling snow since 8am this morning and really haven't had much sleep, hah.