Code: Select all
# List of channels to relay between (lower case only!)
set channelList "#(P2P-Channel) #(Rizon Channel)"
# This identifies the server information of the two networks you wish to
# relay to each other. There are three entries in each and they are as
# follows:
# 0 - A unique pattern in each of the servers you use on a particular
# network. (ex. all SorceryNet servers contain the word "sorcery"
# in them, but none of the DALnet servers use this.)
# 1 - The name of the network as you'd like it to appear on the *other*
# network (ex. <Dal-Bot> [SorceryNet] <Nickname> hi there everyone on
# DALnet :))
# 2 - The name of the bot which sits on the *other* network. (The bot you
# want the informaiton sent *to*)
set server1List "P2P P2P-NET (RizonBot)"
set server2List "Rizon Rizon (P2PBot)"
Code: Select all
[06:24:35] Tcl error [send_pubm]: bot is not on the botnet
[06:24:35] clink.tcl: Warning: bot CypeTech not linked.
Code: Select all
#################################################
# Configuration
#################################################
#
# Note: I was relaying #clink.qc(Quebec-Chat) #clink.io(Ionical) and
# #clink.un(Undernet) all together (those 3 eggdrops where using the
# same .tcl source).
#
# CLink-QC on Quebec-Chat, CLink-IO on Ionical and CLink-UN on Undernet.
#
# Nickname (botnet-nick) of the bots who are involved in the relaying.
# Enter all of them, case-sensitive.
#
set clink_botnicks {"Siri^" "CyperTech"}
#
# The channel(s) you want to relay messages from and the bot that is on.
#
# You need to "set network 'Network-Name'" in your bot(s) .conf file.
# If you don't want to waste time searching what you put there, simply
# .rehash your bot with clink.tcl loaded and you should see something like:
#
# clink.tcl: I am CLink-UN running on Undernet.
# --- Network-Name -------------------^^^^^^^^
# Loaded clink.tcl: {SImPhAt} Channel Linker v1.x
#
# Case-sensitive.
#
# Syntax: set clink_onchan(#chan@network) "bot-name"
set clink_onchan(#eqla3@P2P-Net) "Siri^"
set clink_onchan(#satorrent@Rizon) "CyperTech"
#set clink_onchan(#clink.qc@Quebec-Chat) "CLink-QC"
#
# The channel(s) where you want the messages to be relayed.
#
# For each channels you need to tell where you want everything
# to be sent to.
#
# Case-sensitive.
#
# Syntax: set clink_relayto(#from_chan@network1) {"#destination_chan@network2"}
set clink_relayto(#cyper@P2P-Net) {"#netpad@Rizon"}
set clink_relayto(#netpadt@Rizon) {"#cyper@P2P-Net"}
#set clink_relayto(#clink.qc@Quebec-Chat) {"#clink.io@Ionical" "#clink.un@Undernet"}
#
# Should we add colors to join, part, nick, quit,
# action, etc.
#
set clink_usecolor 1
#
# Do you want me to display the network name?
#
set clink_relaynet 1
#
# Characters to use when displaying the nicknames in channels msgs.
#
# Exemples:
# <Nickname> hello
# set clink_charmsgs {"<" ">"}
#
# (Nickname) hello
set clink_charmsgs {"(" ")"}
#
i did edite the script , but i couldnt make it workCrazyCat wrote:You can have a look on http://scripts.eggdrop.fr/details-ChanRelay-s1.html , it allows having different channel names.
Code: Select all
Tcl error in file 'eggdrop.conf':
[16:05:53] unknown or ambiguous subcommand "#eggdrop.fr": must be blocked, close, configure, copy, create, eof, event, flush, gets, names, pending, postevent, puts, read, seek, tell, or truncate
while executing
""chan" "#eggdrop.fr""
(in namespace eval "::crelay" script line 23)
invoked from within
"namespace eval crelay {
variable regg
variable default
variable userlist
set regg(Siri^) {
"chan" "#eqla3"
"ne..."
(file "scripts/chanrelay3.t
[16:05:53] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
[03] [0] OK Disconnected
so my editing is correct ?CrazyCat wrote:I think it didn't like the "^" in Siri^.
Peharps a bug I'll have to correct, I did this script whithout thinking about botnicks with special characters.
Code: Select all
# Syntax:
# set regg(USERNAME) {
# "chan" "#CHANNEL"
# "network" "NETWORK"
#}
# with:
# USERNAME : The username sets in eggdrop.conf (case-sensitive)
# optionaly, you can override default values:
# * highlight (0/1/2/3): is speaker highlighted ? (no/bold/undelined/gray)
# * snet (y/n): is speaker'network shown ?
# * transmit (y/n): does eggdrop transmit his channel activity ?
# * receive (y/n): does eggdrop diffuse other channels activity ?
# * oper (y/n): does the eggdrop accept @ commands (topic, kick, ban) ?
#
# userlist(beg) is the sentence announcing the start of !who
# userlist(end) is the sentence announcing the end of !who
namespace eval crelay {
variable regg
variable default
variable userlist
set regg([color=red]BOTNAME[/color]) {
"chan" "[color=red]#P2P-NET CHAN[/color]"
"network" "P2P-NET"
"highlight" 0
"log" "y"
"oper" "y"
}
set regg([color=red]BOTNAME[/color]) {
"chan" "[color=red]#RizonCHAN[/color]"
"network" "Rizon"
"highlight" 3
"oper" "y"
}
set default {
"highlight" 1
"snet" "y"
"transmit" "y"
"receive" "y"
"log" "n"
"oper" "n"
}