Cacao7w7

anuncios.tcl

Jun 27th, 2018
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. # Set your channel
  2. # su canal donde estara activa la tcl, puede usar muchos canales ejemplo #micanal1 #micanal2
  3. set send_chans "#Xpresion-Latina"
  4.  
  5. # Set Timer one line after X mins
  6. # tiempo de lanzamiento por lineas es por minutos defina por defecto esta cada 2 minutos
  7. set send_time "15"
  8.  
  9. # Set Your Messages. You can insert more messages caz is every X min an random message from the list..
  10. # coloque abajo los mensajes que lanzara el bot en tu canal
  11. set send_msg {
  12. "�� *���|Unete a nuestras redes Sociales. |�*�� Facebook --> https://www.facebook.com/XpresionLatinAR <-- Twitter �!�[ https://www.twitter.com/XpresionLatinAR]� Skype: �! @XpresionLatinAR"
  13. "Normas: No Flood (lineas,repeticiones) No Spam (webs, Canales, publicidad) No Datos (Email, telefonos, redes sociales) No Insultos (Usuarios/Moderadores) No Sexo (Ofrecimientos de sexo)"
  14. "ANUNCIO: �Te gustaria ser DJ de Xpresion-Latina? Pues.. �No Esperes Mas! Escribe/Digita/Tipea: /msg Onda-Mass !SerDJ"
  15. "�!�[���( Transmitiendo: [ Musica Continua ] * Sintonizanos Desde: [ www.malvadooo.xyz/ ] )���]�!�"
  16. }
  17.  
  18. #########################################
  19. #!!!!!!DO NOT EDIT AFTER THIS LINE!!!!!!#
  20. #########################################
  21.  
  22. if {![string match "*time_send*" [timers]]} {
  23. timer $send_time time_send
  24. }
  25.  
  26. # set a global variable to track the next line to say #
  27. if {![info exists send_next]} { set send_next 0 }
  28.  
  29. proc time_send {} {
  30. global send_msg send_chans send_time send_next
  31.  
  32. # save the msg line to say now #
  33. set nextline [lindex $send_msg $send_next]
  34.  
  35. # and advance the global var to the next msg line number #
  36. incr send_next
  37. if {$send_next >= [llength $send_msg]} { set send_next 0 }
  38.  
  39. if {$send_chans == "*"} {
  40. set send_temp [channels]
  41. } else {
  42. set send_temp $send_chans
  43. }
  44. foreach chan $send_temp {
  45.  
  46. puthelp "PRIVMSG $chan :$nextline"
  47.  
  48. }
  49.  
  50. # move the timer set and return to outside of the foreach loop #
  51. timer $send_time time_send
  52. return 1
  53.  
  54. }
Add Comment
Please, Sign In to add comment