Okay, so I have been playing around with a couple of snippets to make an @window for when I get highlighted. I have a couple of questions that I hope you guys can help me out with.

Code:
(Got rid of this so it wouldn't stretch the page. I'm not using this anymore.


That works and will display the message in this way: [Timestamp][Channel]<Nick> Message. That's how I want it displayed in the @Highlights window. The only problem is that it will only work for my current nick.

Code:
on *:text:*:#:{
  var %x $me Draelor Nah`utal Nah'utal Drae Nick Sergeant SGT
  var %y $numtok(%x,32)
  while %y {
    if $wildtok($strip($1-),$token($+(*,%x,*),%y,32),1,32) {
      $iif(!$window(@highlights),window -ak0 @Highlights)
      echo @Highlights $timestamp $+ $chan $+ < $+ $nick $+ > $1-
    }
    dec %y
  }
}


That works but it will display the message in this way: [Timestamp]Channel<Nick> Message. I want to know how to get the brackets around the channel name like the first code does.

Also, I cannot figure out how to get this to work for when I am highlighted in an action message (/me message).

Can someone help me out?

Last edited by weedorcollege; 16/07/11 07:30 AM.