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 Previous  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
CrazyCat
Revered One


Joined: 13 Jan 2002
Posts: 1032
Location: France

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

Little slide effect... @topic must not be used with the syn_topic enabled, it makes a kind of larsen.

Gonna securize 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
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 393

PostPosted: Mon Apr 20, 2020 7:12 pm    Post subject: Reply with quote

alright awesome bro cheers Very Happy your new updated script works like a charm

i will show everyone your script truly is the best chanrelay script i have ever used Very Happy Cheers CrazyCat
_________________
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: 393

PostPosted: Mon Apr 20, 2020 9:54 pm    Post subject: Reply with quote

Wanted to say thanks again CrazyCat for fixing the script but I would like to request a add on for it,

When I do !relay on on the channel it's on it will link the bots and when I do !relay off it will unlink the bots

Or even make a tiny script that does a command in the party line when I type a command in the channel would be awesome B)
_________________
ComputerTech
Back to top
View user's profile Send private message Send e-mail Visit poster's website
nobody
Voice


Joined: 03 Apr 2020
Posts: 11

PostPosted: Tue Apr 21, 2020 1:33 am    Post subject: Reply with quote

the setup would be, they should be running on the same folder?
with different eggdrop config ( for diff network )?
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
CrazyCat
Revered One


Joined: 13 Jan 2002
Posts: 1032
Location: France

PostPosted: Tue Apr 21, 2020 3:58 am    Post subject: Reply with quote

ComputerTech wrote:
Wanted to say thanks again CrazyCat for fixing the script but I would like to request a add on for it,

When I do !relay on on the channel it's on it will link the bots and when I do !relay off it will unlink the bots

Or even make a tiny script that does a command in the party line when I type a command in the channel would be awesome B)

(un)link the bots using a relay command seems irrelevant to me, but I could probably add a command to stop/start the relay on a linked eggdrop (stop/start the transmission/reception and listen for relay on/off command in botnet).

nobody wrote:
the setup would be, they should be running on the same folder?
with different eggdrop config ( for diff network )?

You can have your eggdrops on different servers, the only 2 things you need are:

  • the eggdrops must be linked
  • the "config" part of chanrelay must be the same for each eggdrop (the better way is to copy your configured chanrelay.tcl to each scripts/ directory of all eggdrops in the relay).

_________________
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: 393

PostPosted: Tue Apr 21, 2020 9:39 am    Post subject: Reply with quote

yeah or a simple script as i said that i can edit say i set it that !boo will do
.chanset #channel boo

too make a configurable script Very Happy for me to easily edit
_________________
ComputerTech
Back to top
View user's profile Send private message Send e-mail Visit poster's website
asL_pLs
Voice


Joined: 02 May 2016
Posts: 18

PostPosted: Sat May 23, 2020 4:38 pm    Post subject: Reply with quote

CrazyCat wrote:
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 ###



is it possible with this script to relay only in one channel.


example:

network A to network B using the chanrelay script

for the channel activity, the activity is in network A and show to network B, however when network B have an activity it will not show to network A.



as of the moment, the scripts is both working with the channel activity on both channel in different networks.
Back to top
View user's profile Send private message AIM Address
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 393

PostPosted: Sun May 24, 2020 7:30 am    Post subject: Reply with quote

yeah there is use

Code:
/msg botnick recv pub off


for whatever channel you dont want it to recieve on of course you will need to do some other commands also i'll tell you them now

Code:

/msg botnickserv recv pub off
/msg botnickserv recv act off
/msg botnickserv recv nick off
/msg botnickserv recv join off
/msg botnickserv recv part off
/msg botnickserv recv quit off
/msg botnickserv recv topic off
/msg botnickserv recv kick off
/msg botnickserv recv mode off


also so far crazycats chanrelay.tcl has a bug of Not saving the above settings so if you rehash the bot you'll need to do these again, he should have a fixed version soon (i hope Razz )
_________________
ComputerTech
Back to top
View user's profile Send private message Send e-mail Visit poster's website
asL_pLs
Voice


Joined: 02 May 2016
Posts: 18

PostPosted: Sat May 30, 2020 8:33 am    Post subject: Reply with quote

thanks man. its working
Back to top
View user's profile Send private message AIM Address
asL_pLs
Voice


Joined: 02 May 2016
Posts: 18

PostPosted: Sat May 30, 2020 8:38 am    Post subject: Reply with quote

CrazyCat wrote:
Can you try using the 3.11 version @ https://gitlab.com/tcl-scripts/chanrelay ?



hello man..

instead of showing like this in the relay chan;

(BOtname@Undernet) text hereee




can we put same like this:

[Undernet] <bot-nick> text here
[Undernet] <nick> text here


I think this is only small changes from the scripts.


Thanks man.
Back to top
View user's profile Send private message AIM Address
CrazyCat
Revered One


Joined: 13 Jan 2002
Posts: 1032
Location: France

PostPosted: Fri Jun 05, 2020 6:59 am    Post subject: Reply with quote

Actually you can't, but I'll add this in next version.

Edit: done in 3.14 : 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
CrazyCat
Revered One


Joined: 13 Jan 2002
Posts: 1032
Location: France

PostPosted: Wed Jun 24, 2020 4:34 am    Post subject: Reply with quote

ComputerTech wrote:
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?


I add a small correction in 3.14.3 (https://gitlab.com/tcl-scripts/chanrelay)
Now, when an eggdrop receive a topic changement (using @topic or just beacause someone changes the topic on another linked channel), the topic bind is stopped for 10s.
_________________
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: 393

PostPosted: Wed Jun 24, 2020 8:18 am    Post subject: Reply with quote

Oooh Goody thats good to hear CrazyCat will give that a go Wink
_________________
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: 393

PostPosted: Thu Aug 13, 2020 3:15 pm    Post subject: Reply with quote

CrazyCat, your chanrelay.tcl works fantastic, thought when I try to set the colour of act's and mode
Code:

"col_act"   "lightred"
"col_jpq"   "lightblue"
"col_mode"  "green"


And I found the set colour variables
Code:

variable colors { "white" "\00300" "black" "\00301" "blue" "\00302" "green" "\00303"
      "lightred" "\00304" "brown" "\00305" "purple" "\00306" "orange" "\00307"
      "yellow" "\00308" "lightgreen" "\00309" "cyan" "\00310" "lightcyan" "\00311"
      "lightblue" "\00312" "pink" "\00313" "grey" "\00314" "lightgrey" "\00315" }


though when I try to change "col_act" "lightred" to "col_act" "lightblue" it doesn't seem to take affect, am I doing it wrong? or is this a slight glitch?

Cheers Cool
_________________
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: 1032
Location: France

PostPosted: Thu Aug 13, 2020 3:54 pm    Post subject: Reply with quote

No, it works, but you have to rehash the eggdrop.
_________________
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
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 Previous  1, 2, 3  Next
Page 2 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