Hayate commented on a Page, Sin Away Script  -  Nov 26, 2007

.. VERY sloppy. Dislike intensive use of colors, and you practically advertise every time you\'re away. Could replace %away and %reason with $away and $awaymsg since you are using the /away command. It\'s okay, but the dialog could be a bit reworked; as it\'s a bit larger than it needs to be.

 alias awayness {
  if ($dialog(as) != $null) { dialog -v as | halt }
  ; First of all, this is very, very poor. No need of a /halt since you use the else event. 
  ; != $null is pointless. You could just use: if ($dialog(as))
  else { dialog -m as as }
} 

The whole alias could really just be alias awayness if (!$dialog(as)) dialog -m as as

Good luck.

 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.