$didwm » History » Version 4
Per Amundsen, 07/29/2019 08:52 PM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | *$didwm([name],id,wildtext,[N])* |
||
4 | |||
5 | 4 | Per Amundsen | Returns the number of the line that matches the [[Scripting_Wildcards|], with the search starting at line N. |
6 | 1 | Per Amundsen | |
7 | *Parameters* |
||
8 | [name] - If specified, name of the dialog otherwise [[$dname]] from the current [[Scripting_Events|event]] is used. (optional) |
||
9 | id - Id of the dialog item. |
||
10 | 3 | Per Amundsen | wildtext- The [[Scripting_Wildcards|wildtext]] to search. |
11 | 1 | Per Amundsen | [N] - If N = 0, number of matches, otherwise the Nth match. (optional) |