mIRC Home    About    Download    Register    News    Help

Print Thread
#147524 20/04/06 05:25 AM
Joined: Mar 2005
Posts: 74
K
KidSol Offline OP
Babel fish
OP Offline
Babel fish
K
Joined: Mar 2005
Posts: 74
Is it possible to make a script that can scan from a channel if that nick(only that nick) use bold, the script will copy that line of word that it post and paste it in a other channel?

like #channel A
<nick1> words goes here

it'll copy and paste it in another channel
#channel B
<bot> words goes here

could anyone help me out?

#147525 20/04/06 05:53 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Code:
 on *:text:*:#chanA:{
if ($nick == &lt;nick&gt;) &amp;&amp; ($strip($1-) == $strip($1-,b)) {
.msg #chanB $1-
}
}
 


Untested

#147526 20/04/06 07:06 AM
Joined: Mar 2005
Posts: 74
K
KidSol Offline OP
Babel fish
OP Offline
Babel fish
K
Joined: Mar 2005
Posts: 74
just tested, not working

#147527 20/04/06 05:17 PM
Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
Code:
 on *:text:*:#chan1: if ($nick == NICKHERE) &amp;&amp; ( isin $1-) msg #chan2 $1- 


* change #chan1, #chan2 & NICKHERE


Link Copied to Clipboard