mIRC Home    About    Download    Register    News    Help

Print Thread
#125151 15/07/05 03:26 AM
Joined: Apr 2004
Posts: 218
P
Fjord artisan
OP Offline
Fjord artisan
P
Joined: Apr 2004
Posts: 218
Suggestion for $lock: Add "onstart" or "startup" return $true if lock is turned on for ask password on start up, and $false if not.

Suggestion for $isalias:

I noticed the $isalias(alias).alias can return only one line.

Suggestion, turn $isalias(alias).alias into $isalias(flood [,N]).alias

$isalias(flood,0).alias return total number of lines the 'alias' is.

Example:

$isalias(flood,1).alias would return "flood {" (if it is multi line)
$isalias(flood,2).alias return var %t = $ticks + 500
$isalias(flood,3).alias return while (%t > $ticks) {
$isalias(flood,4).alias return echo -a $str($+($iif($rand(1,10) < 5,$+($chr(2),$chr($rand(200,255)),$chr(31)),$+($chr(31),$chr($rand(200,255)),$chr(2)))),200)
$isalias(flood,5).alias return dec %t
$isalias(flood,6).alias return }
$isalias(flood,6).alias return }
$isalias(flood,7).alias return some kind of error for no line


etc. I think you know what i mean atleast? shocked
Would have to find a solution for lines with no text that people sometimes use when seperating parts of their code.

Anyone else see what I mean?


Live to Dream & Dream for Life
#125152 15/07/05 06:35 AM
Joined: Dec 2002
Posts: 208
H
Fjord artisan
Offline
Fjord artisan
H
Joined: Dec 2002
Posts: 208
Not quite sure what you'd use the $lock change for, but the idea for $isalias sounds good to me. hmmm, not sure what you'd use that for either, but anyway...


If I knew now what I will know then... maybe things will have been different...
#125153 15/07/05 04:53 PM
Joined: Apr 2004
Posts: 218
P
Fjord artisan
OP Offline
Fjord artisan
P
Joined: Apr 2004
Posts: 218
I don't know either, I was just reading the help file and came upon these two things and decided to post. :tongue:


Live to Dream & Dream for Life

Link Copied to Clipboard