mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2006
Posts: 4,150
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,150
The latest beta have a new 't' switch to percent encode/decode a string, but $encode/$decode already had a 't' switch to force the input to be treated as text.
A different letter must be used instead, 'p' is not used and make sense for 'percent'.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Jul 2006
Posts: 4,150
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,150
After investigation, the 't' switch in $encode and $decode for 'text' is just a fluke in the help file, those functions weren't supporting a 't' switch in the first place.
So 't' can be kept as the letter.

Note: it would be great to have the new help file in the beta zip when it is updated (currently the case)


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Dec 2002
Posts: 5,424
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,424
Thanks, yes, the 't' switch was never actually supported in the code because it was just the default behaviour. However, since it is documented, scripters may still have used it. For backward compatibility, I will be changing the percent encoding switch to another letter in the next beta.


Link Copied to Clipboard