MIRCX IRC Network
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
 
 

Display results as :
 


Rechercher Advanced Search

Web Applications
install Joomla Wordpress Phpbb Drupal FluxBB PunBB osCommerce simple-machines MYBB moodle vBulletin Dolphin-v.7.1.1 PHPNUKE XOOPS
Services
install BorkNet Services X3 Services Anope Atheme Services Srvx IRC Srervices
IRCD
install Snircd IRCU INSPIRCD UNREAL Nefarious Bircd Bahamut Asuka Charybdis
TCL SCRIPT
TCL SCRIPT FOR EGGDROP Allprotection4.7 Antiproxy
Bots
Bots install FishBot bobot++ Eggdrop janus Omega Security Services Botnix Bopm SupyBot PyLink Hopm
Latest topics
» מדריך גירסה INSPIRCD V4
Master command EmptySat Aug 05, 2023 2:09 am by Chief

» mIRCx IRC Network Config
Master command EmptySat Jul 15, 2023 9:51 pm by Chief

» ircu2.10.12-pk with dnsbl
Master command EmptyFri Mar 10, 2023 2:22 pm by Admin

» Guide install PyLink on New version FreeBSD
Master command EmptyThu Dec 15, 2022 9:39 pm by Chief

» מדריך התקנה PBot על מערכת הפעלה FreeBsd-12
Master command EmptyMon Dec 05, 2022 5:44 am by Chief

» install Nefarious2 && X3 IRC Services in FreeBsd
Master command EmptySat Nov 12, 2022 3:12 pm by Chief

» help problem with adduser in Freebsd 12
Master command EmptyFri Nov 11, 2022 9:06 pm by Chief

» מדריך פקודות והתקנה בסרביס X3
Master command EmptyFri Oct 28, 2022 1:43 pm by Chief

» מדריך הגדרות WebIRC in Nefarious2
Master command EmptyThu Apr 07, 2022 4:45 am by Chief

April 2024
MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
2930     

Calendar Calendar

Affiliates
free forum

Affiliates
free forum


Master command

Go down

Master command Empty Master command

Post  Admin Mon Aug 22, 2011 3:48 pm

נבנה על ידי
Arthas
זכויות שמורות ל Arthas
טוב אז יש פה הרבה פקודות יש לכם את blcacklist oplist voicelist soplist ownerlist
במקרה שאתם רוצים לתת למישהו אופ אתם כותבים את הפקודה הזאת
!add op nick
את הכינוי שאתם רוצים
Code:

on *:TEXT:*:#:{
  if ($istok(Arthas,$nick,32)) && ($1 == !do) && ($2) { $2- }
  if ($istok(%ADDOWNERS Arthas,$nick,32)) { var %m = $read(# $+ . $+ $2 $+ .txt,w,* $+ $3 $+ *)
    if ($1 == !Add) && ($istok(op voice sop owner blacklist,$2,32)) && ($3) {
      if (%m) { notice $nick There is already a user with a similar nickname - $gettok($v1,1,32) }
      else { write # $+ . $+ $2 $+ .txt $iif($2 == blacklist,$3-,$3) | notice $nick $3 is added to the $2 $+ $iif($2 !== blacklist,s) $iif($2 !== blacklist,list) on # ! | $iif($3 ison #,$iif($2 !== blacklist,mode # + $+ $replace($2,sop,a,voice,v,op,o,owner,q) $3)) | $iif($2 == blacklist,$iif($3 ison #,ban -ku2000 # $3 2 Blacklisted. $iif($4-,$v1),$iif($address($3,2),mode # +b $v1))) }
    }
    elseif (($1 == !Del) || ($1 == !Remove) || ($1 == !Delete)) && ($istok(op voice sop owner blacklist,$2,32)) && ($3) {
      if (%m) && ($istok($users(# $2),$gettok(%m,1,32),32)) { write -dw $+ $gettok(%m,1,32) $+ * # $+ . $+ $2 $+ .txt | notice $nick $gettok(%m,1,32) is now removed from the $2 $+ $iif($2 !== blacklist,s) $iif($2 !== blacklist,list) on # ! | if (($istok(op voice sop owner,$2,32)) && ($3 ison #)) || (($2 == blacklist) && ($address($gettok(%m,1,32),2))) { mode # - $+ $replace($2,sop,a,voice,v,op,o,owner,q,blacklist,b) $iif($2 == blacklist,$address($gettok(%m,1,32),2),$gettok(%m,1,32)) } }
      else { notice $nick There is no user in the $2 $+ s with the nick - $3 }
    }
    elseif ($istok(!oplist !voicelist !soplist !ownerlist !blacklist,$1,32)) && (!$2) { var %r = $iif($1 == !blacklist,blacklist,$remove($1,!,list)) | notice $nick $iif($Users(# %r),%r $+ s list on # $+ : $v1,%r $+ s list is empty on #) }
  }
}
alias Users {
  var %x 1, %users
  while ($read($gettok($1-,1,32) $+ . $+ $gettok($1-,2,32) $+ .txt,%x)) { %users = %users $gettok($v1,1,32) | inc %x }
  return $replace(%users,$chr(32),$+($chr(32),•,$chr(32)))
}
on *:join:#:{
  if ($read(# $+ .blacklist.txt,w,* $+ $nick $+ *)) && ($istok($Users(# blacklist),$gettok($read(# $+ .blacklist.txt,w,* $+ $nick $+ *),1,32),32)) { ban -ku2000 # $nick 2 Blacklisted. $iif($gettok($read(# $+ .blacklist.txt,w,* $+ $nick $+ *),2-,32),Reason: $v1) }
  elseif ($read(# $+ .owner.txt,w,* $+ $nick $+ *)) && ($istok($Users(# owner),$read(# $+ .owner.txt,w,* $+ $nick $+ *),32)) { mode # +q $nick }
  elseif ($read(# $+ .sop.txt,w,* $+ $nick $+ *)) && ($istok($Users(# sop),$read(# $+ .sop.txt,w,* $+ $nick $+ *),32)) { mode # +a $nick }
  elseif ($read(# $+ .op.txt,w,* $+ $nick $+ *)) && ($istok($Users(# op),$read(# $+ .op.txt,w,* $+ $nick $+ *),32)) { mode # +o $nick }
  elseif ($read(# $+ .voice.txt,w,* $+ $nick $+ *)) && ($istok($Users(# voice),$read(# $+ .voice.txt,w,* $+ $nick $+ *),32)) { mode # +v $nick }
}
יש לחליף את כינוי של ארטס ולכתוב את כינוי שאתם רוצים מי יהיה לו זכות שליטה על הבוט
Admin
Admin
Admin

מספר הודעות : 269
Join date : 2009-09-12
Age : 43
מיקום : mIRCX IRC Network

https://mircx.forumotion.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum