Difference between revisions of "On sockread"
From Scriptwiki
m |
m |
||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
The sockread event is triggered when there is info waiting to be read on the specified connection. You can read this info using the /sockread command. | The sockread event is triggered when there is info waiting to be read on the specified connection. You can read this info using the /sockread command. | ||
− | '''Note:''' If this event triggers but no [[/sockread]] is performed to attempt to read the buffer, it is assumed that no script exists that is handling this buffer, so it is cleared and the info it contained is lost. | + | '''Note:''' If this event triggers but no [[sockread|/sockread]] is performed to attempt to read the buffer, it is assumed that no script exists that is handling this buffer, so it is cleared and the info it contained is lost. |
+ | |||
+ | == See also == | ||
+ | * [[sockread|/sockread]] | ||
+ | |||
+ | [[Category:Socket]] |
Latest revision as of 09:14, 2 July 2007
on 1:sockread:name:commands
The sockread event is triggered when there is info waiting to be read on the specified connection. You can read this info using the /sockread command.
Note: If this event triggers but no /sockread is performed to attempt to read the buffer, it is assumed that no script exists that is handling this buffer, so it is cleared and the info it contained is lost.