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.

Channel +k [SOLVED]

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
h
holycrap
Op
Posts: 152
Joined: Mon Jan 21, 2008 11:19 pm

Channel +k [SOLVED]

Post by holycrap »

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.
User avatar
Sir_Fz
Revered One
Posts: 3793
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

.chanset #channel chanmode +nt
Don't mention the k mode at all.
h
holycrap
Op
Posts: 152
Joined: Mon Jan 21, 2008 11:19 pm

Post by holycrap »

.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.
c
cache
Master
Posts: 306
Joined: Tue Jan 10, 2006 4:59 am
Location: Mass

Post by cache »

Code: Select all

set global-chanmode "nt"
User avatar
Sir_Fz
Revered One
Posts: 3793
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

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).
c
cache
Master
Posts: 306
Joined: Tue Jan 10, 2006 4:59 am
Location: Mass

Post by cache »

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

Code: Select all

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.
User avatar
TCL_no_TK
Owner
Posts: 509
Joined: Fri Aug 25, 2006 7:05 pm
Location: England, Yorkshire

Post by TCL_no_TK »

chanset $chan chanmode +nt
should be

Code: Select all

channel set $chan chanmode +nt
c
cache
Master
Posts: 306
Joined: Tue Jan 10, 2006 4:59 am
Location: Mass

Post by cache »

TCL_no_TK wrote:
chanset $chan chanmode +nt
should be

Code: Select all

channel set $chan chanmode +nt
Thanks, I edited the script... not to bad on my part im learning :D
User avatar
TCL_no_TK
Owner
Posts: 509
Joined: Fri Aug 25, 2006 7:05 pm
Location: England, Yorkshire

Post by TCL_no_TK »

was great, sure you'll get the hang of it. dont give up! :wink:
Post Reply