mIRC Homepage
I am making a script where i need to be able to message the | character, but | is the breakline character, is there a way to override that?
Posted By: Horstl Re: how to have a script type the | character - 29/10/08 08:14 PM
You can use $chr(ascii-value), in your case this is: $chr(124). There are charmaps for reference, and you can quicky find out the ascii of some character with mIRC itself: use //echo -a $asc(char), e.g.: //echo -a $asc(|)
Alternatively, you can use $eval(char,0) - in your case $eval(|,0) in your code.
thanks a bunch.
Posted By: Tomao Re: how to have a script type the | character - 30/10/08 12:02 AM
Code:
on 1:INPUT:#: { if ($regex($1-,\174)) echo -a true | else echo -a false }
© mIRC Discussion Forums