Note that when helping other people, one should be very careful to not give out dangerous code as is the case with your post. The scon/scid/timer commands etc. are very dangerous for exploits due to double evaluation of passed contents.

In your example:

scid 2 msg #channel <text>

is potentially very dangerous if one would be using this code to relay text from one server to another. If a person would type "| exit" without the quotes, your mIRC would exit. Mind that this is even quite an innocent command, one could easily format your hard drive...

To avoid this problem of double evaluation is very simple:

scid 2 | msg #channel <text>

or

scid 2
msg #channel <text>

or

var %text = <text>
scid 2 msg #channel % $+ text

etc. etc.


Gone.