# NML_375 for some lessons in coding...
# Abraham for his ideas / suggestions, bug reports and countless tests
# ...
# and of course slennox for his netbots.tcl!
Please note that this component is fully compatible with netbots.tcl v3.10 - 3.30 by slennox
| cc_msgtype (default: "NOTICE") |
| Define here how you want the bot to talk to the users, by message (/msg) or by notice (/notice). |
| Valid settings: NOTICE or PRIVMSG (case sensitive) |
| |
| |
| cc_colourcontrol (default: 1) |
| Do you want to load colour control support? |
| Valid settings: 1 to enable, 0 to disable. |
| |
| cc_clc_chans (default: "") |
| List of channels you want your script to set +colourcontrol as a default. |
| Valid settings: one channel like "#donkeys", a list of channels like "#donkeys #cows #pigs", or "" to activate on all channels (except those listed in cc_clc_echans), "none" to deactivate on all channels |
| |
| cc_clc_echans (default: "") |
| List of channels in which you want the script to set -colourcontrol as a default. |
| Valid settings: one channel like "#donkeys", a list of channels like "#donkeys #cows #pigs", or "" to switch this off. |
| |
| cc_clc_flag (default: "f|f") |
| The flags for users who are allowed to use colours. Please note that permanent owner are always allowed to use colours. |
| Valid settings: set in globalflags|chanflags format (e.g. "f|f" means global OR channel friends, "f|-" means global friends only"), or set to "" to specify that no users are allowed to channel hop. |
| |
| cc_clc_bantime1 (default: 2880) |
| How long should a user get banned for third colour use? |
| Valid settings: x minutes or 0 to make it a permban |
| |
| cc_clc_bantime2 (default: 0) |
| How long should a user get banned for fourth and any further colour use? |
| Valid settings: x minutes or 0 to make it a permban |
| |
| cc_clc_note (default: "$owner") |
| Enter here a list of people who should be notified if the script bans somebody? |
| Valid settings: One or more handles, seperated by a blank " ". Leave completely blank to disable. |
| |
| cc_clc_part (default: 1) |
| Should the bot trigger on PART colour messages? |
| Valid settings: 1 to enable, 0 to disable. |
| |
| cc_clc_pubm (default: 1) |
| Should the bot trigger on PUBLIC (including ACTIONs) colour messages? |
| Valid settings: 1 to enable, 0 to disable. |
| |
| cc_clc_quit (default: 1) |
| Should the bot trigger on QUIT colour messages? |
| Valid settings: 1 to enable, 0 to disable. |
| |
| cc_clc_text (default: {"" "" ... "" ""}) |
| This variable stores all the messages which will be send via irc or note to the offending user. The sheme of this array is pretty simple: First, the 4 part messages are stored, then the 4 messages for public chatter are stored. The last 4 entries are for quit msg. These actually get delivered via the bot's note system to the user.
An example would look like this:
set cc_clc_text {"PART1" "PART2" "PART3" "PART4" "PUBM1" "PUBM2" "PUBM3" "PUBM4" "QUIT1" "QUIT2" "QUIT3" "QUIT4"}
|
| Valid settings: An array containing 12 lists, for each colour type 4. |
| |
| |
| cc_noautorejoin (default: 1) |
| Do you want to load no auto-rejoin support? |
| Valid settings: 1 to enable, 0 to disable. |
| |
| cc_nar_chans (default: "") |
| List of channels you want your script to set +noautorejoin as a default. |
| Valid settings: one channel like "#donkeys", a list of channels like "#donkeys #cows #pigs", or "" to activate on all channels (except those listed in cc_nar_echans), "none" to deactivate on all channels |
| |
| cc_nar_echans (default: "") |
| List of channels in which you want the script to set -noautorejoin as a default. |
| Valid settings: one channel like "#donkeys", a list of channels like "#donkeys #cows #pigs", or "" to switch this off. |
| |
| cc_nar_flag (default: "m|-") |
| The flags for users who are allowed to auto-rejoin. Please note that permanent owner are always allowed to auto-rejoin. |
| Valid settings: set in globalflags|chanflags format (e.g. "f|f" means global OR channel friends, "f|-" means global friends only"), or set to "" to specify that no users are allowed to channel hop. |
| |
| cc_nar_seconds (default: 6) |
| How long does a user have to stay off channel after being kicked before he can return savely without being punished for auto-rejoin? |
| Valid settings: x seconds |
| |
| cc_nar_bantime (default: 1) |
| How long should a user get banned for auto-rejoin? |
| Valid settings: x minutes or 0 to make it a permban |
| |
| cc_nar_bantype (default: 2) |
| You can use three different ban types in this script. You may ban either the user by nick (type 0, nick!*@*), by provider (type 1, *!ident@*.isp.com) or by his full qualified host mask (type 2, *!ident@port37.isp.com) |
| Valid settings: 0, 1 or 2 |
| |
| cc_nch_msg1 (default: "No Channel hopping please !") |
| Set here the second notice to the user. |
| Valid settings: A string enquoted by " |
| |
| |
| cc_nochanhopper (default: 1) |
| Do you want to load no channel hopper support? |
| Valid settings: 1 to enable, 0 to disable. |
| |
| cc_nch_chans (default: "") |
| List of channels you want your script to set +nochanhopper as a default. |
| Valid settings: one channel like "#donkeys", a list of channels like "#donkeys #cows #pigs", or "" to activate on all channels (except those listed in cc_nch_echans), "none" to deactivate on all channels |
| |
| cc_nch_echans (default: "") |
| List of channels in which you want the script to set -nochanhopper as a default. |
| Valid settings: one channel like "#donkeys", a list of channels like "#donkeys #cows #pigs", or "" to switch this off. |
| |
| cc_nch_flag (default: "f|f") |
| The flags for users who are allowed to channel hop. Please note that permanent owner are always allowed to channel hop. |
| Valid settings: set in globalflags|chanflags format (e.g. "f|f" means global OR channel friends, "f|-" means global friends only"), or set to "" to specify that no users are allowed to channel hop. |
| |
| cc_nch_seconds (default: 6) |
| How long does a user have to stay on channel before he may leave and wont be considered as a channel hopper? |
| Valid settings: x seconds |
| |
| cc_nch_bantime1 (default: 4320) |
| How long should a ban on seconds offense be active? |
| Valid settings: x minutes or 0 to make it a permban |
| |
| cc_nch_bantime2 (default: 14400) |
| How long should a ban on third and any further offense be active? |
| Valid settings: x minutes or 0 to make it a permban |
| |
| cc_nch_msg1 (default: "No Channel hopping please !") |
| Set here the second notice to the user. |
| Valid settings: A string enquoted by " |
| |
| cc_nch_msg2 (default: "We know you as channel hopper ! Banned for 2 days!") |
| Set here the second notice to the user. |
| Valid settings: A string enquoted by " |
| |
| cc_nch_msg3 (default: "Channel hopping again ? Banned for 10 days !") |
| Set here the third and last notice to the user. It will be redisplayed on all further offenses, too. |
| Valid settings: A string enquoted by " |