mIRC Home    About    Download    Register    News    Help

Print Thread
I
indigoalien
indigoalien
I
on *:INPUT:#firstchannel: {
if ( $nick == mybuddy ) {
echo #secondchannel $nick said $1-
}
}


I'm not quite sure why the above doesn't work. Anyone have a suggestion for me?

Joined: Dec 2002
Posts: 1,999
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 1,999
Code:
on *:TEXT:*:#firstchannel: {
  if ($nick == mybuddy) {
    echo #secondchannel $nick said $1-
  }
}

I
indigoalien
indigoalien
I
ok, I've got that working for two channels that use one set servers.

Any idea on how to do that with one channel in the othernet.org and the second channel is in the financialchat.com group of servers?


Last edited by indigoalien; 30/04/07 06:27 PM.
Joined: Aug 2004
Posts: 7,168
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,168
Search Hawkee.com Snippets for a Relay script. There have been a number of them done, most of them containing multi-server relays.

D
D00M
D00M
D
Untested:

Quote:

on *:TEXT:*:#secondchannel: {
if ($network == secondnetwork) && ($chan == #secondchannel) {
var %text = $read(FILENAME,W,$+(*,$2-,*))
var %i = 1
var %netcnt = $scon(0)
while (%i <= %netcnt) {
if ($scon(%i).network == firstnetwork) {
scon $scon(%i)
msg yourbuddy $nick said $1-
}
inc %i
}
}
}



Connect to the first network then the second,change the red sections to suite the 2 networks/channels you are on.

Good luck wink

I
indigoalien
indigoalien
I
Thanks RusselB, but those scripts are far more complicated than anything I would want. Really, what RoCK provided is exactly what I need, but in a two server setting, one channel in each server system.

Thanks for the effort Doom, but no, that didn't do it either.

Indi

M
Midori
Midori
M
Code:
on *:text:*:#my_chan:{
  $iif(($nick == my_buddy) && ($network == net1),set -l %net $scid(0),halt)
  while (%net) {
    scon %net
    if ($network == net2) echo #my_chan $nick said $1-
    dec %net
  }
  scon -r
}


Tested.. it works, enjoy.

Last edited by Midori; 09/05/07 10:43 AM.

Link Copied to Clipboard