Hi,
Im look for a way to check the next line recevied after a trigger executed.
For example:
here is a trigger: ^Andy says xxx
and it is triggered.
i need to check the next line after this trigger to decide what commands will be sent.
so i got two questions:
1. how to obtain current line num. of this trigger?
2. how to check the next line of this trigger?
if I am able to get the line num.(lineNum) and use
GetLineInfo(lineNum + 1, 3). In this time, the new line might not be recevied from the server, will it return nil?
Or I can set a callback function which will be executed once (lineNum + 1) line is recevied?
Thanks!
Im look for a way to check the next line recevied after a trigger executed.
For example:
here is a trigger: ^Andy says xxx
and it is triggered.
i need to check the next line after this trigger to decide what commands will be sent.
so i got two questions:
1. how to obtain current line num. of this trigger?
2. how to check the next line of this trigger?
if I am able to get the line num.(lineNum) and use
GetLineInfo(lineNum + 1, 3). In this time, the new line might not be recevied from the server, will it return nil?
Or I can set a callback function which will be executed once (lineNum + 1) line is recevied?
Thanks!