South Park Script — File Browser
SouthParkScriptv1.0 / SouthParkScriptv1.0 / Sout Park Script / script3.ini
script3.ini — 5.16 KB — Download this file
[script]
n0=dialog SPprot {
n1= title "South Park Protection"
n2= size -1 -1 400 210
n3= box "Channel & Personal Protection", 1,2 2 196 160
n4= check "All Kicks" 2, 15 20 70 20
n5= check "No Kicks" 3, 110 20 70 20
n6= check "Channel Spam Kick", 4,40 50 200 20,
n7= check "Private Spam Kick", 5,40 70 200 20
n8= text "",6, 0 0 0 0
n9= check "Deop Protection", 7,40 90 200 20
n10= check "Kick Protection", 8,40 110 200 20
n11= check "Ban Protection", 9,40 130 200 20
n12= box "Script Setup", 10, 200 2 196 160
n13= text "Normal Nick", 11, 213 23 70 20
n14= edit "", 12, 280 20 100 20
n15= text "Away Nick", 15, 213 48 70 20
n16= edit "", 16, 280 45 100 20
n17= text "DND Nick", 17, 213 73 70 20
n18= edit "", 18, 280 70 100 20
n19= check "Message on Away", 19, 240 100 150 20
n20= check "Message on DND", 20, 240 120 150 20
n21= button "OK", 13,23 170 150 30, ok default
n22= button "Cancel", 14, 223 170 150 30, Cancel
n23=}
n24=alias SP.prot { $dialog(SPprot,SPprot,-1) }
n25=on 1:dialog:SPprot:init:0:{
n26= if ( %nokicks == On ) { did - $+ $iif($did(3),c,e) SPprot 3 | goto 2 }
n27= else { did - $+ $iif($did(3),u,e) SPprot 3 | goto 2 }
n28= :2
n29= if ( %allkicks == On ) { did - $+ $iif($did(2),c,e) SPprot 2 | goto 3 }
n30= else { did - $+ $iif($did(2),u,e) SPprot 2 | goto 3 }
n31= :3
n32= if ( %spam == On ) { did - $+ $iif($did(4),c,e) SPprot 4 | goto 4 }
n33= else { did - $+ $iif($did(4),u,e) SPprot 4 | goto 4 }
n34= :4
n35= if ( %spampri == On ) { did - $+ $iif($did(5),c,e) SPprot 5 | goto 5 }
n36= else { did - $+ $iif($did(4),u,e) SPprot 5 | goto 5 }
n37= :5
n38= if ( %dop.pop1 == On <- ) { did - $+ $iif($did(7),c,e) SPprot 7 | goto 7 }
n39= else { did - $+ $iif($did(7),u,e) SPprot 7 | goto 7 }
n40= :7
n41= if ( %kp.pop1 == On <- ) { did - $+ $iif($did(8),c,e) SPprot 8 | goto 8 }
n42= else { did - $+ $iif($did(8),u,e) SPprot 8 | goto 8 }
n43= :8
n44= if ( %bp.pop1 == On <- ) { did - $+ $iif($did(9),c,e) SPprot 9 | goto 9 }
n45= else { did - $+ $iif($did(9),u,e) SPprot 9 | goto 9 }
n46= :9
n47= if ( %awaymsg == On ) { did - $+ $iif($did(19),c,e) SPprot 19 | goto 10 }
n48= else { did - $+ $iif($did(19),u,e) SPprot 19 | goto 10 }
n49= :10
n50= if ( %dndmsg == On ) { did - $+ $iif($did(20),c,e) SPprot 20 | goto end }
n51= else { did - $+ $iif($did(20),u,e) SPprot 20 | goto end }
n52= :end
n53=}
n54=
n55=on 1:dialog:SPprot:sclick:2:{
n56= if ( $did(2).state == 1 ) {
n57= did - $+ $iif($did(3),u,e) SPprot 3
n58= did - $+ $iif($did(4),c,e) SPprot 4
n59= did - $+ $iif($did(5),c,e) SPprot 5
n60= did - $+ $iif($did(7),c,e) SPprot 7
n61= did - $+ $iif($did(8),c,e) SPprot 8
n62= did - $+ $iif($did(9),c,e) SPprot 9
n63= set %allkicks On
n64= set %nokicks Off
n65= }
n66=}
n67=
n68=on 1:dialog:SPprot:sclick:3:{
n69= if ( $did(2).state == 1 || $did(4).state == 1 || $did(5).state == 1 || $did(7).state == 1 || $did(8).state == 1 || $did(9).state == 1) {
n70= did - $+ $iif($did(3),u,e) SPprot 2
n71= did - $+ $iif($did(4),u,e) SPprot 4
n72= did - $+ $iif($did(5),u,e) SPprot 5
n73= did - $+ $iif($did(7),u,e) SPprot 7
n74= did - $+ $iif($did(8),u,e) SPprot 8
n75= did - $+ $iif($did(9),u,e) SPprot 9
n76= set %allkicks Off
n77= set %nokicks On
n78= }
n79=}
n80=
n81=on 1:dialog:SPprot:sclick:13:{
n82= if ( $did(2).state == 1 ) { set %spam On | set %spampri On | set %allkicks On | set %dop.pop1 On <- | set %kp.pop1 On <- | set %bp.pop1 On <- | set %dop.pop2 Off | set %kp.pop2 Off | set %bp.pop2 Off | goto end }
n83= else { set %allkicks Off | goto 2 }
n84= :2
n85= if $did(3).state == 1 ) { set %spam Off | set %spampri Off | set %nokicks On | set %dop.pop1 On | set %kp.pop1 On | set %bp.pop1 On | set %dop.pop2 Off <- | set %kp.pop2 Off <- | set %bp.pop2 Off <- | goto end }
n86= else { set %nokicks Off | goto 3 }
n87= :3
n88= if ( $did(4).state == 1 ) { set %spam On | goto 4 }
n89= else { set %spam Off | goto 4 }
n90= :4
n91= if ( $did(5).state == 1 ) { set %spampri On | goto 5 }
n92= else { set %spampri Off | goto 5 }
n93= :5
n94= if ( $did(7).state == 1 ) { set %dop.pop1 On <- | set %dop.pop2 Off | goto 6 }
n95= else { set %dop.pop2 Off <- | set %dop.pop1 On | goto 6 }
n96= :6
n97= if ( $did(8).state == 1 ) { set %kp.pop1 On <- | set %kp.pop2 Off | goto 7 }
n98= else { set %kp.pop2 Off <- | set %kp.pop1 On | goto 7 }
n99= :7
n100= if ( $did(9).state == 1 ) { set %bp.pop1 On <- | set %bp.pop2 Off | goto 8 }
n101= else { set %bp.pop2 Off <- | set %bp.pop1 On | goto 8 }
n102= :8
n103= if ( $did(12).text == $null ) { goto 9 }
n104= else { set %normalnick $did(12).text | goto 9 }
n105= :9
n106= if ( $did(16).text == $null ) { goto 10 }
n107= else { set %gonenick $did(16).text | goto 10 }
n108= :10
n109= if ( $did(18).text == $null ) { goto 11 }
n110= else { set %dndnick $did(18).text | goto 11 }
n111= :11
n112= if ( $did(19).state == 1 ) { set %awaymsg On | goto 12 }
n113= else { set %awaymsg Off | goto 12 }
n114= :12
n115= if ( $did(20).state == 1 ) { set %dndmsg On | goto end }
n116= else { set %dndmsg Off | goto end }
n117= :end
n118=}