iWay away script

By Itaku on Nov 23, 2007

iWay by Itaku

HOW TO USE, its simple.

/iway <one word away reason that'll suffix your nick>
/iway when your back

Done.

NOTE: When it asks if you will bbs/bbl if you put yes it'll put a ^ between your main nick and your one word away reason
if you put anything else it'll put a - in between your main nickname and your one word away reason.

alias iway {
  if %iway == on { set %iway off | scid -a nick %nway | away | halt }
  window @ $+ $1
  set %away $1
  set %nway $$?="What do you want your nick to be once you come back from away?"
  set %iway on
  away %nway
  set %rway $$?="What should iWay say when someone sends you a pm?"
  if $$?="Will you bbl/bbs?" == yes { scid -a nick $mnick $+ ^ $+ $1 | halt }
  scid -a nick $mnick $+ - $+ $1
}
on ^*:TEXT:*:?:{ 
  if %iway == on {
    aline @ $+ %away $ PM FROM: $nick at $time $+ . Message: $1-
    if $nick == -sBNC halt
    if $nick == -psyBNC halt
    .msg $nick %rway
    halt
  }
}

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.