I'm currently reverse engineering the code, but a few things are leaving me confused. I'll edit this to include any new things, since you obviously can't immediately anwer
if ( strPos( %msg, "[]" ) >= 0 ) //If string pos [] in message equals or is greater than 0 (?) I'm guessing it means, if there is [] anywhere in message
{
%msg = peReplace( %msg );
}
...
This seems to go to this function, but right at the start of peReplace is:
if ( strPos( %str, "[]" ) < 0 ) //If string position is lower than 0, return string (%str)? I'm guessing if it doesn't exist?
{
return %str;
}
Why include this code, if it does what i think it does. Is there any functionality or is this just double-redundancy?
Also, as far as i know, continue; ignores all code left in the current block ({}), so why is it put in the end of every if statement block?