Quote:

1. what does this code do: ,$iif($target ischan,: $+ $v1),:) $1-
in 1st part (on notice), i mean why is it added for IF target is channel... in this case it never will be coz everything is in @window no?


That code is for display purposes only. If you receive a private notice, it will be displayed as -nick- text, but if you receive a notice on a channel it will be displayed as -nick:#channel- text, just like mIRC does.

Quote:

2. i changed this:
var %win = $+(@Notice.,$cid,.,$nick)

to this:
var %win = $+(@Notice $+ $chr(160) $+ $nick)
coz $chr(32) dont work...


Code:
 
on *:input:@:{
  if (@notice* iswm $active) {
    .notice $gettok($v2,[color:red]2[/color],[color:red]160[/color]) $1-
    echo -at $me $+ : $1-
  }
}


Quote:

and this also is not working :
(i get only empty name of log but content is there)


Code:
 
menu @notice* {
  Save Log: savebuf 1-200 $active $+(",$logdir,Misc\Notices\,$mkfn($gettok($active,2,160)),.log")
  -
  Close: window -c $active
}