I tried both methods of setting the variable. Both gave the same result.
The file I'm reading from is about 14,000 KB

on *:TEXT:*:# {
if (.def isin $1) {
;.set -u5 %fword $readini dicc\fout.ini $2 R
var %fword = $readini(dicc\fout.ini, $2, R)

if (%fword == $null) {
%fword = 4 No data found
}
/msg $chan $2: %fword
}
}



Last edited by CapitanMarte; 28/12/18 01:59 PM.