Advertisement
ZarTek-CREOLE

Untitled

Mar 30th, 2023
806
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 0.66 KB | None | 0 0
  1. CODE:
  2.  
  3. putlog "Adding channels to Bot ${::env(IRC_CHANNELS)} "
  4. foreach Channel [split ${::env(IRC_CHANNELS)} ,] {
  5.   putlog "Adding channel ${Channel} to Bot"
  6.   if { [lsearch [channels] ${Channel}] == "-1" } {
  7.     channel add ${Channel} {
  8.       idle-kick       0
  9.       stopnethack-mode   0
  10.       flood-chan       0:0
  11.       aop-delay       0:0
  12.     }
  13.   }
  14. }
  15.  
  16. OUTPUT:
  17.  
  18. Adding channels to Bot #Info,#Info.Add,#dev,#PECHO,#addinfo,#siteInfo,#newdir
  19. Adding channel #Info to Bot
  20. Adding channel #Info.Add to Bot
  21. Adding channel #dev to Bot
  22. Adding channel #PECHO to Bot
  23. Adding channel #addinfo to Bot
  24. Adding channel #siteInfo to Bot
  25. Adding channel #newdir to Bot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement