Repositorio de scripts de irc.terrachat.cl desde los canales #TRAFFIC y #LATINWAREZ.
⬅️ Volveron *:TEXT:*:#LatinWarez:{
var %msg = $strip($1-)
var %lower = $lower(%msg)
; Frases disparadoras
if (%lower isin for my list of) || (%lower isin para mi lista de) || (%lower isin bandwidth usage) {
; Solo si el usuario no tiene voice ni es op
if ($nick ison $chan) && (!$nick isop $chan) && (!$nick isvoice $chan) {
mode $chan +v $nick
; Ruta del archivo
var %file = voicecount_ $+ $remove($chan,$chr(35)) $+ .txt
; Si no existe el archivo, crear con 0
if (!$isfile(%file)) {
write -c %file 0
}
; Leer, sumar y guardar nuevo contador
var %count = $read(%file)
inc %count
write -c %file %count
; Mensaje de agradecimiento
msg $chan Gracias, $nick, por compartir tu lista de archivos en $chan – ¡Voice otorgado!
msg $chan Thank you, $nick, for sharing in $chan – Voice granted!
msg $chan Total voices given: %count in the channel since 15/05/2025
}
}
}
👁️ 5 vistas • 📥 0 descargas