Script Name:
ProblemNick
Version: 1.02.2
Author: SpiKe^^
Script Date: 01/09/2014
Category: Not specified
Downloads: 149
File Name:
ProblemNick_1.02.2.zip
Short Description:
Written for Undernet and other networks with no NickServ. This script makes it possible to have an Eggdrop grab and hold the a nick as soon as it becomes available, and release the nick to the correct person/bot on public command and/or automatically on-join.
Extended Description File
######################################################### 25aug14 #
## ProblemNick v1.02.2 problemnick.tcl for Eggdrop 1.6.15+ ##
###################################################################
# #
# ! USE AT YOUR OWN RISK ! #
# #
# Please report bugs or make comments at: #
# irc: undernet: #pc-mIRC-help #
# email: spike@mytclscripts.com #
# web site: http://www.mytclscripts.com #
# #
# Support Forum: #
# http://forum.egghelp.org/viewforum.php?f=3 #
# #
###################################################################
#########################################################################
## ##
## Script written for undernet, or any other network that doesn't have ##
## nick registration. We had a couple nicks people wanted to take, and ##
## they would flood the bot off undernet to take the nick. This script ##
## makes it possible to have another bot take the nick as soon as the ##
## bot with the problem nick leaves undernet, & give it back when that ##
## bot returns. Both bots need to be in a common channel. ##
## Also has public commands to control the HelperBot nick changes. ##
## ##
## Important:: THIS SCRIPT is LOADED on the HelperBot ONLY!! ##
## source scripts/problemnick.tcl (loads this script) ##
## ##
## Important:: Config File for the ProblemBot must be set properly! ##
## set keep-nick 1 (keep-nick must be turned on!) ##
## ##
## Note:: This script requires: All-Tools TCL (alltools.tcl) ##
## ##
#########################################################################
###################################################################
# #
# Version 1.02.2 Release Notes: #
# #
# First publicly available version of ProblemNick #
# #
# 1. Cleaned up the script some for public release. #
# 2. Wrote script documentation & settings descriptions. #
# #
###################################################################
###################################################################
## ProblemNick Version History ##
###################################################################
# Version 1.02.1 (12sep07) Script Notes: #
# #
# First complete working script (Never released publicly) #
# 1. Manual Nick-Swapping by public trigger w/ access flags. #
# 2. Auto-nick-swap Function w/ optional second try. #
# 3. Logging and/or Messaging all script info or just errors. #
###################################################################
# Version 1.01.1 (16aug07) Script Notes: #
# #
# First Proof-of-concept script. #
# #
###################################################################
#################################################################
####################### Script Settings #######################
#################################################################
## ProblemNick (the nick this bot wants to help keep)
set pnik(probnick) "Anaconda"
## ProblemBot's Handle (userfile name of the bot with the ProblemNick)
set pnik(pbothand) "Anaconda"
## Channel to watch for ProblemBot channel Joins and Public Triggers.
set pnik(pbotchan) "#YourChanneL"
######################### Manual Nick-Swapping #########################
## Public "Change to RealNick" Trigger (try to give the ProblemNick back)
set pnik(tornick) ".anaconda"
## Public "Change to ProblemNick" Trigger (try to get the ProblemNick)
set pnik(topnick) ".take"
## Flag required to use Public Nick Change Triggers.
set pnik(pubflag) "n"
######################## Auto-nick-swap Function ########################
## Special Auto-nick-swap Flag for ProblemBot.
## -> Add this flag to ProblemBot to enable Auto-nick-swap.
## Remove to disable.
## examples: .chattr anaconda +A :and: .chattr anaconda -A
set pnik(pbotflag) "A"
## Time to wait (in seconds), after ProblemBot has returned to the channel,
## before trying an Auto-nick-swap (try to give the ProblemNick back).
## "0" = disable the Auto-nick-swap function (just use Manual Nick-Swapping)
set pnik(chgtime) "120"
## Time to wait (in seconds), after giving up the ProblemNick,
## before taking the ProblemNick back.
set pnik(chktime) "8"
## Time to wait (in seconds), before Retrying an Auto-nick-swap.
## "0" = disable the Retry Auto-nick-swap function
set pnik(retime) "300"
## Time to wait (in seconds), after giving up the ProblemNick again,
## before taking the ProblemNick back.
set pnik(recktime) "8"
####################### Script Logging & Messaging #######################
## Send script progress Notes to Putlog? (can be seen in the console)
## "0" = send no script info (putlog off)
## "1" = send all script info to putlog
## "2" = send only problems and errors
set pnik(putlog) "1"
## Send script progress Notes by Private Message?
## "0" = send no script info (message off)
## "1" = send all script info by message
## "2" = send only problems and errors
set pnik(putmsg) "2"
## Nick to send messages to. ("" = off)
set pnik(msgnick) ""
#################################################################
##################### END Script Settings #####################
#################################################################