View previous topic :: View next topic |
Author |
Message |
ComputerTech Master

Joined: 22 Feb 2020 Posts: 398
|
Posted: Sat Apr 18, 2020 8:39 am Post subject: (SOLVED) CrazyCat's ChanRelay.tcl |
|
|
Hey everyone i use CrazyCats ChanRelay.tcl Best Relay Script i have ever used.
But i have seen on some channels that the relay projects on the user list of both networks let me create a example below.
On Freenode Userlist
ComputerTech
ComputerTech/Dalnet
On Dalnet Userlist
ComputerTech
ComputerTech/Freenode
thats a example and idea i wouls like to put forward i hope you will add it in the future updates CrazyCat Cheers _________________ ComputerTech
Last edited by ComputerTech on Wed May 20, 2020 11:01 am; edited 1 time in total |
|
Back to top |
|
 |
ComputerTech Master

Joined: 22 Feb 2020 Posts: 398
|
Posted: Sat Apr 18, 2020 9:41 pm Post subject: |
|
|
sigh along with that i have tried these commands for chanrelay.tcl
@topic all (new topic right here)
and the other commands no error on partyline either
just nothing
any ideas a lot other users are demaning to know since they want to try the script  _________________ ComputerTech |
|
Back to top |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1108 Location: France
|
Posted: Sun Apr 19, 2020 2:53 am Post subject: |
|
|
Have you set "oper" to "y" in each configuration block and have you the +o flag for your chan in the eggdrop userlist ?
Code: | set regg(Excalibur) {
"chan" "#eggdrop"
"network" "Zeolia"
"highlight" 0
"log" "y"
"oper" "y" ### THIS FLAG ###
"syn_topic" "y"
}
bind pub -|o "@topic" [namespace current]::trans:otopic ### most be known as op ###
|
_________________ https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community. |
|
Back to top |
|
 |
ComputerTech Master

Joined: 22 Feb 2020 Posts: 398
|
Posted: Sun Apr 19, 2020 8:56 am Post subject: |
|
|
nope hehe stupid me thanks CrazyCat will try that after lunch _________________ ComputerTech |
|
Back to top |
|
 |
ComputerTech Master

Joined: 22 Feb 2020 Posts: 398
|
Posted: Sun Apr 19, 2020 10:53 am Post subject: |
|
|
hmm i have all the blocks like this
Code: |
set regg(Techer) {
"chan" "#computertech123"
"network" "Rizon"
highlight" 0
"log" "y"
"oper" "y"
"syn_topic" "y"
}
|
and still @topic all (new topic) doesn't work _________________ ComputerTech |
|
Back to top |
|
 |
ComputerTech Master

Joined: 22 Feb 2020 Posts: 398
|
Posted: Sun Apr 19, 2020 10:54 am Post subject: |
|
|
getting this error on this other bots
<Techer> [07:53:47] Tcl error [::crelay::recv:otopic]: missing operator at _@_
<Techer> in expression "...:crelay::reg($frm_bot)_@_(oper) != "y" " _________________ ComputerTech |
|
Back to top |
|
 |
ComputerTech Master

Joined: 22 Feb 2020 Posts: 398
|
Posted: Sun Apr 19, 2020 11:17 am Post subject: |
|
|
here is my current script it has some errors
http://paste.tclhelp.net/?id=6ik5
i did .chattr ComputerTech +o #channel
on each bot  _________________ ComputerTech |
|
Back to top |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1108 Location: France
|
Posted: Mon Apr 20, 2020 2:47 am Post subject: |
|
|
ComputerTech wrote: | getting this error on this other bots
<Techer> [07:53:47] Tcl error [::crelay::recv:otopic]: missing operator at _@_
<Techer> in expression "...:crelay::reg($frm_bot)_@_(oper) != "y" " |
When you got this error, can you do a .set errorInfo ?
I'll have a look on the script
EDIT
Ok, I put a beta component in my release, and it's buggy.
Just comment the following line (954 in the source you show):
Code: | if { $::crelay::reg($frm_bot)(oper) != "y" } { return 0; } |
I'll correct that soon. _________________ https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community. |
|
Back to top |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1108 Location: France
|
|
Back to top |
|
 |
ComputerTech Master

Joined: 22 Feb 2020 Posts: 398
|
Posted: Mon Apr 20, 2020 7:41 am Post subject: |
|
|
Cool, will try it in just a bit have to get a bite to eat first  _________________ ComputerTech |
|
Back to top |
|
 |
ComputerTech Master

Joined: 22 Feb 2020 Posts: 398
|
Posted: Mon Apr 20, 2020 2:47 pm Post subject: |
|
|
alright i used that updated chanrelay.tcl still getting this error when i type @topic all (new topic here)
<Tech> [18:46:48] Tcl error [::crelay::recv:otopic]: missing operator at _@_
<Tech> in expression "...:crelay::reg($frm_bot)_@_(oper) != "y" " _________________ ComputerTech |
|
Back to top |
|
 |
ComputerTech Master

Joined: 22 Feb 2020 Posts: 398
|
Posted: Mon Apr 20, 2020 3:24 pm Post subject: |
|
|
alright so on one bot it works but the other it does not still testing _________________ ComputerTech |
|
Back to top |
|
 |
ComputerTech Master

Joined: 22 Feb 2020 Posts: 398
|
Posted: Mon Apr 20, 2020 3:46 pm Post subject: |
|
|
hold on got two going now just need to get the freenode one going _________________ ComputerTech |
|
Back to top |
|
 |
ComputerTech Master

Joined: 22 Feb 2020 Posts: 398
|
Posted: Mon Apr 20, 2020 4:14 pm Post subject: |
|
|
sorry for so many posts but i have a good news update the commands
all work from a hub bot channel
not sure if thats what you made it to do
but thats how it is right now
tell me if thats how it should be
EDIT
----------------------------------------------------------------------------------------
so the hub bot can set +m on all the bots
but the other bots cant set any mode that normal?
slight problem when i do @topic all (new topic) it changes all the bots topic But it does this
* Tech has changed the topic to: yo
* Tech has changed the topic to: yo
* Tech has changed the topic to: yo
* Tech has changed the topic to: yo
* Tech has changed the topic to: yo
* Tech has changed the topic to: yo
* Tech has changed the topic to: yo
* Tech has changed the topic to: yo
over and over
any ideas why? _________________ ComputerTech |
|
Back to top |
|
 |
ComputerTech Master

Joined: 22 Feb 2020 Posts: 398
|
Posted: Mon Apr 20, 2020 5:02 pm Post subject: |
|
|
yay got all the bots to work except the topic problem it's still bugging
like keeps repeating  _________________ ComputerTech |
|
Back to top |
|
 |
|