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.

way to hide cmnds in partyline from other users like .whois

General support and discussion of Eggdrop bots.
Post Reply
E
EnglishExpress
Halfop
Posts: 40
Joined: Tue Aug 14, 2007 1:28 am

way to hide cmnds in partyline from other users like .whois

Post by EnglishExpress »

Hey, how do I his what commands i'm using in partyline from other users currently on it, everytime I do what it's like

Code: Select all

<[afk]> .whois bleh
<MaJoR> [04:10] #[afk]# whois bleh

It shows everyone, can I hide what i'm doing? I heard something about using "`" lol
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

What you are talking about are console flags, that one being the flag 'c'. When you're on the party line, anything you type that doesn't start with a dot (.), a comma (,), or an apostrophe (') is considered to be broadcast to everyone else, just like talking on a channel. A message prefixed with a comma goes only to other bot owners (+n). A message prefixed with an apostrophe is sent to all users on the local bot only. You can change channels with the ".chat" command or even leave all channels with ".chat off".
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Code: Select all

.echo off
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Echo off would not affect what is shown to other connected clients.
As Yoohoo said, "'" and similar prefixes only affects text, and not command logging.

In order to prevent logging, you would have to either edit the logging-functions within the source, or replace each command with a tcl-proc that does the same operations minus logging.

A third option might be to restrict the use of the .console command, and force anyone's console-settings to not include 'c'. Something like this should do the trick fairly, although it will not allow anyone but owners (+n) to use the .console command at all:

Code: Select all

unbind dcc ot|o console *dcc:console
bind dcc n console *dcc:console

proc checkConsole {handle idx} {
 if {![matchattr $handle n]} {
  console $idx "-c"
 }
 return 0
}
bind chon - * checkConsole
NML_375
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

echo

echo <on/off>
Sets whether you want your messages echoed back to you. If it's on, then anything you say on the party line will be displayed to you just like everyone else will see it. If it's off, then that won't happen.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Re: way to hide cmnds in partyline from other users like .wh

Post by YooHoo »

EnglishExpress wrote:

Code: Select all

<[afk]> .whois bleh
<MaJoR> [04:10] #[afk]# whois bleh
this is clearly not an echo issue, it has to do with console. Echo is repeated back to the user that entered in the text, not to others in the partyline. EnglishExpress is trying to hide/mask commands entered into the partyline, which isn't so easily done.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Put it down to a "senior" moment. :lol:
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

:lol: so noted :lol:
Post Reply