I decided to put this post here in the bug reports forum cause the bugs are minor ones - if bugs at all - and the suggestions are also very petite - but would make life easier for many. :- )
Bugs/Fixes:
$ulevel doesn't trigger for named levels. You have to use $level($fulladdress).
$event can't be used in the matchtext of an event (on text atleast).
$script triggers when calling an alias named $scriptxxx.
I bet it does it for the same reason as $mircdir; $mircdir\file.txt.
Wich maybe makes it difficult to fix/change, I don't know.
Provide $sock().hostname propertie.
If you used a hostname creating a socket, the hostname should be returned.
$portrange - An identifier to return the "port range for connections" - can be found in Connect -> Options -> Advanced
$target - should return $nick istead of $me in query.
This identifier is propably set using the value in the RAW PRIVMSG command, but I can't see it having any use returning your own nickname. I would use $me for that. Better to use msg $target in a "on text:...:*:" event - both for querys and channel messages that is.
But maybe I haven't understand what it should be used for, seams completly useless to me. And changing it wont break any existing scripts... cause no one is using it? :-)
Suggestions:
Provide a $sprintf() function. Shouldn't be that hard...?
$caller - show wich identifier/event called the function
/echoerror - A function that makes the life easier printing an error msg like the defult one: * /alias: error msg (line 1, script1.mrc).
The thing is that you can't write an global function that works in all your script, cause there is no thing to identify your current alias (like $caller i suggested), and you have to past the $scriptline to the function all the time.
Shouldn't be hard to implement when $error is already available. :- )
Comments?
Edit:
A function in v6.17 (extention to $sound?) that translates the ID3v2 genre list to ID3v1 if possible.
"References to the ID3v1 genres can be made by, as first byte, enter "(" followed by a number from the genres list (appendix A) and ended with a ")" character."
Appendix A:
http://www.id3.org/id3v2.3.0.html#secA