mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2005
Posts: 4
A
Artanis Offline OP
Self-satisified door
OP Offline
Self-satisified door
A
Joined: Dec 2005
Posts: 4
Some time ago I posted a similar question, someone replied that this script should do the job:

Code:
on *:TEXT:*:#channel:{

  if ($cid == 1) scid 2 msg #channel_2 < $nick > $1-

}
 

And it does, but it doesn't copy the text that I write.

The question is: is there any way to copy my own text to a channel in a different server/network?

Sorry for my bad English.

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
That script is exploitable. Replace it with this:

Code:
on *:TEXT:*:#channel:{
  if ($cid == 1) {
    scid 2 
    msg #channel_2 < $nick > $1-
  }
}


To do your own text try this:

Code:
on *:input:#channel:{
  if ((!$istok(/ $readini($mircini,text,commandchar),$left($1,1),32)) || ($ctrlenter)) && ($cid == 1) {
    scid 2
    msg #channel_2 < $me > $1-
  }
}

Joined: Dec 2005
Posts: 4
A
Artanis Offline OP
Self-satisified door
OP Offline
Self-satisified door
A
Joined: Dec 2005
Posts: 4
Thanks, It worked perfectly ^^

Joined: Apr 2003
Posts: 24
S
Ameglian cow
Offline
Ameglian cow
S
Joined: Apr 2003
Posts: 24
I would use this

scon -at1 if $!network == DalNet && $!me ison #channame { msg #channame $1- }

you need to change the network name of course and the channame

instead of

scid 2
msg #channel_2 < $nick > $1-

scid 2 means that you would always have to make a concious effort to connect to the networks in a specific

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881


Link Copied to Clipboard