Release your script here.
State:
- Author
- What it does
- Perhaps a little guide.
- Also, if the snippet is of any use to the community, it has a chance of getting posted on the main page, so don't hesitate to submit/ask!
by fraguk » Wed Jul 02, 2008 6:07 am
The script makes the bot cycle channel/s on a set time, with a part text IE, advertising your #channel / website or what ever you would like to put in the text.
Read the top of the script for help.
- Code: Select all
# cycle channel timer by FragUK requested by rezeeh #
# set timer to your Prefered time , defalt is set to 2 minits #
# use .chanset #channel +cyclechan to let the bot cycle this channel every 2 minutes. #
# you can also add a part message like this: #
# putserv "PART $chan :message here" #
# You can find me on irc Quakenet #fraguk #
# Website http://www.fraguk.com #
#######################################################################################
setudef flag cyclechan
if {[timerexists cycle:chans] == ""} {
timer 2 [list cycle:chans]
}
proc cycle:chans {} {
foreach chan [channels] {
if {[channel get $chan cyclechan]} {
putserv "PART $chan"
}
}
timer 30 [list cycle:chans]
}
putlog "cycle channel script by FragUK successfully loaded"
-
fraguk
-
by Szajbus » Tue Aug 25, 2009 6:15 pm
- Code: Select all
# cycle channel timer by FragUK requested by rezeeh #
# set timer to your Prefered time , defalt is set to 2 minits #
# use .chanset #channel +cyclechan to let the bot cycle this channel every 2 minutes. #
# you can also add a part message like this: #
# putserv "PART $chan :message here" #
# You can find me on irc Quakenet #fraguk #
# Website http://www.fraguk.com #
#######################################################################################
setudef flag cyclechan
if {[timerexists cycle:chans] == ""} {
timer 2 [list cycle:chans]
}
proc cycle:chans {} {
foreach chan [channels] {
if {[channel get $chan cyclechan]} {
putserv "PART $chan :Cycle Channel"
}
}
timer 30 [list cycle:chans]
}
putlog "cycle channel script by FragUK successfully loaded"
-
Szajbus
-
by zNigel- » Tue Aug 25, 2009 7:56 pm
Szajbus wrote:- Code: Select all
# cycle channel timer by FragUK requested by rezeeh #
# set timer to your Prefered time , defalt is set to 2 minits #
# use .chanset #channel +cyclechan to let the bot cycle this channel every 2 minutes. #
# you can also add a part message like this: #
# putserv "PART $chan :message here" #
# You can find me on irc Quakenet #fraguk #
# Website http://www.fraguk.com #
#######################################################################################
setudef flag cyclechan
if {[timerexists cycle:chans] == ""} {
timer 2 [list cycle:chans]
}
proc cycle:chans {} {
foreach chan [channels] {
if {[channel get $chan cyclechan]} {
putserv "PART $chan :Cycle Channel"
}
}
timer 30 [list cycle:chans]
}
putlog "cycle channel script by FragUK successfully loaded"
..?
-
zNigel-
-
by fraguk » Tue Aug 25, 2009 9:18 pm
o0
-
fraguk
-
Return to TCL Scripting Release
Who is online
Users browsing this forum: No registered users and 2 guests