naruto's away script

By naruto on Feb 28, 2005

nice away system just add to remote : (alt +r) , right click and "away"
enjoy!.

menu channel {
  Away 
  .$iif($group(#away) = off,Set Away on,Set Away off):{ if ($group(#away) = off) { var %x $$input(Set away on?,y) | if (%x == $true) { .enable #away } | else { halt } } | elseif ($group(#away) = on) { var %x $input(Set away off?,y) | if (%x == $true) { .disable #away } } } 
} 
#away off
on 1:OPEN:?:{
  msg $nick I'm  %away  Right now please dont disturb.
  msg $nick To beep me type !beep .
}
#away end 
menu channel {
  Away 
  .$iif($group(#beep) = off,Set beep on,Set beep off):{ if ($group(#beep) = off) { var %x $$input(Set beeping on?,y) | if (%x == $true) { .enable #beep } | else { halt } } | elseif ($group(#beep) = on) { var %x $input(Set beeping off?,y) | if (%x == $true) { .disable #beep } } } 
} 
#beep off
on 1:text:!beep*:?:{ /beep 5 }
#beep end 
menu channel {
  Away
  .Set Awaymsg:/set %away $$?="Enter newmsg"
  .Set Avaliblity of beeping:/set %beep $$?="Enter A / D" 
}
menu channel {
  Away
  .Notice away:/ame is away ( $$?="Enter Reason:" ) | /nick $$?="Enter away/offline nick" | /away Away.
  .Return away:/nick $$?="Enter online nick" | /away
}

Comments

Sign in to comment.
DarthReven   -  Feb 28, 2005

nice use of everything but you really don\'t need to do that all

 Respond  
naruto   -  Feb 28, 2005

enjoy!

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.