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 

All Eggdrop DCC commands in Private Message ?

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
mvp1
Voice


Joined: 27 Jan 2022
Posts: 22

PostPosted: Sun Mar 13, 2022 6:01 pm    Post subject: All Eggdrop DCC commands in Private Message ? Reply with quote

Hi guys,

I am wondering if there is a script out there that can enable to use ALL (Or as many as possible) DCC commands of an eggdrop to be used in eggdrop's private message ? Or Channel message please?

Because some time we could be at our office/work and can not DCC to eggdrop because of Office network Firewall, so it will be really helpful.

Cheers,
Back to top
View user's profile Send private message
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 398

PostPosted: Mon Mar 14, 2022 12:17 pm    Post subject: Reply with quote

Just curious, does office firewall also block telnet? if not, that could be a way to access your bot's partyline, and if it does, i have a Tcl script which provides public channel commands, however /msg ability hasn't been added yet, i'll try poke around and find it for you. Wink
_________________
ComputerTech
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mvp1
Voice


Joined: 27 Jan 2022
Posts: 22

PostPosted: Thu Mar 17, 2022 6:02 am    Post subject: Reply with quote

Hey ComputerTech, thanks mate.
Yes I can SSH using putty to the eggdrop shell if that's what you mean? How do you access the eggdrop's Partyline from Telnet/Putty? I searched briefly after your post but couldn't find anything, but would be great if you can quide or refer any post that helps to learn so? (Accessing partyline through ssh/telnet)

Also appreciate if you share your TCL you mentioned please.

Thank you
Back to top
View user's profile Send private message
BLaCkShaDoW
Op


Joined: 11 Jan 2009
Posts: 117
Location: Romania

PostPosted: Thu Mar 17, 2022 9:49 am    Post subject: BlackTools 2.5.5 - channel management script Reply with quote

You can try BlackTools 2.5.5 a channel control script that has a lot of commands that work trough channel/private message/dcc chat. Check it on https://github.com/tclscripts/BlackTools-TCL
_________________
BLaCkShaDoW Production @ WwW.TclScripts.Net
Back to top
View user's profile Send private message Send e-mail Visit poster's website
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1193

PostPosted: Thu Mar 17, 2022 10:49 am    Post subject: Reply with quote

mvp1 wrote:

... How do you access the eggdrop's Partyline from Telnet/Putty?

...


Let's consider two methods of using a telnet client to log into eggdrop's partyline.

First method: connect your client to bot

Look in your bot's eggdrop.conf file. Find:
Quote:

# You need to un-comment this line and change the port number in order to open
# the listen port. You should not keep this set to 3333.
#listen 3333 all


Whatever you set that port to be, is the telnet port you enter into your client to connect to. The ip you enter into your client is the ip of the bot. Typically, this is the ip of the shell.

Note: Eggdrop can accept incoming telnet like this. Eggdrop cannot use ssh.

This method may be blocked. Hopefully not by the shell that your bot is on.
But if you are at work or something, I wonder if it might be blocked somehow on your end.

Nothing to do but try it. Smile

If it fails, you might want to check the bot's eggdrop.log . Just to see if there is anything in it that might be a useful clue.


Second method: ssh to your bot's shell. On your bot's shell, run telnet there, and connect to your bot's ip:port.
This way, you are getting around your workplaces firewall. Smile
( I think you said that you CAN use ssh from your work )

It might look something like this, on the command line of the shell:
telnet 123.45.67.432 23400
where the port set with the listen command in eggdrop.conf is 23400.

If that fails, you could try:
telnet localhost 23400

Having to ssh to the shell first, and then telnet right back to the same ip but to a different port, is rather convoluted. But, if you have to... it works. Smile

Putty will do these things. I use it.
While I greatly prefer to use dcc chat to connect to my bots' partylines, I like to check to be sure that telnet is working - if possible - when I set up a new bot. Just in case I want/need it.

I hope this helps.
_________________
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
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