egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

(SOLVED) CrazyCat's ChanRelay.tcl
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 398

PostPosted: Sat Apr 18, 2020 8:39 am    Post subject: (SOLVED) CrazyCat's ChanRelay.tcl Reply with quote

Hey everyone i use CrazyCats ChanRelay.tcl Best Relay Script i have ever used. Very Happy

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 Very Happy Very Happy Cheers
_________________
ComputerTech


Last edited by ComputerTech on Wed May 20, 2020 11:01 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 398

PostPosted: Sat Apr 18, 2020 9:41 pm    Post subject: Reply with quote

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 Confused
_________________
ComputerTech
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CrazyCat
Revered One


Joined: 13 Jan 2002
Posts: 1108
Location: France

PostPosted: Sun Apr 19, 2020 2:53 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 398

PostPosted: Sun Apr 19, 2020 8:56 am    Post subject: Reply with quote

nope hehe stupid me thanks CrazyCat will try that after lunch
_________________
ComputerTech
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 398

PostPosted: Sun Apr 19, 2020 10:53 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 398

PostPosted: Sun Apr 19, 2020 10:54 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 398

PostPosted: Sun Apr 19, 2020 11:17 am    Post subject: Reply with quote

here is my current script it has some errors

http://paste.tclhelp.net/?id=6ik5

i did .chattr ComputerTech +o #channel

on each bot Smile
_________________
ComputerTech
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CrazyCat
Revered One


Joined: 13 Jan 2002
Posts: 1108
Location: France

PostPosted: Mon Apr 20, 2020 2:47 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
CrazyCat
Revered One


Joined: 13 Jan 2002
Posts: 1108
Location: France

PostPosted: Mon Apr 20, 2020 4:37 am    Post subject: Reply with quote

Can you try using the 3.11 version @ https://gitlab.com/tcl-scripts/chanrelay ?
_________________
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
View user's profile Send private message Visit poster's website
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 398

PostPosted: Mon Apr 20, 2020 7:41 am    Post subject: Reply with quote

Cool, will try it in just a bit have to get a bite to eat first Very Happy
_________________
ComputerTech
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 398

PostPosted: Mon Apr 20, 2020 2:47 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 398

PostPosted: Mon Apr 20, 2020 3:24 pm    Post subject: Reply with quote

alright so on one bot it works but the other it does not still testing
_________________
ComputerTech
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 398

PostPosted: Mon Apr 20, 2020 3:46 pm    Post subject: Reply with quote

hold on got two going now just need to get the freenode one going
_________________
ComputerTech
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 398

PostPosted: Mon Apr 20, 2020 4:14 pm    Post subject: Reply with quote

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 Smile


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
View user's profile Send private message Send e-mail Visit poster's website
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 398

PostPosted: Mon Apr 20, 2020 5:02 pm    Post subject: Reply with quote

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

like keeps repeating Wink
_________________
ComputerTech
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber