mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2005
Posts: 2
S
Scombr0 Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
S
Joined: Jul 2005
Posts: 2
Ok, this is my question, i already looked it in the mirc.hlp and didn't find it...

As you know mIRC allows you to connect in 2 differents networks in a same mIRC, now the question i have is: how to send a message from one nick in a "network" to a channel in the "other network" but with the nick of the other network... i dont know if you get the idea. Let me explain with an example:

I connect SS in Undernet and SS2 in DALnet for example..

From DALnet's network i send a message (with a command like /msg) but the message must be said by SS in Undernet..

Did you get the point? If dont.. tell me i'll try to explain it again (my english is not so good)

that's the example.. i dont know if there is already something like that..

Ok, thanks in advance for reading this, bye! I wait for an answer asap smile

Joined: Feb 2003
Posts: 372
R
Fjord artisan
Offline
Fjord artisan
R
Joined: Feb 2003
Posts: 372
I'm afraid that's not possible - Nor is it possible to add that feature to mIRC.

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
This can be done using scripts. I've searched and found the following which I haven't tested, but should work.
You should've posted this in the Scripts & Pop-ups forum,

Code:
 ;Courtesy Yoinx on Hawkee
alias setchans { 
  set %relay.chan1 #channel1 
  set %relay.chan2 #channel2 
} 
on *:text:*:%relay.chan1: { 
  if ( $chan(#).cid == 1 ) { 
    scid 2 msg %relay.chan2 $timestamp  $($+(<,$nick,>)) $1- 
  } 
  if ( $chan(#).cid == 2 ) { 
    scid 1 msg %relay.chan2 $timestamp  $($+(<,$nick,>)) $1- 
  } 
} 
on *:text:*:%relay.chan2: { 
  if ( $chan(#).cid == 1 ) { 
    scid 2 msg %relay.chan1 $timestamp  $($+(<,$nick,>)) $1- 
  } 
  if ( $chan(#).cid == 2 ) { 
    scid 1 msg %relay.chan1 $timestamp  $($+(<,$nick,>)) $1- 
  } 
} 

on *:action:*:%relay.chan1: { 
  if ( $chan(#).cid == 1 ) { 
    scid 2 msg %relay.chan2 $timestamp  $nick $1- 
  } 
  if ( $chan(#).cid == 2 ) { 
    scid 1 msg %relay.chan2 $timestamp  $nick $1- 
  } 
} 
on *:action:*:%relay.chan2: { 
  if ( $chan(#).cid == 1 ) { 
    scid 2 msg %relay.chan1 $timestamp  $nick $1- 
  } 
  if ( $chan(#).cid == 2 ) { 
    scid 1 msg %relay.chan1 $timestamp  $nick $1- 
  } 
} 
on *:join:%relay.chan1: { 
  if ( $chan(#).cid == 1 ) { 
    scid 2 msg %relay.chan2 Joins: $nick $address($nick,5) 
  } 
  if ( $chan(#).cid == 2 ) { 
    scid 1 msg %relay.chan2 Joins: $nick $address($nick,5) 
  } 
} 
on *:join:%relay.chan2: { 
  if ( $chan(#).cid == 1 ) { 
    scid 2 msg %relay.chan1 Joins: $nick $address($nick,5) 
  } 
  if ( $chan(#).cid == 2 ) { 
    scid 1 msg %relay.chan1 Joins: $nick $address($nick,5) 
  } 
} 
on *:part:%relay.chan1: { 
  if ( $chan(#).cid == 1 ) { 
    scid 2 msg %relay.chan2 Parts: $nick $address($nick,5) 
  } 
  if ( $chan(#).cid == 2 ) { 
    scid 1 msg %relay.chan2 Parts: $nick $address($nick,5) 
  } 
} 
on *:part:%relay.chan2: { 
  if ( $chan(#).cid == 1 ) { 
    scid 2 msg %relay.chan1 Parts: $nick $address($nick,5) 
  } 
  if ( $chan(#).cid == 2 ) { 
    scid 1 msg %relay.chan1 Parts: $nick $address($nick,5) 
  } 
} 

on @*:mode:%relay.chan1: { 
  if ( $chan(#).cid == 1 ) { 
    scid 2 mode %relay.chan2 $1- 
  } 
  if ( $chan(#).cid == 2 ) { 
    scid 1 mode %relay.chan2 $1- 
  } 
} 
on @*:Mode:%relay.chan2: { 
  if ( $chan(#).cid == 1 ) { 
    scid 2 mode %relay.chan1 $1- 
  } 
  if ( $chan(#).cid == 2 ) { 
    scid 1 mode %relay.chan1 $1- 
  } 
} 
on @*:topic:%relay.chan1: { 
  if ( $chan(#).cid == 1 ) { 
    scid 2 topic %relay.chan2 $1- 
  } 
  if ( $chan(#).cid == 2 ) { 
    scid 1 topic %relay.chan2 $1- 
  } 
} 
on @*:topic:%relay.chan2: { 
  if ( $chan(#).cid == 1 ) { 
    scid 2 topic %relay.chan1 $1- 
  } 
  if ( $chan(#).cid == 2 ) { 
    scid 1 topic %relay.chan1 $1- 
  } 
} 
;courtesy Snooop on Hawkee
on *:kick:%relay.chan1: { 
  if ( $chan(#).cid == 1 ) { 
    scid 2 msg %relay.chan2 7<14AwesomeChat|#Chat7>  $knick $address($knick,5) Has Been Kicked Out. 
  } 
  if ( $chan(#).cid == 2 ) { 
    scid 1 msg %relay.chan2 7<14Topirc|#Cafe7> $knick $address($knick,5) Has Been Kicked Out. 
  } 
} 

on *:kick:%relay.chan2: { 
  if ( $chan(#).cid == 1 ) { 
    scid 2 msg %relay.chan1 7<14AwesomeChat|#Chat7>  Has Been Kicked Out 
  } 
  if ( $chan(#).cid == 2 ) { 
    scid 1 msg %relay.chan1 7<14Topirc|#Cafe7> $knick $address($knick,5) Has Been Kicked Out 
  } 
} 
 


The two scripters that actually wrote those codes have been referenced in remarked (;) statements

Joined: Jul 2005
Posts: 2
S
Scombr0 Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
S
Joined: Jul 2005
Posts: 2
So that means that when something happen in #channel1 in network "test1" it responses in #channel2 in network "test2".. right?

by the way.. i didn't post this in scripts section because i thought there was a command... sorry for that...

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
As best as I can tell, yes. As I said, other people did the scripting.

Joined: Feb 2005
Posts: 344
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Feb 2005
Posts: 344
/scid -a ame i know this command sends a message to ALL servers AND ALL rooms your in.
I have tryed it on another way.
Try this : /scid -a msg #roomname <message>

It worked for me wink
You only get the message that the nickname(the roomname you gave) is not online unless your in a room that has the same name on both servers.
In that case the message will be said in all the rooms with that name.

Joined: Feb 2003
Posts: 372
R
Fjord artisan
Offline
Fjord artisan
R
Joined: Feb 2003
Posts: 372
I think he wanted to send the message to the other network using his nick from the first network though. Which would require some sort of server interconnectivity and reserving the nick in advance on the other network.

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Yeah. You wouldn't be able to use your nick on one network to talk on another network without having that nick there as well.

Why? Because otherwise, I can send all kinds of messages to people using someone's nick while they are online and everyone would believe it was them.


Invision Support
#Invision on irc.irchighway.net
Joined: Feb 2005
Posts: 344
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Feb 2005
Posts: 344
So what your saying is you need to have the same name on both networks(servers) to send the msg ?
I tested it with 3 different names.
Example:
network(servers) i'm on:
server 1 rooms - a, b and c name = jack
server 2 rooms - d, e and f name = bill
server 3 rooms - g, h and i name = brandon

So now i'm connected to 3 servers using 3 names smile
Now jack wants to send a msg to server 3 room h.
he types: /scid -a msg #h good day to you all here.
The msg will be said by brandon in room h.

Joined: Feb 2003
Posts: 372
R
Fjord artisan
Offline
Fjord artisan
R
Joined: Feb 2003
Posts: 372
Um no, he's saying that he wants to have the same name on all servers, although he doesn't.

Joined: Apr 2004
Posts: 871
Sat Offline
Hoopy frood
Offline
Hoopy frood
Joined: Apr 2004
Posts: 871
Quote:
I think he wanted to send the message to the other network using his nick from the first network though.

Actually, the original post makes pretty clear that that is not what he wanted.


Saturn, QuakeNet staff
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Actually, that IS what he wants:

Quote:

I connect SS in Undernet and SS2 in DALnet for example..

From DALnet's network i send a message (with a command like /msg) but the message must be said by SS in Undernet..


He wants to use SS (Undernet's nick) on Dalnet rather than Dalnet's nick, which is SS2.

That's where the problem is. If he wanted to send a message on Dalnet from Undernet using Dalnet's nick, that wouldn't be hard. But, sending a message to Dalnet using Undernet's nick isn't possible afaik. smile


Invision Support
#Invision on irc.irchighway.net
Joined: Apr 2004
Posts: 871
Sat Offline
Hoopy frood
Offline
Hoopy frood
Joined: Apr 2004
Posts: 871
Quote:
how to send a message from one nick in a "network" to a channel in the "other network" but with the nick of the other network

DALnet is his active connection, and from there, he wants to let his Undernet connection say something on Undernet. Other network, other channel, other nickname. This is what /scid and /scon are for.

Granted, his example would have been more clear (but only marginally) if he had reversed the order of his words, like this..

Quote:
From DALnet's network i send a message (with a command like /msg) but the message must be said in Undernet by SS..


Saturn, QuakeNet staff
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
I still think that he means the other way... unless/until he returns, I guess we just wait. smile


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard