This will make you invisible on everyone's nicklist beware though only use for a while....
No one com ment and ruin the fun, people new to scripting should learn.
Edit: now works and looks better all thanks to the commenter's.
menu * {
.$iif(%invisible == on,Turn off,Turn on) :{
if %invisible == on {
set %invisible off
echo Invisible mode is now off }
else {
set %invisible on
echo invisible mode is now on }
}
}
on *:INPUT:*:{
if %invisible == on {
echo -t $+(<,$nick($active,$me).pnick,>) $1-
haltdef
}
}