This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
-
B
BoldFace
Post
by BoldFace »
How should I change these series of commands to get the bot to display all the lines of text instead of a random single line? This is what i have:
set printochan [lindex $adtext [rand [llength $adtext]]]
putserv "PRIVMSG $chan : $printochan"
Any help is appreciated.
-
Petersen
- Owner
- Posts: 685
- Joined: Thu Sep 27, 2001 8:00 pm
- Location: Blackpool, UK
Post
by Petersen »
foreach i $printochan {
putserv "PRIVMSG $chan :$i"
}
assuming that printochan is a proper tcl list