| View previous topic :: View next topic |
| Author |
Message |
holycrap Op
Joined: 21 Jan 2008 Posts: 152
|
Posted: Sat Apr 26, 2008 3:25 am Post subject: Channel +k [SOLVED] |
|
|
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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sat Apr 26, 2008 4:35 am Post subject: |
|
|
| Quote: | | .chanset #channel chanmode +nt |
Don't mention the k mode at all. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
holycrap Op
Joined: 21 Jan 2008 Posts: 152
|
Posted: Sat Apr 26, 2008 7:19 am Post subject: |
|
|
.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 |
|
 |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Sat Apr 26, 2008 9:53 am Post subject: |
|
|
| Code: | | set global-chanmode "nt" |
|
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sat Apr 26, 2008 11:39 am Post subject: |
|
|
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 |
|
 |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Sat Apr 26, 2008 11:56 pm Post subject: |
|
|
Maybe something like this? (dunno if it works I just put it together, not sure bout $chan part might have to put room name)
| 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 |
|
 |
TCL_no_TK Owner

Joined: 25 Aug 2006 Posts: 509 Location: England, Yorkshire
|
Posted: Sun Apr 27, 2008 3:06 am Post subject: |
|
|
| Quote: | | chanset $chan chanmode +nt | should be | Code: | | channel set $chan chanmode +nt |
_________________ TCL the misunderstood |
|
| Back to top |
|
 |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Sun Apr 27, 2008 9:46 am Post subject: |
|
|
| 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  |
|
| Back to top |
|
 |
TCL_no_TK Owner

Joined: 25 Aug 2006 Posts: 509 Location: England, Yorkshire
|
Posted: Sun Apr 27, 2008 2:48 pm Post subject: |
|
|
was great, sure you'll get the hang of it. dont give up!  _________________ TCL the misunderstood |
|
| Back to top |
|
 |
|