On *:Start:{ .timer 0 60 chkidle }
alias chkidle {
var %minutes = [color:red]4
var %awaynick = Icehydro|Away
if (($idle >= $calc(%minutes * 60)) && (%awaynick != $me)) {
nick %awaynick
}
}
[/color]
The following will START when you run mIRC and every '60' seconds it will check if your $idle time is more than x minutes, if so, it will away nick you, edit the values in red to the values you want.
Note; typing anything into mIRC will reset your idle, so to test the script just add it to the remotes, restart mIRC, connect to a server, and sit and wait, also to make it quicker reduce '4' to '1' so your only waiting 60 seconds for the test.
Eamonn.