![]() |
ident,nick,host, doğrumu Kod: #otobot on Bu koda txt şeklinde muaf Host.. nick .. ident.. yapmak istiyorum. Nasıl devam etmeliyim.. nicklist için $nick ident için $site host için $.. ne olmalı . Tşk |
Cevap: ident,nick,host, doğrumu Öncelikle, otobot acmissin, ama sonunda #otobot end eksik. Kodun tamamini yazmadigin icin sanirim alti eksik geldi. Sadece haberin olsun diye demek istedim. Host Kisimlarini .txt den mi okutacaksin bilmiyorum, ama genelde muaf tutulacak Hostlar az oldugu icin onlari .txt degil degilde direk regex ile muaf edebilirsin. Örnek: Kod: if ($regex($address($nick,2),/(host1|host2|host3)/i)) { halt } |
Cevap: ident,nick,host, doğrumu Nick; Kod: if $regex($nick,/^(nick|nick1|nick2)$/i) { return } Kod: if $regex($token($token($address($nick,5),1,64),1,33),/^(ident|ident1|ident2)$/i) { return } Kod: if $regex($token($address($nick,5),2,64),/(host|host1|host2)/i) { return } Ayrıca #otobot on değil #otobot off olıcak. Yani; Kod: #otobot off |
Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 06:15. |
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