Project

General

Profile

Actions

Bug #2067

closed

$read Identifier Issue

Added by Cinos Modnar over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
05/27/2015
Due date:
% Done:

0%

Estimated time:
Operative System:
Windows 7
Regression:
No

Description

I am a new user to AdiIRC and I am using a script that worked fine in mIRC but has a relatively minor issue in AdiIRC: The way $read works is slightly different in that searching for a line starting with a certain word returns the whole line instead of the text contained after the match text.

From the mIRC Help Manual:
---------------------------
//echo $read(info.txt, s, mirc)

Scans the file info.txt for a line beginning with the word mirc and returns the text following the match value.
---------------------------

i.e. if the text file contains the following line:

"TARGET this is the content"

$read(textfile,s,TARGET) in mIRC would return "this is the content" while it would return "TARGET this is the content" in AdiIRC.

A minor issue, but I imagine this issue would cause a lot of mIRC scripts to malfunction.

Actions

Also available in: Atom PDF