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? |