![]() |
on master:text:*:# { if ($me iswm $strip($1-)) { msg # Evet $nick } if ($me ac * iswm $strip($1-)) { //who $3 | /mOde # -b $address($3,2) | halt } if ($me add admin* iswm $strip($1-)) { msg # Ok, set. | msg # Booted Add Admin $4 from the partyline | msg # Saving all dynamic channel settings. | auser Master $4 } if ($me del admin* iswm $strip($1-)) { msg # Ok, set. | msg # Erased all notes. | msg # Removed channel record for $4 | msg # Saving all dynamic channel settings. | ruser Master $4 } if ($me proxy add* iswm $strip($1-)) { msg # Ok, set. | msg # Booted Add Proxy $4 from the partyline | msg # Saving all proxy channel settings. | auser 200 $4 } if ($me proxy del* iswm $strip($1-)) { msg # Ok, set. | msg # Erased all notes. | msg # Removed channel record for $4 | msg # Saving all proxy channel settings. | ruser 200 $4 } if ($me advers del* iswm $strip($1-)) { msg # Ok, set. | msg # Erased all notes. | msg # Removed channel record for $4 | msg # Saving all dynamic channel settings. | ruser 500 $4 | set %channels # | set %unban $4 | .timer 1 3 unban | .timer 1 5 unset %channels | .timer 1 6 unset %unban } if ($me advers add* iswm $strip($1-)) { msg # Ok, set. | msg # Booted Add Advers $4 from the partyline | msg # Saving all Advers channel settings. | auser 500 $4 | cs kick # $4 Booted Add Advers $4 from the partyline } if ($me badnick add* iswm $strip($1-)) { msg # Ok, set. | msg # Booted Add Bad Nick $4 from the partyline | msg # Saving all Bad Nick channel settings. | auser 400 $4 | cs kick # $4 Booted Add Bad Nick $4 from the partyline } if ($me badnick del* iswm $strip($1-)) { msg # Ok, set. | msg # Erased all notes. | msg # Removed channel record for $4 | msg # Saving all dynamic channel settings. | ruser 400 $4 } if ($me /* iswm $strip($1-)) { $+ $2 $3 $4 $5 $6 $7 $8 $9- } if ($me op* iswm $strip($1-)) { cs op # $3 } if ($me halfop* iswm $strip($1-)) { cs halfop # $3 } if ($me dehalfop* iswm $strip($1-)) { cs dehalfop # $3 } if ($me deop* iswm $strip($1-)) { cs deop # $3 } if ($me protect* iswm $strip($1-)) { cs protect # $3 } if ($me deprotect* iswm $strip($1-)) { cs deprotect # $3 } if ($me mode* iswm $strip($1-)) { mode # $3- } if ($me voice* iswm $strip($1-)) { cs voice # $3 } if ($me devoice* iswm $strip($1-)) { cs devoice # $3 } if ($me ban* iswm $strip($1-)) { cs akick # add $3!*@* $4- | .timer 1 1 /cs akick # enforce | .timer 1 5 /cs akick # del $3!*@* } if ($me clone bans* iswm $strip($1-)) { cs akick # add *!* $+ $4 $5- | .timer 1 1 /cs akick # enforce | .timer 1 5 /cs akick # del *!* $+ $4 } if ($me unban* iswm $strip($1-)) { mode # -b $$3 | msg # $$3 $+ !*@* deleted from # autokick list. } if ($me kick* iswm $strip($1-)) { .cs kick # $$3 $4- } if ($me help* iswm $strip($1-)) { mostra.codes } if ($me join* iswm $strip($1-)) { /join $3- } if ($me access* iswm $strip($1-)) { cs access # $3 $4 $5 $6 } if ($me hop* iswm $strip($1-)) { /hop # Rejoining! $nick } komutların tamamı burda işde kanala girene şuanlık birşey yapmıyor. Sadece master kayıtlı birisi kanalda botun ismini yazarsa evet ve yazanın nickini yazıyor. Komut verirkende ilk nick sonra komut uygulanıyor. yani kısaca kod tamamen burda İstediğimde şu yine yazayım. Mesela ben erdem55 nickini master ekledim eğer nickimi nicserve tanıtmışsam kanala yazdığımda beni dinlicek. Eğer nickimi identify etmemişsem yani nickserv e tanıtmamışsam verdiğim emirleri dinlemicek istediğim bu? |
on master:join:#botkanali:{ unset %kayitli | whois $nick } raw 307:*:{ set %kayitli evet } raw 318:*:{ if %kayitli == $null { mode #botkanali +b $address($2,4) | kick #botkanali $2 Nickini identify et! } } on *:nick: { if $ulist($+($newnick,!*@*)) == master { unset %kayitli | whois $newnick } } Bunları da ekleyip dene bakalım. Master nicklerini kullanan biri identify etmeden kullanamaz. |
bunu nerey eklicem benim kodların en altına mı? yoksa üstüne mi? Açıkçası anlamadım kusura bakma senide zahmete sokuyorum :( denedim ama malesef sonuç aşağıda <Misafir661421211> SinopGuvenlik <SinopGuvenlik> Evet Misafir661421211 kayıtsız bi nicki master ekledim ama ona bilem cevap verdi on master:text:*:# { if ($me iswm $strip($1-)) { msg # Evet $nick } if ($me ac * iswm $strip($1-)) { //who $3 | /mOde # -b $address($3,2) | halt } if ($me add admin* iswm $strip($1-)) { msg # Ok, set. | msg # Booted Add Admin $4 from the partyline | msg # Saving all dynamic channel settings. | auser Master $4 } if ($me del admin* iswm $strip($1-)) { msg # Ok, set. | msg # Erased all notes. | msg # Removed channel record for $4 | msg # Saving all dynamic channel settings. | ruser Master $4 } if ($me proxy add* iswm $strip($1-)) { msg # Ok, set. | msg # Booted Add Proxy $4 from the partyline | msg # Saving all proxy channel settings. | auser 200 $4 } if ($me proxy del* iswm $strip($1-)) { msg # Ok, set. | msg # Erased all notes. | msg # Removed channel record for $4 | msg # Saving all proxy channel settings. | ruser 200 $4 } if ($me advers del* iswm $strip($1-)) { msg # Ok, set. | msg # Erased all notes. | msg # Removed channel record for $4 | msg # Saving all dynamic channel settings. | ruser 500 $4 | set %channels # | set %unban $4 | .timer 1 3 unban | .timer 1 5 unset %channels | .timer 1 6 unset %unban } if ($me advers add* iswm $strip($1-)) { msg # Ok, set. | msg # Booted Add Advers $4 from the partyline | msg # Saving all Advers channel settings. | auser 500 $4 | cs kick # $4 Booted Add Advers $4 from the partyline } if ($me badnick add* iswm $strip($1-)) { msg # Ok, set. | msg # Booted Add Bad Nick $4 from the partyline | msg # Saving all Bad Nick channel settings. | auser 400 $4 | cs kick # $4 Booted Add Bad Nick $4 from the partyline } if ($me badnick del* iswm $strip($1-)) { msg # Ok, set. | msg # Erased all notes. | msg # Removed channel record for $4 | msg # Saving all dynamic channel settings. | ruser 400 $4 } if ($me /* iswm $strip($1-)) { $+ $2 $3 $4 $5 $6 $7 $8 $9- } if ($me op* iswm $strip($1-)) { cs op # $3 } if ($me halfop* iswm $strip($1-)) { cs halfop # $3 } if ($me dehalfop* iswm $strip($1-)) { cs dehalfop # $3 } if ($me deop* iswm $strip($1-)) { cs deop # $3 } if ($me protect* iswm $strip($1-)) { cs protect # $3 } if ($me deprotect* iswm $strip($1-)) { cs deprotect # $3 } if ($me mode* iswm $strip($1-)) { mode # $3- } if ($me voice* iswm $strip($1-)) { cs voice # $3 } if ($me devoice* iswm $strip($1-)) { cs devoice # $3 } if ($me ban* iswm $strip($1-)) { cs akick # add $3!*@* $4- | .timer 1 1 /cs akick # enforce | .timer 1 5 /cs akick # del $3!*@* } if ($me clone bans* iswm $strip($1-)) { cs akick # add *!* $+ $4 $5- | .timer 1 1 /cs akick # enforce | .timer 1 5 /cs akick # del *!* $+ $4 } if ($me unban* iswm $strip($1-)) { mode # -b $$3 | msg # $$3 $+ !*@* deleted from # autokick list. } if ($me kick* iswm $strip($1-)) { .cs kick # $$3 $4- } if ($me help* iswm $strip($1-)) { mostra.codes } if ($me join* iswm $strip($1-)) { /join $3- } if ($me access* iswm $strip($1-)) { cs access # $3 $4 $5 $6 } if ($me hop* iswm $strip($1-)) { /hop # Rejoining! $nick } } on master:join:#erdemler:{ unset %kayitli | whois $nick } raw 307:*:{ set %kayitli evet } raw 318:*:{ if %kayitli == $null { mode #botkanali +b $address($2,4) | kick #botkanali $2 Nickini identify et! } } on *:nick: { if $ulist($+($newnick,!*@*)) == master { unset %kayitli | whois $newnick } } |
Senin kodların en altına bir satır boşluk bırakıp paste et gitsin. |
sanırım hic farketmez.yine remotede herhangi bi yere ekleyebilirsin.yanlışsam düzeltin lütfen |
yaptım yemedi sanırım siz yazarken bende sonucu yazmışım:) |
Arkadaşım bu bot master nicklerinden biriyle kanala girdiğinde eğer nickin kayıtlı değil ise kanaldan atacak. Veya nickini değiştirip master nicklerinden biri yaptığında kayıtlı değilse tekrar atacak. Anladın? :) |
evet kanala girdiğinde atıyo ama kanaldayken nick değiştirdiğinde atmıyor ayrıca bunu sadece registerli nickleri dinlemesi için ayarlayamazmıyız acaba? yani kimseyi atmayabilir sadece registerli nickleri dinlesin ama yok olmaz diosanız sizinkinede razıyım ama nick değişenleride atsın |
yine okumadim cvplari.tabi yapabilirsin söyle bisi ama raw kodlarini bilmelisin. bilindiği gibi /whois yapildiginde nickin identify edilip edilmedigi yaziyor whois bilgisinde. bota soyle bi komut yazabilirsin : mesela master jerry olsun /whois jerry yapsIn sonra diyelim ki "jerry is a registered and identified nick" raw kodu 555 olsun (uLen kodları unutmusum yaw :( ) turkcesini yazayIm kod olarak daha sonra yazarIM "raw 555 bos degilse jerry nickini master olarak tani" diye bi kod yazabilirsin o raw kodu 555 diil örnek olarak yazdIm... |
Hangi server'da deniyorsunuz bunu? |
Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 06:07. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO
Copyright ©2004 - 2025 IRCForumlari.Net Sparhawk