![]() |
/forbid <nick> (nicke ait tüm kanalları yasaklama aliası) |
Post Reply ![]() |
Author | |
invertor ![]() Security Professional ![]() İnventor Joined: 18-01-2008 Status: Offline Points: 3365 |
![]() ![]() ![]() ![]() ![]() Posted: 26-12-2008 at 01:15 |
Addon: /forbid <nick> (nicke ait tüm kanalları yasaklama aliası)
Tarih: 07.05.2008 Çarşamba Yazan: Regex Not: Lütfen kullanacaksanız ya da farklı platformlarda paylaşacaksanız, yapımcı nickini kodun başında belirtin. - Açıklama: Bu alias sayesinde, belirttiğiniz kişiye ait tüm kanallar forbid (yasak) lenir. Kanalları, kişiye whois çekerek alır. Kullanıcının bulunduğu kanallarda ~ (successor) yetkisi varsa, o kanalı kişinin kabul eder ve işlem yapar. Örnek: Misal, Lanet nicki için komutu uyguladık (/forbid Lanet). Lanet, #Abz kanalında ~ (founder) konumunda. Bu durumda, mIRC'imiz bu kanalı forbidler ve kanalda bulunan tüm kullanıcılar kick edilir. Kanal, bu hadiseden sonra kullanılamaz (drop edilene kadar). İşte kod: Code: alias forbid if !$1 { echo Hata: Nick belirtmediniz. | halt } | whois $1 | .enable #forbid alias forbidx var %d = 1 | while %d <= $numtok($2-,32) { $iif($regex($gettok($2-,%d,32),^~),cs forbid $remove($gettok($2-,%d,32),~) $1 nickine ait tüm kanalların kullanımı yasaklanmıştır.) | inc %d } | .disable #forbid #forbid off raw *:*:haltdef | $iif($numeric == 319,forbidx $2 $3-) #forbid end Umarım, işinize yarayan bir kod olmuştur. Hepinize kolay gelsin. |
|
![]() |
Post Reply ![]() |
|
Tweet |
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |