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
VIP list, v1 EmptySat Aug 05, 2023 2:09 am by Chief

» mIRCx IRC Network Config
VIP list, v1 EmptySat Jul 15, 2023 9:51 pm by Chief

» ircu2.10.12-pk with dnsbl
VIP list, v1 EmptyFri Mar 10, 2023 2:22 pm by Admin

» Guide install PyLink on New version FreeBSD
VIP list, v1 EmptyThu Dec 15, 2022 9:39 pm by Chief

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

» install Nefarious2 && X3 IRC Services in FreeBsd
VIP list, v1 EmptySat Nov 12, 2022 3:12 pm by Chief

» help problem with adduser in Freebsd 12
VIP list, v1 EmptyFri Nov 11, 2022 9:06 pm by Chief

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

» מדריך הגדרות WebIRC in Nefarious2
VIP list, v1 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


VIP list, v1

Go down

VIP list, v1 Empty VIP list, v1

Post  Admin Sun Mar 25, 2012 5:13 pm

שם הקוד:VIP list, v1
נוצר על ידי: Arthas
Code:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; VIP list, v1
;; By Arthas
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
dialog VIPList {
  title "VIPList"
  size -1 -1 102 137
  option dbu notheme
  box "VIP list", 1, 3 3 96 94
  list 2, 8 12 86 80, size
  box "VIP mode", 3, 3 99 44 35
  check "Voice", 4, 6 109 29 10
  check "Op", 5, 6 120 29 10
  button "Add VIP", 6, 52 102 47 10
  button "Delete VIP", 7, 52 113 47 10
  button "Clear VIP", 8, 52 124 47 10
}
dialog VIPListadd {
  title "Add VIPList"
  size -1 -1 102 38
  option dbu notheme
  edit "", 1, 3 3 96 11, autohs
  button "Add", 2, 61 17 37 17, OK
  check "Voice", 3, 3 16 50 10
  check "Op", 4, 3 26 50 10
}
on *:dialog:*:*:*:{
  if ($dname == VIPList) {
    if ($devent == sclick) {
      if ($did == 4) && ($did($dname,2).seltext) {
        if ($did(4).state == 1) && ($did(5).state !== 1) { writeini VIPList.ini VIPList $did($dname,2).seltext Voice }
        if ($did(4).state !== 1) && ($did(5).state !== 1) { remini VIPList.ini VIPList $did($dname,2).seltext }
      }
      if ($did == 5) && ($did($dname,2).seltext) {
        if ($did(5).state == 1) { writeini VIPList.ini VIPList $did($dname,2).seltext Op }
        if ($did(5).state !== 1) && ($did(5).state !== 1) { remini VIPList.ini VIPList $did($dname,2).seltext }
      }
      if ($did == 2) {
        if ($did($dname,2).seltext) { did -e $dname 4 | did -e $dname 5 }
        if (Op == $readini(VIPList.ini,VIPList,$did($dname,2).seltext)) { did -u $dname 4 | did -c $dname 5 }
        elseif (Voice == $readini(VIPList.ini,VIPList,$did($dname,2).seltext)) { did -c $dname 4 | did -u $dname 5 }
        else { did -u $dname 4 | did -u $dname 5 }
      }
      If ($Did == 6) { dialog -m VIPListadd VIPListadd }
      If ($did == 7) && ($did($dname,2).seltext) {
        var %g = $did(2).seltext | did -ub $dname 4 | did -ub $dname 5
        if ($?!="Are you sure?") {
          if ($numtok($readini(VIPList.ini,VIPList,VIPList),32) == 1) { remini VIPList.ini VIPList VIPList }
          else { writeini VIPList.ini VIPList VIPList $remtok($readini(VIPList.ini,VIPList,VIPList),%g,1,32) }
          did -d $dname 2 $did($dname,2).sel
        }
      }
      If ($Did == 8) { .remove VIPList.ini | did -r $dname 2 | did -bu $dname 4 | did -bu $dname 5 }
    }
    if ($devent == init) { did -b $dname 4 | did -b $dname 5 | var %x = 1 | while (%x <= $numtok($readini(VIPList.ini,VIPList,VIPList),32)) { did -a $dname 2 $gettok($readini(VIPList.ini,VIPList,VIPList),%x,32) | inc %x } }
  }
  if ($dname == VIPListadd) {
    if ($devent == sclick) {
      if ($did == 2 && $did(1)) {
        did -a VIPList 2 $did(1) | writeini VIPList.ini VIPList VIPList $addtok($readini(VIPList.ini,VIPList,VIPList),$iif($gettok($gettok($did(1),1,46),2,64) !== $null,$gettok($gettok($did(1),1,46),2,64),$did(1)),32)
        if ($did(3).state == 1) || ($did(4).state == 1) {
          if ($did(4).state == 1) { writeini VIPList.ini VIPList $iif(@ isin $did(1),$gettok($did(1),2,64),$did(1)) Op }
          else { writeini VIPList.ini VIPList $iif(@ isin $did(1),$gettok($did(1),2,64),$did(1)) Voice }
        }
      }
    }
  }
}
on *:join:#:{
  if ($gettok($gettok($wildsite,1,46),2,64) isin $readini(VIPList.ini,VIPList,VIPList)) || ($nick isin isin $readini(VIPList.ini,VIPList,VIPList)) {
    var %r =  $+ $r(2,15) | msg # %r $+ Hi %r $+  $+ $left($nick,1) $+  $+ $mid($nick,2,$calc($len($nick) -2)) $+ %r $+  $+ $right($nick,1) $+  $+ $chr(44) $+  %r $+ You %r $+ Are %r $+ In %r $+ My %r $+ VIP %r $+ List ( $+ %r $+ FxpScript)
    if ($me isop #) {
      if ($readini(VIPList.ini,VIPList,$gettok($gettok($wildsite,1,46),2,64)) == Op) || ($readini(VIPList.ini,VIPList,$nick) == Op) { mode # +o $nick }
      elseif ($readini(VIPList.ini,VIPList,$gettok($gettok($wildsite,1,46),2,64)) == Voice) || ($readini(VIPList.ini,VIPList,$nick) == Voice) { mode # +v $nick }
    }
  }
}
menu * {
  VIPList: dialog $iif($dialog(VIPList),-v,-m) VIPList VIPList
}
menu nicklist {
  VIPList
  .Add VIP: if ($gettok($gettok($address($1,2),1,46),2,64) !isin $readini(VIPList.ini,VIPList,VIPList)) { if ($dialog(VIPList)) did -a VIPList 2 $gettok($gettok($address($1,2),1,46),2,64) | writeini VIPList.ini VIPList VIPList $addtok($readini(VIPList.ini,VIPList,VIPList),$gettok($gettok($address($1,2),1,46),2,64),32) } | else { echo -a $address($1,2) is already on the VIPList list }
}
http://script.quakenet.org/paste/573183
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


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