Cancels an existing MIT timer.
mk1MIT(MK1_MIT_CANCEL, 0, {ident}, {callback});
xiIMP_Send("", "_fw:mit", 0, "", {ident}, ["c", 0], {callback});
| Parameter | Value |
|---|---|
{ident} |
integer returned with response, if any. Does not have to match the {ident} used to create the MIT timer. |
{callback} |
string that was previously used to create the MIT timer. |
This request causes the MIT interface to cancel any existing MIT timer created by the script that has the same {callback} value. This operation works on both one-shot and periodic timers.
The MIT interface only responds if an error occurs when processing the request.
| Parameter | Value |
|---|---|
| prim | UUID of root prim. |
| target | Name of requesting script. |
| signed | "" |
| status | One of the following:
Other values may be added in the future. |
| ident | {ident} |
| params | ["c", 0] |
| data | {callback} |
| linknum | 1 |
| source | "_fw:mit" |
Error handling is optional for this request.
Software should check that source is "_fw:mit", target is llGetScriptName(), and status starts with "err:". If so, the script should identify the requested timer with the ident, params, and data values, then handle the error as desired.