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 

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

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
EnglishExpress
Halfop


Joined: 14 Aug 2007
Posts: 40

PostPosted: Sat Aug 18, 2007 12:31 am    Post subject: way to hide cmnds in partyline from other users like .whois Reply with quote

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:
<[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
Back to top
View user's profile Send private message
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Sat Aug 18, 2007 9:14 am    Post subject: Reply with quote

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".
_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sat Aug 18, 2007 8:47 pm    Post subject: Reply with quote

Code:
.echo off

_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sun Aug 19, 2007 4:05 pm    Post subject: Reply with quote

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:
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, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Aug 19, 2007 10:04 pm    Post subject: Reply with quote

Quote:
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
Back to top
View user's profile Send private message Visit poster's website
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Sun Aug 19, 2007 11:02 pm    Post subject: Re: way to hide cmnds in partyline from other users like .wh Reply with quote

EnglishExpress wrote:
Code:
<[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.
_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Aug 20, 2007 12:40 am    Post subject: Reply with quote

Put it down to a "senior" moment. Laughing
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Mon Aug 20, 2007 9:07 am    Post subject: Reply with quote

Laughing so noted Laughing
_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help 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