mIRC Homepage
Posted By: ThE_mASk SNotice Problem - 04/03/03 10:39 PM
I have this script:

Code:
on ^*:SNOTICE:*:{
  window -e @SNotices
  echo 11 @SNotices $1-
  haltdef
} 

to show me the Server Notices in different windows but when I write /quote help it displays this in the Status this error message:
-
[00:26:47] -irc.irc-server.net-
-
* /echo: insufficient parameters (line 82, s12.tms)
-
But also displays the help info in the SNotices... WHY ? confused
Posted By: Hammer Re: SNotice Problem - 04/03/03 11:21 PM
echo 11 @SNotices [SN] $1-
Posted By: ThE_mASk Re: SNotice Problem - 04/03/03 11:39 PM
10x
Posted By: Aubs Re: SNotice Problem - 05/03/03 12:56 PM
What's the difference between:

aline @Custom TEXT

and

echo @Custom TEXT

Is it that aline lets you change things eg colour of/delete/replace a line etc

Just curious, I'm sure I've asked someone before!! smile
Posted By: qwerty Re: SNotice Problem - 05/03/03 05:48 PM
With /echo, the line is treated like it was coming from the server, ie the switchbar icon is highlighted and if you have logging enabled for that @window, the line gets written in the log file. Neither of these happens if you use /aline.
Posted By: Hammer Re: SNotice Problem - 06/03/03 07:46 AM
In addition to what qwerty has said, there are some cases where you MUST use aline (such as filling a sorted list window) when you definitely do not want the text to wrap at all. For normal messages (even those you are reformatting), echo works best. For lists (like Channels List or Links List), echo works best.
© mIRC Discussion Forums