Hello ! I use lastest version of eggdrop . I found in tcl arhive a nice script ... but i don`t know how to modify it .... the problem is that the tcl script is not configured for more texts in a channel . Just one text in channel . I paste here the entire tcl script ... Please help me !!! I`ve try to modify it 3 hours >>> No success ! PLEASE !!!
############################
#### ADV on Timer v.4 #####
# Whats new on v0.4 ? ############
# -Added on multiple text message!#
# Whats new on v0.3 ? #######################################
# -Added on multiple channel advertisment #
#########################################################################
# Credits: #
# Mainly to Egghelp.Org helpers on behalf helping solving out errors #
# Errors/comments/suggestions do please email me: boojingyou@hotmail.com#
# Do visit my personnal webby @ http://singnet.per.sg #
# For users who wanna chat with me, do loginto irc.GalaxyNet.Org #
# #JingYou . My Nickname would be JingYou. --Have fun-- #
################################################################################
# COLORS / BOLD #
# To make a text bold do this: \002TEXT-BOLD\002 #
# To make a text with colors do this: \00304TEXT-RED\003 (04 = red, e.g.) #
# To make a text with colors and bold do this: \002\00304TEXT-RED-BOLD\003\002 #
# Alternative, hit ctrl+k in IRC and copy paste in to dialog box. (RECOMMENDED)#
################################################################################
##### GENERAL SETTINGS ####
# EDIT the channel names or REMOVE one or two depending on which channel you intend the bot the advertise
set channel "#mychannel"
# Edit the time cycle which is in minutes format depending on the time intervals you want the bot to flow out the advertisment
set time 3
# EDIT the text or REMOVE or ADD lines including inverted commas at the starting and ending at each line
set text {
"My text ... advertised ... so ... its OK"
}
set text {
"another text that i`ve try to advertise ... The first text passed ... the 2nd line of text advertised I mean ... only this line advertised ... first line My text not advertised"
}
##### DO NOT EDIT ANYTHING BELOW THIS LINE UNLESS YOU KNOW WHAT YOU ARE DOING #####
if {[string compare [string index $time 0] "!"] == 0} { set timer [string range $time 1 end] } { set timer [expr $time * 60] }
if {[lsearch -glob [utimers] "* go *"] == -1} { utimer $timer go }
proc go {} {
global channel time text timer
foreach chan $channel {
foreach line $text { putserv "PRIVMSG $chan :$line" }
}
if {[lsearch -glob [utimers] "* go *"] == -1} { utimer $timer go }
}
putlog "\002Loaded Auto-ADV script by JingYou @ Galaxynet #JingYou (v.4 13nov03)\002"
----------------------
I`ve try to add "set text" >> "set text2" No success .... How can I resolve this ? Please help me !!!!
THANKS !!!