Very Simple Relay to another servers

Platform:  mIRC
Published  Aug 22, 2011
Updated  Aug 23, 2011
Hello, this is my first snippet :)

HOV TO
1) Replace the FROMCHAN whit the chan you are relay'ing from.
2) Replace the TONETWORK whit the network name you are gonna relay to.
3) Replace the TOCHAN whts the chan you are gonna relay to.

If you have any problems, you can drop by Project-X.
Irc://Anonymous.dyndns.dk:6667/Xavia on *:text:*:#:{
if ($chan == #FROMCHAN) { scid $net(TONETWORK) msg #TOCHAN $1- }
elseif ($chan == #FROMCHAN) { scid $net(TONETWORK) msg #TOCHAN $1- }
elseif ($chan == #FROMCHAN) { scid $net(TONETWORK) msg #TOCHAN $1- }
}
alias net { var %netcount $scon(0)
while %netcount {
if ($scon(%netcount).network == $1) { var %netid %netcount }
dec %netcount
}
scon %netid return $!cid
}

Comments

Sign in to comment.
Xavia   -  Aug 23, 2011
Napa181, it will come on the update :)
 Respond  
napa182   -  Aug 23, 2011
maybe add actions, modes, bans, and kicks an so on so it can relay everything that is going on in said channel.
 Respond  
Matcou   -  Aug 22, 2011
You are missing a closing bracket for your on text event.
 Respond  
Xavia   -  Aug 22, 2011
I edited the snippet :)
 Respond  
Jethro   -  Aug 22, 2011
I edited my post above.
 Respond  
Xavia   -  Aug 22, 2011
Its work just fine in my bots, i have try thats, but so i have to make the same whit output, and then my bot went dead.


But on this way its work just fine,and makes the shell, nothing gets ignored.


/ Sorry my bad english
 Respond  
Jethro   -  Aug 22, 2011
I believe that only the first text event will trigger and the rest will be ignored. As far as I know you can only have one text event unless the match text triggers are different from one another.

Why not just do:
Code
 
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.