home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HaCKeRz KrOnIcKLeZ 3
/
HaCKeRz_KrOnIcKLeZ.iso
/
scriptz
/
ll.txt
< prev
next >
Wrap
Text File
|
1996-04-23
|
4KB
|
124 lines
###########################################################################
## .____ .__ __ .____ __ ##
## | | |__| ____ | | __ | | ____ ____ | | __ ___________ ##
## | | | |/ \| |/ / | | / _ \ / _ \| |/ // __ \_ __ \ ##
## | |___| | | \ < | |__( <_> | <_> ) <\ ___/| | \/ ##
## |_______ \__|___| /__|_ \ |_______ \____/ \____/|__|_ \\___ >__| ##
## \/ \/ \/ \/ \/ \/ ##
## 1.o bY bOnEz ##
###########################################################################
## Notes: ##
## Use /ll -build when you first use it, make sure there are *NO* ##
## Splits. Yes, you will seem to freeze, but give it time.. ##
## -bOnEz ##
#######################################################################
:[Code for mIRC 5.0]:
Put this in alias:
ll {
if $1 == ? { echo -a %cc 2 Syntax: /ll [-build] | halt }
if $1 == -build { echo -a %cc 2Building master server(s) list. | echo -a %cc 2Creating current server(s) list. | set %ll.build yes | .enable #ll | links | write -c mlink.dll | halt }
else { echo -a %cc 2Creating current server(s) list. | .enable #ll | write -c clink.dll | links | halt }
}
_ll {
echo -a %cc 2Searching for split server(s).
set %ll $lines(mlink.dll)
set %ll2 0
:relook
set %mlink $read -l $+ %ll mlink.dll
if %ll == 0 { goto end }
if $find(%mlink,clink.dll) == 0 { inc %ll2 | echo -a %cc ( $+ %ll2 $+ ) %mlink | dec %ll 1 | goto relook }
else { dec %ll 1 | goto relook }
:end
echo -a %cc 2End. $+ %ll2 $+ Server(s) Split
}
find {
set %find1 $lines($2)
:next
if %find1 == 0 { goto end }
if $1 isin $read -l $+ %find1 $2 { return 1 | halt }
dec %find1 1
goto next
:end
return 0
}
Set these varibles:
%cc 12,1:[sK]:
Throw this in raw:
#ll off
raw 364:*:{
if %ll.build == yes { if . isin $parm2 { write mlink.dll $parm2 } }
write clink.dll $parm2
}
raw 365:*:{
if %ll.build == yes {
echo -a %cc 2Master server(s) list created.
.disable #ll
set %ll.build no
}
echo -a %cc 2Current server(s) list created.
_ll
.disable #ll
halt
}
#ll end
:[Code for 4.x]:
Put this in alias:
ll {
if $1 == ? { echo -a %cc 2 Syntax: /ll [-build] | halt }
if $1 == -build { echo -a %cc 2Building master server(s) list. | echo -a %cc 2Creating current server(s) list. | set %ll.build yes | .enable #ll | links | write -c mlink.dll | halt }
else { echo -a %cc 2Creating current server(s) list. | .enable #ll | write -c clink.dll | links | halt }
}
_ll {
echo -a %cc 2Searching for split server(s).
set %ll $lines(mlink.dll)
set %ll2 0
:relook
set %mlink $read -l $+ %ll mlink.dll
if %ll == 0 { goto end }
if $find(%mlink,clink.dll) == 0 { inc %ll2 | echo -a %cc ( $+ %ll2 $+ ) %mlink | dec %ll 1 | goto relook }
else { dec %ll 1 | goto relook }
:end
echo -a %cc 2End. $+ %ll2 $+ Server(s) Split
}
find {
set %find1 $lines($2)
:next
if %find1 == 0 { goto end }
if $1 isin $read -l $+ %find1 $2 { return 1 | halt }
dec %find1 1
goto next
:end
return 0
}
Set these varibles:
%cc 12,1:[sK]:
Throw this in raw:
#ll start
364:*:{
if %ll.build == yes { if . isin $parm2 { write mlink.dll $parm2 } }
write clink.dll $parm2
}
365:*:{
if %ll.build == yes {
echo -a %cc 2Master server(s) list created.
.disable #ll
set %ll.build no
}
echo -a %cc 2Current server(s) list created.
_ll
.disable #ll
halt
}
#ll end
################################################################################
## Coded by: bOnEz ##
## Thanx to abyss for giving me the idea ##
################################################################################