Dostum, düzeltmeyi unutmuşum koddaki $2 leri $nick yapmayı.
Kod: Kodu kopyalamak için üzerine çift tıklayın!
on *:text:!temizle:#: {
if ($nick isop $chan) {
if $read(takim.txt,w,$+($nick,$chr(11),*)) {
if be* iswm $gettok($read(takim.txt,w,$+ $nick $+ *),2,32) { set %temizchan $chan | temizlebjk }
elseif *fe* iswm $gettok($read(takim.txt,w,$nick $+ *),2,32) { set %temizchan $chan | temizlefb }
elseif *ga* iswm $gettok($read(takim.txt,w,$nick $+ *),2,32) { set %temizchan $chan | temizlegs }
elseif *tra* iswm $gettok($read(takim.txt,w,$nick $+ *),2,32) { set %temizchan $chan | temizlets }
}
else { .timer 50 0 msg $chan $chr(3) | .timer 1 2 msg $chan Kanal temizlenmistir. }
}
}
alias temizlebjk {
buraya beşiktaş temizlemesi.
}
alias temizlefb {
buraya fenerbahçe temizlemesi.
}
alias temizlets {
buraya trabzonspor temizlemesi.
}
alias temizlegs {
buraya galatasaray temizlemesi.
}
bu şekilde daha sağlıklı çalışacaktır. ayrica aliaslarda $chan yerine %temizchan kullanmalisin.