Project

General

Profile

Actions

Bug #3766

closed
CL

$asc() doesn't recognize "#"

Bug #3766: $asc() doesn't recognize "#"

Added by Cassio Luz S. almost 8 years ago. Updated almost 8 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
12/27/2017
Due date:
% Done:

0%

Estimated time:
Operative System:
All
Regression:
No

PA Updated by Per Amundsen almost 8 years ago Actions #1

  • Status changed from New to Invalid

This is not a bug, the # is evaluated to the current channel name (same as $chan) in mIRC scripting.

CL Updated by Cassio Luz S. almost 8 years ago Actions #2

Per Amundsen wrote:

This is not a bug, the # is evaluated to the current channel name (same as $chan) in mIRC scripting.

And what about if someone needs to recognize "#" for something useful?

Example: if ($left($1,1) == #) { ... }

If my memory is correct, i guess it doesn't work on AdiIRC

PA Updated by Per Amundsen almost 8 years ago Actions #3

It doesn't work in mIRC either, this feature was not designed by me.

However there are many ways to work around this, e.g if ($left($1,1) == $chr(35)).

CL Updated by Cassio Luz S. almost 8 years ago Actions #4

Per Amundsen wrote:

It doesn't work in mIRC either, this feature was not designed by me.

However there are many ways to work around this, e.g if ($left($1,1) == $chr(35)).

When i tried to recognize "#" using the $asc(), i did want exactly to get the code and use the $chr()

Thanks

Actions

Also available in: PDF Atom