This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

(SOLVED) CrazyCat's ChanRelay.tcl

Support & discussion of released scripts, and announcements of new releases.
User avatar
ComputerTech
Master
Posts: 399
Joined: Sat Feb 22, 2020 10:29 am
Contact:

(SOLVED) CrazyCat's ChanRelay.tcl

Post by ComputerTech »

Hey everyone i use CrazyCats ChanRelay.tcl Best Relay Script i have ever used. :D

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 :D :D Cheers
Last edited by ComputerTech on Wed May 20, 2020 11:01 am, edited 1 time in total.
ComputerTech
User avatar
ComputerTech
Master
Posts: 399
Joined: Sat Feb 22, 2020 10:29 am
Contact:

Post by ComputerTech »

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
User avatar
CrazyCat
Revered One
Posts: 1304
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

Have you set "oper" to "y" in each configuration block and have you the +o flag for your chan in the eggdrop userlist ?

Code: Select all

    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 ###
User avatar
ComputerTech
Master
Posts: 399
Joined: Sat Feb 22, 2020 10:29 am
Contact:

Post by ComputerTech »

nope hehe stupid me thanks CrazyCat will try that after lunch
ComputerTech
User avatar
ComputerTech
Master
Posts: 399
Joined: Sat Feb 22, 2020 10:29 am
Contact:

Post by ComputerTech »

hmm i have all the blocks like this

Code: Select all

 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
User avatar
ComputerTech
Master
Posts: 399
Joined: Sat Feb 22, 2020 10:29 am
Contact:

Post by ComputerTech »

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
User avatar
ComputerTech
Master
Posts: 399
Joined: Sat Feb 22, 2020 10:29 am
Contact:

Post by ComputerTech »

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
User avatar
CrazyCat
Revered One
Posts: 1304
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

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: Select all

if { $::crelay::reg($frm_bot)(oper) != "y" } { return 0; }
I'll correct that soon.
User avatar
CrazyCat
Revered One
Posts: 1304
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

Can you try using the 3.11 version @ https://gitlab.com/tcl-scripts/chanrelay ?
User avatar
ComputerTech
Master
Posts: 399
Joined: Sat Feb 22, 2020 10:29 am
Contact:

Post by ComputerTech »

Cool, will try it in just a bit have to get a bite to eat first :D
ComputerTech
User avatar
ComputerTech
Master
Posts: 399
Joined: Sat Feb 22, 2020 10:29 am
Contact:

Post by ComputerTech »

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
User avatar
ComputerTech
Master
Posts: 399
Joined: Sat Feb 22, 2020 10:29 am
Contact:

Post by ComputerTech »

alright so on one bot it works but the other it does not still testing
ComputerTech
User avatar
ComputerTech
Master
Posts: 399
Joined: Sat Feb 22, 2020 10:29 am
Contact:

Post by ComputerTech »

hold on got two going now just need to get the freenode one going
ComputerTech
User avatar
ComputerTech
Master
Posts: 399
Joined: Sat Feb 22, 2020 10:29 am
Contact:

Post by ComputerTech »

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
User avatar
ComputerTech
Master
Posts: 399
Joined: Sat Feb 22, 2020 10:29 am
Contact:

Post by ComputerTech »

yay got all the bots to work except the topic problem it's still bugging

like keeps repeating ;)
ComputerTech
Post Reply