first, it is %chan, notice the 'var'? :P

second the window name can vary, depending on the channel
Code:
 ON ^*:JOIN:#: {
  if ($nick == $me) {
    ;window -h $chan
    window -enkvl12S +d $+(@,$chan) 0 51 1188 875
  }
  names $chan
}
ON ^*:TEXT:*:# {
  if ($($+(@,$chan),1)) {
    aline $($+(@,$chan),1) < $+ $nick $+ > $1-
  }
}
ON ^*:SNOTICE:*: {
  ;if ($($+(%,Oper.,$network),2)) {
  if (!$window($+(@,Server.,$network))) { window -nkvo +d $+(@,Server.,$network) 0 0 1188 59 }
  aline -hp $+(@,Server.,$network) $mytime 4 $+ $remove($1-,*** Notice -- $+ $Chr(32))
  halt
  ;}
}
ON 1:INPUT:@: {
  if ($mid($1,1,1) != /) {
    var %i = $($window,1)
    echo %i
    echo $window $mytime $Chr($Asc([)) $+ $me $+ $Chr($Asc(])) $1-
  }
}
now I'm a bit confused on how to get the input working...making it get the window name is my first convern, then I'll add the msg and such


NVM seems I was an idiot, I can just use $active XD
thanks for all the help

Last edited by NightQuest; 13/09/06 01:14 PM.