Search
Web Applications
install Joomla Wordpress Phpbb Drupal FluxBB PunBB osCommerce simple-machines MYBB moodle vBulletin Dolphin-v.7.1.1 PHPNUKE XOOPSServices
install BorkNet Services X3 Services Anope Atheme Services Srvx IRC SrervicesIRCD
install Snircd IRCU INSPIRCD UNREAL Nefarious Bircd Bahamut Asuka CharybdisTCL SCRIPT
TCL SCRIPT FOR EGGDROP
Allprotection4.7 AntiproxyBots
Bots install FishBot bobot++ Eggdrop janus Omega Security Services Botnix Bopm SupyBot PyLink HopmLatest topics
VIP list, v1
BMT IRC Network :: BMT :: BMT
Page 1 of 1
VIP list, v1
שם הקוד:VIP list, v1
נוצר על ידי: Arthas
נוצר על ידי: 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 }
}
BMT IRC Network :: BMT :: BMT
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
Sat Aug 05, 2023 2:09 am by Chief
» mIRCx IRC Network Config
Sat Jul 15, 2023 9:51 pm by Chief
» ircu2.10.12-pk with dnsbl
Fri Mar 10, 2023 2:22 pm by Admin
» Guide install PyLink on New version FreeBSD
Thu Dec 15, 2022 9:39 pm by Chief
» מדריך התקנה PBot על מערכת הפעלה FreeBsd-12
Mon Dec 05, 2022 5:44 am by Chief
» install Nefarious2 && X3 IRC Services in FreeBsd
Sat Nov 12, 2022 3:12 pm by Chief
» help problem with adduser in Freebsd 12
Fri Nov 11, 2022 9:06 pm by Chief
» מדריך פקודות והתקנה בסרביס X3
Fri Oct 28, 2022 1:43 pm by Chief
» מדריך הגדרות WebIRC in Nefarious2
Thu Apr 07, 2022 4:45 am by Chief