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 

Channel +k [SOLVED]

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


Joined: 21 Jan 2008
Posts: 152

PostPosted: Sat Apr 26, 2008 3:25 am    Post subject: Channel +k [SOLVED] Reply with quote

Does anyone know how to disable the eggdrop bot so that it doesn't mess with the +k mode? Everytime I set a key, it keeps -k on it. I don't want to set a key all the time, just only sometimes.

I have this for channel mode.

chanmode "+ntk"

set global-chanmode "ntk"

Thanks Guys!


Last edited by holycrap on Wed Jun 11, 2008 6:21 am; edited 1 time in total
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sat Apr 26, 2008 4:35 am    Post subject: Reply with quote

Quote:
.chanset #channel chanmode +nt

Don't mention the k mode at all.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
holycrap
Op


Joined: 21 Jan 2008
Posts: 152

PostPosted: Sat Apr 26, 2008 7:19 am    Post subject: Reply with quote

.chanset #channel chanmode +nt

The above was the default, it still doesn't work. What I'm I doing wrong? The server won't allowed me to use dcc commands. How do I edited the *.conf file?

Thanks.
Back to top
View user's profile Send private message
cache
Master


Joined: 10 Jan 2006
Posts: 306
Location: Mass

PostPosted: Sat Apr 26, 2008 9:53 am    Post subject: Reply with quote

Code:
set global-chanmode "nt"
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sat Apr 26, 2008 11:39 am    Post subject: Reply with quote

The global-chanmode setting won't affect the already saved channel-specific setting, you must use the .chanset DCC command (or use a script that can modify this setting).
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
cache
Master


Joined: 10 Jan 2006
Posts: 306
Location: Mass

PostPosted: Sat Apr 26, 2008 11:56 pm    Post subject: Reply with quote

Maybe something like this? (dunno if it works I just put it together, not sure bout $chan part might have to put room name) Embarassed

Code:

bind pub -|- !nt proc_nt

proc proc_nt { nick uhost hand chan text } {
  putquick "PRIVMSG $chan :Done.."
  channel set $chan chanmode +nt
}


Last edited by cache on Sun Apr 27, 2008 9:44 am; edited 1 time in total
Back to top
View user's profile Send private message
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Sun Apr 27, 2008 3:06 am    Post subject: Reply with quote

Quote:
chanset $chan chanmode +nt
should be
Code:
channel set $chan chanmode +nt

_________________
TCL the misunderstood
Back to top
View user's profile Send private message Send e-mail
cache
Master


Joined: 10 Jan 2006
Posts: 306
Location: Mass

PostPosted: Sun Apr 27, 2008 9:46 am    Post subject: Reply with quote

TCL_no_TK wrote:
Quote:
chanset $chan chanmode +nt
should be
Code:
channel set $chan chanmode +nt


Thanks, I edited the script... not to bad on my part im learning Very Happy
Back to top
View user's profile Send private message
TCL_no_TK
Owner


Joined: 25 Aug 2006
Posts: 509
Location: England, Yorkshire

PostPosted: Sun Apr 27, 2008 2:48 pm    Post subject: Reply with quote

was great, sure you'll get the hang of it. dont give up! Wink
_________________
TCL the misunderstood
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 -> 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