Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set AnnounceChannel "#yourchannel";
- proc runFileLift {{file "file.txt}} {
- set f [open $file r];
- set fdata [read $file];
- foreach {line} [split $fdata "\n"] {
- putserv "PRIVMSG $AnnounceChannel :$line" -next;
- }
- }
- timer 600 [list runFileLift]
Advertisement
Add Comment
Please, Sign In to add comment