![]() I was helping TECO who needed dynamically built regex pattern to highlight him correctly, and that included matching eventual channel prefix ($prefix) on the left of his nickname, I had chosen to use ] with $+ This is why //var %a 255,255,255 | echo -ag $rgb( ) works and why $rgb($eval(%a)) would fail (it would be sending a single parameter containing commas to $rgb) They are handled before anything else, unlike $eval, it is as though you were literally rewriting the line of code in memory. The interesting part here is how are handled and at which stage in mIRC's processing of your code. This post isn't about updating the help file there but I certainly wouldn't mind. In reality bracket evaluation are much much more complex than that. You can also force a previously evaluated identifier to be re-evaluated by using extra brackets. Identifiers within these brackets will be evaluated first, from left to right. If you want greater control over the order of evaluation of identifiers, you can use the brackets.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |