Advertisement
Guest User

Untitled

a guest
Jan 21st, 2020
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 1.69 KB | None | 0 0
  1. ######################################################################
  2. # SendMsg 1.0 - Send Messages to channels specified every X minutes  #
  3. #                                                                    #
  4. # Created by WPnL                                                    #
  5. # Report bugs to wpnl@lycos.co.uk                                    #
  6. # This script is freeware.                                           #
  7. # Feel free to edit it.                                              #
  8. ######################################################################
  9.  
  10. ### SETTINGS ###
  11.  
  12. # Channels where the msg is sent to.
  13. # If you want to use several channels put a space between them
  14. set channels "#FTPWarez"
  15.  
  16. # How often do you want the msg to be displayed (in minutes)
  17. set minutes 30
  18.  
  19. # Set your msgs here
  20. # \002 bold
  21. # \003 colour (ex: \0030,12 textcolor=0 white; backgroundcolor=12 blue)
  22. # \022 reverse
  23. # \037 underline
  24. # Write several lines for several msgs
  25. set msgs {
  26. "6w0rlocks Console Archive FTP 9*ONLiNE* <- -> 7Host -> 6w0rlock.dynu.net <- 7Port ->6 24458 <- 7Login -> 6FTPWarez <- 7Pass -> 6fbAvK4BZRn3Ry4pR <- -> 7Notes <- 6EXPLICIT SSL - Scene Console Archive. Stay in channel while downloading. Any requests or help /msg w0rlock. I am just a bot <-"
  27. }
  28.  
  29.  
  30. ### YOU ARE DONE NOW. YOU DON'T NEED TO EDIT ANYTHING ELSE FROM HERE ###
  31.  
  32. if {![info exists sendtext_running]} {
  33.  timer $minutes sendtext
  34.  set sendtext_running 1
  35. }
  36.    
  37. proc sendtext {} {
  38.  global channels minutes msgs
  39.  foreach channel $channels {
  40.   foreach msg $msgs {
  41.    putserv "PRIVMSG $channel :$msg"
  42.   }
  43.  }
  44.  timer $minutes sendtext
  45.  return 1  
  46. }
  47.  
  48. putlog "SendMsg 1.0 by WPnL Loaded"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement