CMD ACT CLEAR

From XRPSAPIWiki

Jump to: navigation, search

Command Description

This command is used to clear a status affect from a user within 20m.


The string portion of the send message syntax for this command is just the effect name


Example Synatx

Apply a poison for 90 seconds with a hit of 10 per regen tick

llMessageLinked(LINK_THIS,  CMD_ACT_CLEAR,  "POISON",NULL_KEY);


If you wanted to set a target first:

llMessageLinked(LINK_THIS, CMD_SET_TARGET,  "Baron Nowhere", NULL_KEY);
llMessageLinked(LINK_THIS,  CMD_ACT_CLEAR,  "SILENCE", NULL_KEY);


If you wanted to clear an effect from all nearby users:

llMessageLinked(LINK_THIS, CMD_SET_TARGET,  "ALL", NULL_KEY);
llMessageLinked(LINK_THIS,  CMD_ACT_CLEAR,  "BLIND", NULL_KEY);


References

Personal tools