Tekil Mesaj gösterimi
Alt 25 Ocak 2010, 00:55   #1
Çevrimdışı
OptiK
Kullanıcıların profil bilgileri misafirlere kapatılmıştır.
IF Ticaret Sayısı: (0)
IF Ticaret Yüzdesi:(%)
Play Remotesi (Sock) YARDIM




Arkadaşlar ben bir bot hazırladım da,
Eğitim botu. Ama remotelerini kendim başlatıcakmış gibi client üzerinden ayarladım.
Yani ben öyle olacak sanıyordum. Daha sonra bir arkadaşıma sordugumda o remotelerle çalışmaz bot sunucuya atılacaksa dedi. Sock kodları ile yazılması lazım EGGDROP remoteleri dedi bot için. Bende Sock remotelerini bilmiyorum sizlere yazdığım remoteleri versem acaba bilen bir arkadaş Sock remotesi olarak bana yazabilir mi?

Üç remote var sadece.
İkisi aynı zaten hemen hemen.
Egitim konularını TXT olarak hazır bende.

1. Remote - TXT dosyalarını bütün userler yazınca başlatılsın ve durdurulsun.

on *:text:*:#KANALADI: {
if ($1 == !Egitim) { play $chan egitimkonulari.txt 2000 }
if ($1 == !Chanserv) { play $chan chanserv.txt 5000 }
if ($1 == !Nickserv) { play $chan nickserv.txt 5000 }
if ($1 == !Memoserv) { play $chan memoserv.txt 5000 }
if ($1 == !Helpserv) { play $chan helpserv.txt 5000 }
if ($1 == !Wildcard) { play $chan wildcard.txt 5000 }
if ($1 == !Who) { play $chan who.txt 5000 }
if ($1 == !Usercmds) { play $chan usercmds.txt 5000 }
if ($1 == !Umodes) { play $chan umodes.txt 5000 }
if ($1 == !List) { play $chan list.txt 5000 }
if ($1 == !Exceptions) { play $chan exceptions.txt 5000 }
if ($1 == !Chmodes) { play $chan chmodes.txt 5000 }
if ($1 == !Chmodef) { play $chan chmodef.txt 5000 }
if ($1 == !Bantype) { play $chan bantype.txt 5000 }
if ($1 == !Bhatalari) { play $chan bhatalari.txt 5000 }
if ($1 == !Ctcp) { play $chan ctcp.txt 5000 }
if ($1 == !Ignore) { play $chan ignore.txt 5000 }
if ($1 == !Says) { play $chan says.txt 5000 }
if ($1 == !ShowmIRC) { play $chan showmirc.txt 5000 }
if ($1 == !Timer) { play $chan timer.txt 5000 }
if ($1 == !Rutbe) { play $chan rutbe.txt 3000 }
if ($1 == !Dur ) { play stop | msg $chan Eğitim $nick tarafından durdurulmuştur. }
}


2. Remote - TXT dosyalarını sadece belirlediğim nickler başlatabilsin.

on *:text:*:#KANALADI: {
if ($nick == nick1) || ($nick == nick2) || ($nick == nick3) || ($nick == nick4) {
if ($1 == !Helpdesk) { play $chan helpdesk.txt 3000 }
if ($1 == !Globaldesk) { play $chan globaldesk.txt 3000 }
if ($1 == !Localdesk) { play $chan localdesk.txt 3000 }
if ($1 == !Oper) { play $chan oper.txt 3000 }
if ($1 == !Founder) { play $chan founder.txt 3000 }
}
}


3. Remote - Botun sunucuya girdiğinde otomatik identify etmesi.

on *:start: {
nick BOTNICK
identd on BOTIDENT
timer 1 1 /fullname Eğitim Botudur.
timer 1 3 /server irc.sunucuadi.com
}
on *:connect: { partall | timer 1 3 /MSG nickserv identify nicksifresi }


Şimdiden teşekkür ediyorum arkadaşlar.

 
Alıntı ile Cevapla

IRCForumlari.NET Reklamlar
sohbet odaları reklamver bizimmekan