/aliases <file> - Forum
Friday, 09 Dec 2016, 16:27:05
Welcome on westor (^WeSt) website!
Welcome NOT MEMBER | RSS
[ New messages · Members · Forum rules · Search · RSS ]
Page 1 of 11
Forum moderator: ^WeSt 
Forum » General » mIRC Codes » /aliases <file> (This is an mIRC alias!)
/aliases <file>
^WeStDate: Saturday, 26 Mar 2011, 21:46:50 | Message # 1
ULTRA MEMBER
Group: Administrators
Messages: 13
Awards: 0
Reputation: 0
Status: Offline
Hello,

This alias can count from your file all the aliases that the file have!

Usage: $aliases(file) , /aliases file

Code

alias aliases {
   if ($isid) {
     if (!$isfile($1)) { return $false }
     filter -fkg $qt($1) ~~ /^ $+ $iif(*.ini iswm $v1,n\d+=) $+ alias [^\x20]+ [^\x20]+/i                
     return $filtered
   }
   elseif ($!isid) {
     if (!$file($1)) { linesep -s | echo -ac info * /aliases: insufficient parameters (line $scriptline $+ , $nopath($script) $+ ) | linesep -s | halt }
     filter -fkg $qt($1) ~~ /^ $+ $iif(*.ini iswm $v1,n\d+=) $+ alias [^\x20]+ [^\x20]+/i                
     linesep -s
     echo -ac info * /aliases: Founded $1 file aliases are: $filtered
     linesep -s
   }
}
}

examples: $aliases(scripts\aliases.ini) , //aliases scripts\aliases.ini

- Thanks!


I Would Like To Kiss You But I Cant Tell Me Why Not My Baby ? ? ?
 
Forum » General » mIRC Codes » /aliases <file> (This is an mIRC alias!)
Page 1 of 11
Search:


Website builderuCoz