This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
lua:ch:removeaffect [2014/12/27 08:03] vodur created |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== removeaffect ====== | ||
| - | |||
| - | Syntax: removeaffect( type[string] ) | ||
| - | |||
| - | <code>removeaffect( "custom_affect", customtag[string] ) | ||
| - | removeaffect( affect[AFFECT] ) | ||
| - | |||
| - | </code> | ||
| - | |||
| - | Example1: | ||
| - | |||
| - | ch:removeaffect("custom_affect", "Irena's curse") | ||
| - | |||
| - | [[http://rooflez.com/wiki/index.php?n=Main.ChRemoveaffect?action=sourceblock&num=1|[$[Get Code]]]] | ||
| - | |||
| - | Example2: | ||
| - | |||
| - | [[http://rooflez.com/wiki/index.php?n=Main.ChRemoveaffect?action=sourceblock&num=2|[$[Get Code]]]] | ||
| - | |||
| - | Example3: | ||
| - | |||
| - | [[http://rooflez.com/wiki/index.php?n=Main.ChRemoveaffect?action=sourceblock&num=3|[$[Get Code]]]] | ||
| - | |||
| - | [[http://rooflez.com/wiki/index.php?n=Main.ChRemoveaffect?action=sourceblock&num=4|[$[Get Code]]]] | ||
| - | |||
| - | See also [[:lua:ch:addaffect|addaffect]] | ||