Notice System

By corax on Oct 05, 2006

This will tell You something special. This code is for receiving and sending messages with Your menu bar on channel, so You may open window and on this window send and received them.
Simple use (ALT +R) and save there in New Remote.

;Enjoy with new noticing system. corax.
on ^*:notice:*:?: {
  haltdef
  window -ek0 @ $+ $nick $+ [corax-window]-> $+ $server
  echo $color(notice) @ $+ $nick $+ [corax-window]-> $+ $server Noticing-( $+ $asctime(HH:nn:ss) $+ ) < $+ $nick $+  > $1-
  writeini usernotice.ini @ $+ $nick $+ [corax-window]-> $+ $server Nick $nick
}
on *:input:@*[corax-window]*: {
  if ($left($1,1) != /) {
    .notice ! $readini(usernotice.ini, $active, Nick) $1-
    echo $active Noticing-( $+ $asctime(HH:nn:ss) $+ ) $1-
  }
}

menu nicklist {
  -
  Notice-System: { notice $$1 }
}
alias notice {
  if ($1 != !) {
    window -ek0 @ $+ $1 $+ [corax-window]-> $+ $server
    writeini usernotice.ini @ $+ $1 $+ [corax-window]-> $+ $server Nick $1
    if ($2 != $null) {
      .raw notice $readini(usernotice.ini, $active, Nick) $2-
    }
    echo @ $+ $1 $+ [corax-window]-> $+ $server Noticing-( $+ $asctime(HH:nn:ss) $+ ) $2-
  }
  else {
    raw notice $2-
  }
  goto end
  :error
  haltdef
  halt
  :end
}

Comments

Sign in to comment.
Yoinx   -  Oct 06, 2006

you should change your notice alias\'s name so it doesnt interfere with the built-in one.
ie:
I just want to send someone a quick notice. I type /notice yoinx blah.
This will create the window and everything else. Which isnt necessary until they respond. Same as doing /msg yoinx blah. It wont create a window until they respond

 Respond  
corax   -  Oct 06, 2006

Enjoy with new notice system, This will open for U one window. On this window U will be able to send and received some messages to some persons. Also You may open many of that kinds of windows (persons). Big plus of this is that U may type there like a normall message which will be see like notice message so..
You should knew how fast You will answer to the person You will notice.
Very usefull stuff. Fell free to vote it.

 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.