brb Snippet

By irchainscriptz on Nov 02, 2008

Just a simple small away snippet brb with flood protection.

on *:input:*:{ 
  if (brb - ?* iswm $1-) scid -at1 away $3- 
} 
on $*:text:$($+(/(?<=^| ),$me,(?= |$)/x)):*:{ 
  if ($away) && (!%flood) { 
    inc -u5 %flood 
    msg $nick I am currently away: $awaymsg $+ , I have been gone for $duration($awaytime) 
  } 
} 

Comments

Sign in to comment.
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.