mIRC Homepage
Posted By: liam2maps Help with an on text script - 25/05/04 05:48 PM
Hello there. I was wondering if someone can help me with an on text script. Basically if someone were to query me that the whole query would be relayed to another user on IRC. For example I am talking to Bryan on IRC:

<Bryan> Hello liam

I would like the "Hello liam" relayed to another user. Is this possible. So far I have tried using the wildcard thing but with no success.

Any help is appreciated.
Posted By: Zyzzyx26 Re: Help with an on text script - 25/05/04 05:51 PM
Code:
on *:TEXT:*:?: .msg &lt;nick of the other user&gt; $1-

You mean something like this? Or you dont want the message to apper on your client at all?

Zyzzy. smile
Posted By: zaz Re: Help with an on text script - 25/05/04 10:52 PM
Code:
  on *:TEXT:*:?: .msg &lt;nick of the other user&gt; $nick messaged: $1-  


You might want to know who sent the message when you relay it to the other user. You can also use a DCC chat as the relay, just add an = before the nick of the user.

Example sending to a DCC to "zaz":

Code:
 on *:TEXT:*:?: .msg =zaz $nick messaged: $1-  


Good luck.
Posted By: Zyzzyx26 Re: Help with an on text script - 25/05/04 11:00 PM
Yeah.. posting the $nick might be a good idea *duh* :P

BTW.. when you reply to a post, note to whom you're replying the post for. On the top right corner of every post you can find a link called Reply (right next to Edit). When you click there, you are replying to that poster. smile

I bet that code was ment for liam2maps wink

Zyzzy.
Posted By: liam2maps Re: Help with an on text script - 28/05/04 02:37 PM
Thanks for all your help guys. laugh
© mIRC Discussion Forums