 |
Vijilante SubAdmin

Joined: 18 Nov 2001 Posts: 5187
|
Posted: Sat Apr 26, 2008 3:51 pm
[2.22] #WAITFOR loses captures |
Procedure
1. Launch CMud
2. Close Sessions window(ESC)
3. Enter at the command line
Code: |
#THREAD a {#WAITFOR {line (%d)} 1000 {#SHOW {a matched %pat(1) - %1}} {#SHOW {bad a}}};#WAIT 50;#SHOW line 7 |
Here we see the capture properly occurred
4. Enter at the command line
Code: |
#THREAD a {#WAITFOR {line (%d)} 1000 {#SHOW {a matched %pat(1) - %1}} {#SHOW {bad a}}};#THREAD b {#WAITFOR {line} 2000 {#SHOW {b matched}} {#SHOW {bad b}}};#WAIT 50;#SHOW line 7 |
Now we see that the 'b' #WAITFOR causes the capture to be lost for the 'a' one. |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Apr 28, 2008 5:02 pm |
Confirmed and added to bug list.
|
|
|
 |
|
|