Selam.
bu kodu wilcard ekleme seklinde degisiklik yapabilirmiyiz mümkünse.
user583 nickini
user* *user* user??? gibi ekledigim zaman islem yapmıyor.
nicki oldugu gibi yazmak zorunda kalıyorum.
birde sormak istedigim. $9'un önünde ki +0 ne anlama geliyor acaba.
silsem sorun olurmu.
Kod:
#bott on
on *:snotice:*: {
if ($level($9) == muafnlist) { halt }
if ($level($9) == muafclist) { halt }
if $read(botnet.txt,w,$9) {
.enable #botn
.gzline $9 +0 Yasak
.msg %operchan İşlem 4 $9 1İp4 $gettok($gettok($10,1-2,41),2,64) 1İşlenen : 4Sc5/Botnet Zline!
.disable #botn
}
}
#bott end
alias botekle { if $1 { if $read(botnet.txt,w,$1) { msg %operchan $1 Botnet Nick'i zaten listede. | halt } | else { write botnet.txt $1 | msg %operchan $1 Botnet Nick'i listeye eklendi. } } }
alias botlist { var %s = 1,%ss = $lines(botnet.txt) | while %s <= %ss { msg %operchan $read(botnet.txt,%s) | inc %s } }
alias botsil { if $1 { if !$read(botnet.txt,w,$1) { msg %operchan $1 Botnet Nick'i listesinde yok. | halt } | else { write $+(-dl,$readn) botnet.txt | msg %operchan $1 Botnet Nick'i listesinden silindi. } } }