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.

Difference between /CHAT and /DCC - Corrupted Text

Old posts that have not been replied to for several years.
Locked
M
Mic

Difference between /CHAT and /DCC - Corrupted Text

Post by Mic »

Hi out there!

I searched but found nothing about this or did not find the right words:

If I connect to eggy with /dcc eggy all works fine.
But if I try to connect to eggy with /ctcp eggy chat I can auth myself but the whole "menu" and helpfiles (.help) are screwed up.

Examples:
With /DCC

Code: Select all

[18:49:47] Use .help for basic help.
[18:49:47] Use .help <command> for help on a specific command.
[18:49:47]  Use .help all to get a full command list.
[18:49:47]  Use .help *somestring* to list any help texts containing "somestring".
With /CTCP CHAT

Code: Select all

[18:48:06] Use [1m.help[0m for basic help.
[18:48:06]  Use [1m.help <command>[0m for help on a specific command.
[18:48:06]  Use [1m.help all[0m to get a full command list.
[18:48:06]  Use [1m.help *somestring*[0m to list any help texts containing "somestring".
So what's happening here?
Tested with 1.6.16 and .17 on 2 different computers.

Thank you in advance for any hints/help!

Greetings.
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

in reality, there are only 3 preset variables that control what you see when you dcc chat or telnet to the bot, you really should read what is inside of your ~/doc/text directory, and then adjust these variables to suit your needs.

Code: Select all

set motd "text/motd"
set telnet-banner "text/banner"
set use-telnet-banner 1
as you can see, eggdrop is prepared to use a different file for the motd and banner, but it is not mandatory. You can just as easily set telnet-banner "text/motd", or just set use-telnet-banner 0. Hope this helps :wink:
M
Mic

Post by Mic »

Ok, my fault and bad example with that banner.

Here what happens if I type .help:
/dcc eggy

Code: Select all

[20:50:33] <>  who away quit whom me
[20:50:33] <>  page match motd bots newpass
[20:50:33] <>  chat handle whoami echo strip
/ctcp eggy chat

Code: Select all

[20:48:26] <> [1m who away quit whom me[0m
[20:48:26] <> [1m page match motd bots newpass[0m
[20:48:26] <> [1m chat handle whoami echo strip[0m
You understand what I mean? With DCC the "control codes" (don't know if they are called so) show up correctly, else not. :(

Any hints?
s
spock
Master
Posts: 319
Joined: Thu Dec 12, 2002 8:40 pm

Post by spock »

.fixcodes
photon?
M
Mic

Post by Mic »

Thank you, it works!

For a single session. Is there a way to automate that (serverside)?

Because if I use pure telnet, the codes are okay.

I need this just for /ctcp eggy chat.
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

spock is right, .fixcodes will fix it for this time, but if you are looking for a more permanent fix, read the file entitled TEXT-SUBSTITUTIONS located in your eggdrop's ~/doc directory to understand what you must alter to completely fix :mrgreen:
M
Mic

Post by Mic »

Read, understood and helped nothing ;)

Thank you guys, .fixcodes works and the "Process ANSI Codes" in mIRC do also.

HAND!
Locked