/dnd

By Brandon on Feb 10, 2007

Type /dnd and it will stop pms, notices, and you cant see them talk in a channel... XD Its More Fun this way i think.

dnd {
  if ($1 == $null) {
    .echo -a *** Error! Please Enter a Nickname to ignore!
  }
  if ($1 != $null) {
    write ignore.mrc ******* DND $1 ******* 
    write ignore.mrc on *:open:?:{ if ($nick == $1 $+ ) { .msg $nick Closing pm... | .close -m $nick  } }
    write ignore.mrc on ^*:text:#: { If ($nick == $1 $+ ) { .echo $nick $1- | halt } }
    write ignore.mrc on ^*:notice:*:*: { If ($nick == $1 $+ ) { .echo $nick $1- | halt } }
    write ignore.mrc ******* DND $1 ******* 
    .echo -a *** To undo this, Goto Remotes and remote the line
    elseif (%dnd == off) {
      .echo -a *** Error! Please make sure DND Script is Turned ON! Syntax: /dnd on
    }
    if ($1 == on) {
      set %dnd on
      .echo -a *** DND Scripts is now Turned on... 
    }
    if ($1 == off) { 
      set %dnd off
      .echo -a $timestamp *** DND Script is now turned off...
    }
  }
}

Comments

Sign in to comment.
sinnercreed   -  Feb 10, 2007

\" .echo -a *** To undo this, Goto Remotes and remote the line \"
what is remoting a line :?

 Respond  
Lindrian   -  Feb 10, 2007

i see totally no use for this script o.o; (And u might wanna say that it shall be posted into the aliases, and not remotes)

 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.