_Added in 1.9.0_ *$didwm([name],id,wildtext,[N])* Returns the number of the line that matches the [[Scripting_Wildcards|wildtext]], with the search starting at line N. *Parameters* table(ktable). |*Parameter*|*Description*| | [name] | If specified, name of the dialog otherwise [[$dname]] from the current [[Scripting_Events|event]] is used. (optional) | | id | Id of the dialog item. | | wildtext | The [[Scripting_Wildcards|wildtext]] to search. | | [N] | If N = 0, number of matches, otherwise the Nth match. (optional) |