All pastes #824226 Raw Edit

rawr

public text v1 · immutable
·published 2007-12-19 21:20 UTC
rendered paste body
# marky-b's nick grabbing tcl script for eggdrops v1.0

# what nick do you want to grab?
set grabNick "Anubis"

# -------------------------------------------
# dont you dare edit anything below this line
# -------------------------------------------

# set to how many seconds between each grab attempt
# CAUTION: this may flood your bot offline if set to low!
set grabTimer 60

# This checks to see if your bot's nick is already what you want it to be
utimer grabTimer [list nickGrabber]

proc nickTry { grabNick } {
	if {$botnick == grabNick} {
		echo your nick is already $grabNick
	} else {
		echo attempting nick change
		## nick change line here ## 
	}
}