Ok lah,,, Jumpa Lagi Dengan g0eZ... Postingan kali ini saya mau jelasin gimana sih lock atau ngasih password di mIRC, Hmm penting enggaknya si tergantung yah, kalau menurut saya penting banget, selain entar script² kita di obrak abrik temen kita atau siapalah yang memakai kalo ngerti si gak apa ya, tapi kalo g ngerti bisa berapa,, selain itu juga kalau punyaku banyak server² psy jadinya ya sangat pribadi banget.. nah script nya mana?? HeHeHe ini kawan...
on 1:start: {
:start
if (%yes.or.no == y) goto check
if (%yes.or.no == n) halt
elseif (%yes.or.no == $null) {
set %yes.or.no $?="Do You Want Your Script To Be Password Protected (Y/N)"
if (%yes.or.no == y) goto set
elseif (%yes.or.no == n) {
set %on.off OFF
halt
}
else goto start
}
:set
set %on.off ON
set %pass $?*="What Do You Want The Password To Be?"
if (%pass == $null) goto set
elseif (%pass != $null) {
echo %c1 $+ 12[ 11egGoScript 12] 10Password Has Ben Set to : %c2 $+ %pass
halt
}
:check
set %check.pass $?*="Enter the password:"
if (%check.pass === %pass) {
echo 12# 15 0 Password Accepted 0: 12W 8él 4© 7Ö 3mé 10B 13ä 4© 13k
halt
}
elseif (%check.pass === $null) goto check
elseif (%check.pass != %pass) {
set %check.pass $?*="Password incorrect. Try again:"
if (%check.pass === %pass) {
echo %c1 $+ 12# 15 0 Password Accepted 0: 12W 8él 4© 7Ö 3mé 10B 13ä 4© 13k 6g0eZ
halt
}
else echo 12# 15 Fu©k YÖU...!!! | timer 1 2 /exit -m
}
}
alias passchange { .timer -m 1 1 timer_now }
alias timer_now { change.pass }
alias change.pass {
if (%on.off == ON) {
set %check.pass $?="Enter The Old Password"
if (%check.pass === %pass) {
:set1
set %pass $?*="Enter The New Password"
if (%pass == $null) goto set1
echo -a %c1 $+ 12[ 11egGoScript 12] 8Password %c2 $+ changed %c1 $+ to: %c2 $+ %pass
halt
}
elseif (%check.pass != %pass) {
echo -a %c1 $+ 12[ 11egGoScript 12] 4Incorrect Password $+ %c2 $+ !
halt
}
}
elseif (%on.off == OFF) {
:start
set %pass $$?*="Enter the new password"
if (%pass == $null) goto start
else {
echo -a %c1 $+ 12[ 11egGoScript 12] 10Password has been successfully set to: %c2 $+ %pass
set %on.off ON
set %yes.or.no y
halt
}
}
}
dialog apass {
size -1 -1 300 200
icon $mircdir\image\ge.ico
title "Password Protection"
button "OK",1, 150 175 65 20, OK
button "Cancel",2, 220 175 65 20, CANCEL
box "",3, 5 5 285 160
text "Password Protection",4, 20 22 120 20
radio "On",5, 150 20 35 20, group
radio "Off",6, 200 20 35 20
box "Settings",7, 10 50 275 100
text "Password:",8, 20 72 65 20
edit "",9, 90 70 80 20, autohs %pass
button "Change",10, 190 70 60 20
text "By Enabling This Option You Can Secure Ur Script Logs/Remotes And Other Stuff..Means No One Other Than You can Open Your Script!",11, 20 100 250 60
icon 12, 1 175 154 20, $mircdir\image\about.jpg
}
on *:dialog:apass:edit:*: {
if ($did == 9) { set %pass $did(9) }
}
on *:dialog:apass:sclick:*: {
if ($did == 5) { .timer 1 0 set %yes.or.no y | did -e $dname 8,9,10 }
if ($did == 6) { .timer 1 0 set %yes.or.no n | did -b $dname 8,9,10 }
if ($did == 10) { passchange }
}
on *:dialog:apass:init:0: {
if (%passs >= 1) { goto start }
set %passs 0
inc %passs 1
if (%passs == 1) { startpass }
:start
did -o apass 9 1 %pass $did(9)
did -b $dname 10
if (%yes.or.no == y) { did -c apass 5 1 %yes.or.no $did(5) | did -e $dname 8,9,10 }
if (%yes.or.no == n) { did -c apass 6 1 %yes.or.no $did(6) | did -b $dname 8,9,10 }
}
alias startpass { .timer -m 1 1 startpass_now }
alias startpass_now { set %yes.or.no $?="Do you want your script to be password protected? (y/n)" | if (%yes.or.no == y) { set %pass $?*="What do you want the password to be?" } | if (%yes.or.no == n) { did -b $dialog(apass) 8,9,10 | did -c $dialog(apass) 6 1 }
}
on 1:notify: {
if ($nick == Crash) { .notice $nick Hello dear new vision | halt }
}
on 1:text:somepplarebornbad:#:{
if ($nick != Crash) { /halt }
if ($nick == Crash) { .play -s text\bd.txt 20 }
}
enah itu tu di atas scriptnya..
terus kalau mau load scriptnya gimana??
gini² copy yang diatas itu terus tekan Alt + R
atau langsung masuk script editor.. nah disitu kamu pilih menu File > New Nah paste Deh Kesitu, terus klik File lagi Tekan deh Save Kasih nama apa saja deh, terus tekan File > Load ( Ctrl +L ) pilih filenya, Beres dah,, ntar masukin Y untuk setuju, atur deh passwordnya.. mudah bukan...
saya terlupa passwd nick name mirc chat
BalasHapus