čito sam ja dosta ovih teme u irc forumu medutim ima dosta zamene novi i zanimljivi informacija ,ali nema teme vezana za upoznavanje računskog jezika mIRCa. Cilj mi je da upoznam jezik i da bi bio u stanju da sam pravim scriptu
naveo sam da nesto znam ali tu ,tu je blokada kada otvorim remote i kada vidim
npr:
dialog protection {
title "SaMaster Kick/Ban Protekcija By SA_Marlboro "
size -1 -1 170 60
option dbu
;tab settings
tab "Op", 1, 5 5 130 50, ok
tab "Deop", 2
tab "Kick", 3
tab "Ban", 4
tab "Kick/Ban", 5
;tab 1 - Op
check "Deop na server Op", 6, 35 25 60 10, tab 1
check "Zahvali se za OP", 7, 35 35 70 10, tab 1
check "Deop osobu kad dobijes Op", 8, 35 45 80 10, tab 1
;tab 2 - Deop
check "Op se preko ChanServa", 9, 25 20 100 8, tab 2
check "Ostani bez OPa ako te ChanServ -Op", 18, 25 30 110 8, tab 2
check "Deop osobu koja tebi skine Op", 10, 25 40 100 8, tab 2
check "Kick/Ban osobi koja tebi skine Op", 11, 25 50 100 8, tab 2
;tab3 - Kick
check "Deop osobu koja te kickne?", 12, 25 25 100 10, tab 3
check "Kick/Ban osobu koja te kickne?", 13, 25 45 100 10, tab 3
;tab4 - Ban
check "Skini Sebi Ban", 14, 25 20 100 10, tab 4
check "Kick nick's Ban Mask-e (enforce)", 17, 25 30 100 10, tab 4
check "Deop osobu koja te Banuje?", 15, 25 40 100 10, tab 4
check "Kick/Ban osobu koja te banuje?", 16, 25 50 100 8, tab 4
;tab5 - Kick/Ban
check "Skini Sebi Ban", 19, 25 25 100 10, tab 5
check "Deop osobu koja te kick/ban?", 21, 25 35 100 10, tab 5
check "Kick/Ban osobu koja te Kick/Ban?", 22, 25 45 100 10, tab 5
button "Jes Ba", 20, 142 50 20 10, ok
box "Status", 23, 140 25 30 20
combo 24, 143 32 25 40, dropdown
}
on *:DIALOG:protection:init:*: {
if ($exists(Protection.ini) == $false) { write -c Protection.ini }
if ($readini Protection.ini Settings DOSO == $true) { did -c Protection 6 }
if ($readini Protection.ini Settings TOP == $true) { did -c Protection 7 }
if ($readini Protection.ini Settings DOP == $true) { did -c Protection 8 }
if ($readini Protection.ini Settings GR == $true) { did -c Protection 9 }
if ($readini Protection.ini Settings DPWDY == $true) { did -c Protection 10 }
if ($readini Protection.ini Settings KBPWDY == $true) { did -c Protection 11 }
if ($readini Protection.ini Settings DPWKY == $true) { did -c Protection 12 }
if ($readini Protection.ini Settings KBPWKY == $true) { did -c Protection 13 }
if ($readini Protection.ini Settings GU == $true) { did -c Protection 14 }
if ($readini Protection.ini Settings DPWBY == $true) { did -c Protection 15 }
if ($readini Protection.ini Settings KBPWBY == $true) { did -c Protection 16 }
if ($readini Protection.ini Settings KMBM == $true) { did -c Protection 17 }
if ($readini Protection.ini Settings SDICDY == $true) { did -c Protection 18 }
if ($readini Protection.ini Settings GU2 == $true) { did -c Protection 19 }
if ($readini Protection.ini Settings DPWKBY == $true) { did -c Protection 21 }
if ($readini Protection.ini Settings KBPWKBY == $true) { did -c Protection 22 }
did -a protection 24 On
did -a protection 24 Off
if ($readini Protection.ini Settings Status == On) { did -c protection 24 1 }
if ($readini Protection.ini Settings Status == Off) { did -c protection 24 2 }
}
on *:DIALOG:protection:sclick:1,2,3,4,5: {
did -v protection 20
}
on *:DIALOG:protection:sclick:11: {
if (($did(protection,9).state == 0) && ($did(protection,11).state == 1)) did -c protection 9
}
on *:DIALOG:protection:sclick:9: {
if (($did(protection,9).state == 0) && ($did(protection,11).state == 1)) did -u protection 11
}
on *:DIALOG:protection:sclick:20: {
if ($did(protection,6).state == 1) { writeini Protection.ini Settings DOSO $true }
else {
writeini Protection.ini Settings DOSO $false
}
if ($did(protection,7).state == 1) { writeini Protection.ini Settings TOP $true }
else {
writeini Protection.ini Settings TOP $false
}
if ($did(protection,8).state == 1) { writeini Protection.ini Settings DOP $true }
else {
writeini Protection.ini Settings DOP $false
}
if ($did(protection,9).state == 1) { writeini Protection.ini Settings GR $true }
else {
writeini Protection.ini Settings GR $false
}
if ($did(protection,10).state == 1) { writeini Protection.ini Settings DPWDY $true }
else {
writeini Protection.ini Settings DPWDY $false
}
if ($did(protection,11).state == 1) { writeini Protection.ini Settings KBPWDY $true }
else {
writeini Protection.ini Settings KBPWDY $false
}
if ($did(protection,12).state == 1) { writeini Protection.ini Settings DPWKY $true }
else {
writeini Protection.ini Settings DPWKY $false
}
if ($did(protection,13).state == 1) { writeini Protection.ini Settings KBPWKY $true }
else {
writeini Protection.ini Settings KBPWKY $false
}
if ($did(protection,14).state == 1) { writeini Protection.ini Settings GU $true }
else {
writeini Protection.ini Settings GU $false
}
if ($did(protection,15).state == 1) { writeini Protection.ini Settings DPWBY $true }
else {
writeini Protection.ini Settings DPWBY $false
}
if ($did(protection,16).state == 1) { writeini Protection.ini Settings KBPWBY $true }
else {
writeini Protection.ini Settings KBPWBY $false
}
if ($did(protection,17).state == 1) { writeini Protection.ini Settings KMBM $true }
else {
writeini Protection.ini Settings KMBM $false
}
if ($did(protection,18).state == 1) { writeini Protection.ini Settings SDICDY $true }
else {
writeini Protection.ini Settings SDICDY $false
}
if ($did(protection,19).state == 1) { writeini Protection.ini Settings GU2 $true }
else {
writeini Protection.ini Settings GU2 $false
}
if ($did(protection,21).state == 1) { writeini Protection.ini Settings DPWKBY $true }
else {
writeini Protection.ini Settings DPWKBY $false
}
if ($did(protection,22).state == 1) { writeini Protection.ini Settings KBPWKBY $true }
else {
writeini Protection.ini Settings KBPWKBY $false
}
if ($did(24) == On) { writeini Protection.ini Settings Status On }
if ($did(24) == Off) { writeini Protection.ini Settings Status Off }
}
#Protection on
on *:SERVEROP:#: {
if ($readini Protection.ini Settings DOSO == $true) { .mode $chan -o $nick }
}
on *:OP:#: {
if (($opnick == $me) && ($chan == %kick.chan)) {
if (($readini Protection.ini Settings DPWKY == $true) || ($readini Protection.ini Settings DPWKBY == $true)) { mode $chan -o %kick.nick }
if (($readini Protection.ini Settings KBPWKY == $true) || ($readini Protection.ini Settings KBPWKBY == $true)) { mode $chan +b $address(%kick.nick,2) | kick $chan $nick Mojne se ba igrati ! SarajevoMaster $bersion }
unset %kick.*
goto done
}
if ($nick == $me) { goto done }
if ($readini Protection.ini Settings DOP == $true) { if ($opnick != $me) { mode $chan -o $opnick } }
if ($readini Protection.ini Settings TOP == $true) { if ($opnick == $me) { .msg $chan $nick Power ! Hvala za OP $nick SarajevoMaster $bersion } }
:done
}
on !*:DEOP:#: {
if ($opnick != $me) { goto done }
if (($readini Protection.ini Settings SDICDY == $true) && ($nick == ChanServ)) { goto done }
if ($readini Protection.ini Settings GR == $true) { .chanserv op $chan $me }
if ($readini Protection.ini Settings DPWDY == $true) { .msg
[email protected] deop $chan $nick }
if ($readini Protection.ini Settings KBPWDY == $true) { .who $nick | .timer 1 5 .mode $chan +b $address($nick,2) | .timer 1 5 kick $chan $nick Nemoj me ba kickati ! Vidis da i ja mogu !! SarajevoMaster v5.0 }
:done
}
on *:KICK:#: {
if ($opnick == $me) { set %kick.chan $chan | set %kick.nick $nick }
}
on !*:BAN:#: {
unset %ban.temp*
set %ban.temp1 $ialchan($banmask,$chan,0)
:start
inc %ban.temp2
if (%ban.temp2 > %ban.temp1) goto done
if ($ialchan($banmask,$chan,%ban.temp2).nick == $me) {
if ($readini Protection.ini Settings DPWBY == $true) { mode $chan -o $nick }
if ($readini Protection.ini Settings GU == $true) { mode $chan -b $banmask }
if ($readini Protection.ini Settings GU2 == $true) { .msg
[email protected] unban $chan | timer 1 2 .join $chan }
goto start
}
if ($readini Protection.ini Settings KMBM == $true) { kick $chan $ialchan($banmask,$chan,%ban.temp2).nick Matched Banmask: $banmask }
goto start
:done
unset %ban.*
set %kick.nick $nick
}
notice *:*:/ $+ $1-
on *:NOTICE:Any bans against you on*:?: { haltdef }
#Protection End
on *:CONNECT: {
if ($readini Protection.ini Settings Status == On) { .enable #Protection }
else { .disable #Protection }{ /load -rs bottalk.ini}
}
ovo je Kick/Ban Protekcija sarajevomaster v5 scripte ,ovde ja baš nista ne kontam to
bi ja volijo upoznati . Pa ako ima koja stranica gdje ja mogu sta korisno pročitati......!!!!
cool >>web<< stranica