Bu kodi notify listeme göre nasıl yapabiliriz.
on *:join:%globalops: { write Takip\ $+ $nick $+ .txt $nick $date $time Online olmustur. }
on *:text:*:%globalops: {
if $1 == !takip { takip $chan $2 $+ .txt | cıkıs $chan $2 $+ .txt }
}
alias takip {
if ($findfile($shortfn($mircdirTakip),$2-,1)) { takipoku $1- }
else {
msg $1 Nickin Giriş anındaki takibi bulunamadı..
}
}
alias takipoku {
msg $1 $read(Takip\ $+ $2,1)
set %satirrt $readn
.timerokur 0 2 takipoku1 $1-
}
alias takipoku1 {
if (%satirrt == $lines(Takip\ $+ $2)) { .timerokur off }
else { inc %satirrt | msg $1 $read(Takip\ $+ $2,%satirrt) }
}
alias çıkışoku {
msg $1 $read(Çıkış\ $+ $2,1)
set %satirrc $readn
.timerokur 0 2 çıkışoku1 $1-
}
alias çıkışoku1 {
if (%satirrc == $lines(Çıkış\ $+ $2)) { .timerokur off }
else { inc %satirrc | msg $1 $read(Çıkış\ $+ $2,%satirrc) }
}
Arkadaşlar simdik bu kodu su sekle nasıl getirebiliriz düşündüm taşındım ugrastım olmadı en iyisi sizlere sormak dedim. Simdik bu koda söyle yapsak /takipekle nick dediğimizde nicki variablese %oplar nick1 nick 2 nick3 şeklinde diye kayıt edecek. 1 şey daha var bu variablesteki nickleri notify görecek yani servere giriş cıkıslarını kontrol edecez. kayıt tutarak takip.txt eklicek. Şimdiden tskler. Kolay gelsin. |