Right i cracked it!!!!

here was the problem:

on *:Dialog:Prot:init:0: {

if ($group( #anti.on ) == on) { did -c $dname 2 }

on *:dialog:Prot:sclick:2:{
if ($did(2).state == 0) { /anti.off | echo -a 1,3 4,1V1,3TEC 4,1§1,3cript® 8,4 Anti-Idle OFF. 1,3 4,1V1,3TEC 4,1§1,3cript® }
elseif ($did(2).state == 1) { /anti.on | echo -a 1,3 4,1V1,3TEC 4,1§1,3cript® 8,4 Anti-Idle ON. 1,3 4,1V1,3TEC 4,1§1,3cript® }
}

#anti.on
alias anti.on {
if (%idle != on) {
set %idle on
echo -a Anti Idle Is On.
}
else {
echo -a Anti Idle Is Already On.
}
}

alias anti.off {
if (%idle != off) {
set %idle off
echo -a Anti Idle Is Off.
}
else {
echo -a Anti Idle Is Already Off.
}
}

on *:Connect: {
.timeridle 0 1 anti
}

alias anti {
if (($idle >= 1 ) && (%idle = on)) {
msg $me ...
resetidle 1
}
}
#anti.on end

/me buys SladeKraven A Cold One. /timer 0 2 LOL

Last edited by Skeletor; 28/02/05 12:40 PM.