if ( %loc.num1 == 1) { .msg %loc.nick1 I have found the following files matching " $+ $2- $+ " }
if (%loc.find1 == %loc.last1) { goto end }
set %loc.last1 %loc.find1
set %loc.col1 $rand(2,7)
if (%loc.num1 == 6) { .msg %loc.nick1 I have located more than 5 files containing " $+ $2- $+ ". Please be more specific in your search next time. | goto end }
.msg %loc.nick1 $+ %loc.col1 %loc.find1
inc %loc.num1 1
goto start
:end
.msg %loc.nick1 12To get a file listed here, type:4 ! $+ $me <filename>
unset %loc.*1
halt
:altend
unset %loc.*1
}
alias loc.loc2 {
set %loc.nick2 $1
set %loc.srch2 * $+ $2- $+ *.*
set %loc.num2 1
:start
set %loc.find2 $nopath( [ $findfile( [ $readini locator.ini locator dir ] ,%loc.srch2,%loc.num2 ) ] )
if ( %loc.num2 == 1) { .msg %loc.nick2 I have found the following files matching " $+ $2- $+ " }
if (%loc.find2 == %loc.last2) { goto end }
set %loc.last2 %loc.find2
set %loc.col2 $rand(2,7)
if (%loc.num2 == 6) { .msg %loc.nick2 I have located more than 5 files containing " $+ $2- $+ ". Please be more specific in your search next time. | goto end }
.msg %loc.nick2 $+ %loc.col2 %loc.find2
inc %loc.num2 1
goto start
:end
.msg %loc.nick2 12To get a file listed here, type:4 ! $+ $me <filename>
unset %loc.*2
halt
:altend
unset %loc.*2
}
alias loc.loc3 {
set %loc.nick3 $1
set %loc.srch3 * $+ $2- $+ *.*
set %loc.num3 1
:start
set %loc.find3 $nopath( [ $findfile( [ $readini locator.ini locator dir ] ,%loc.srch3,%loc.num3 ) ] )
if ( %loc.num3 == 1) { .msg %loc.nick3 I have found the following files matching " $+ $2- $+ " }
if (%loc.find3 == %loc.last3) { goto end }
set %loc.last3 %loc.find3
set %loc.col3 $rand(2,7)
if (%loc.num3 == 6) { .msg %loc.nick3 I have located more than 5 files containing " $+ $2- $+ ". Please be more specific in your search next time. | goto end }
.msg %loc.nick3 $+ %loc.col3 %loc.find3
inc %loc.num3 1
goto start
:end
.msg %loc.nick3 12To get a file listed here, type:4 ! $+ $me <filename>
unset %loc.*3
halt
:altend
unset %loc.*3
}
alias loc.loc4 {
set %loc.nick4 $1
set %loc.srch4 * $+ $2- $+ *.*
set %loc.num4 1
:start
set %loc.find4 $nopath( [ $findfile( [ $readini locator.ini locator dir ] ,%loc.srch4,%loc.num4 ) ] )
if ( %loc.num4 == 1) { .msg %loc.nick4 I have found the following files matching " $+ $2- $+ " }
if (%loc.find4 == %loc.last4) { goto end }
set %loc.last4 %loc.find4
set %loc.col4 $rand(2,7)
if (%loc.num4 == 6) { .msg %loc.nick4 I have located more than 5 files containing " $+ $2- $+ ". Please be more specific in your search next time. | goto end }
.msg %loc.nick4 $+ %loc.col4 %loc.find4
inc %loc.num4 1
goto start
:end
.msg %loc.nick4 12To get a file listed here, type:4 ! $+ $me <filename>
unset %loc.*4
halt
:altend
unset %loc.*4
}
alias loc.loc5 {
set %loc.nick5 $1
set %loc.srch5 * $+ $2- $+ *.*
set %loc.num5 1
:start
set %loc.find5 $nopath( [ $findfile( [ $readini locator.ini locator dir ] ,%loc.srch5,%loc.num5 ) ] )
if ( %loc.num5 == 1) { .msg %loc.nick5 I have found the following files matching " $+ $2- $+ " }
if (%loc.find5 == %loc.last5) { goto end }
set %loc.last5 %loc.find5
set %loc.col5 $rand(2,7)
if (%loc.num5 == 6) { .msg %loc.nick5 I have located more than 5 files containing " $+ $2- $+ ". Please be more specific in your search next time. | goto end }
.msg %loc.nick5 $+ %loc.col5 %loc.find5
inc %loc.num5 1
goto start
:end
.msg %loc.nick5 12To get a file listed here, type:4 ! $+ $me <filename>
unset %loc.*5
halt
:altend
unset %loc.*5
}
alias loc.generate {
set %loc.list $$?="Enter the filename of your list (without .txt)" $+ .txt