mIRC Home    About    Download    Register    News    Help

Print Thread
#84120 25/05/04 05:48 PM
Joined: Jan 2004
Posts: 19
L
Pikka bird
OP Offline
Pikka bird
L
Joined: Jan 2004
Posts: 19
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.

Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
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


"All we are saying is give peace a chance" -- John Lennon
Joined: May 2004
Posts: 50
Z
zaz Offline
Babel fish
Offline
Babel fish
Z
Joined: May 2004
Posts: 50
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.


zaz @ DALnet #mIRC http://www.mirc.org/ & #HelpDesk http://helpdesk.zaz.net/
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
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.


"All we are saying is give peace a chance" -- John Lennon
Joined: Jan 2004
Posts: 19
L
Pikka bird
OP Offline
Pikka bird
L
Joined: Jan 2004
Posts: 19
Thanks for all your help guys. laugh


Link Copied to Clipboard