mIRC Homepage
Posted By: PhantasyX $isalias & $lock - 15/07/05 03:26 AM
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?
Posted By: Hrung Re: $isalias & $lock - 15/07/05 06:35 AM
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...
Posted By: PhantasyX Re: $isalias & $lock - 15/07/05 04:53 PM
I don't know either, I was just reading the help file and came upon these two things and decided to post. :tongue:
© mIRC Discussion Forums