%affectSetSkillName()

Aliases%affectSetSkillName( )
Parametersobject @affect, mixed @skill

    Sets the associated skill name for the target @affect object. The given
@skill may either be the ID of a valid in-game skill, or the name of the
skill. If the name is used, it does not necessarily have to exist in the
game. Support for non-existent skills is allowed since your scripts may
have special purposes for the affect and thus require a unique name. If
the skill name is successfully set then 1 is returned; otherwise 0 is
returned.

Example:
--------------------------------------------------------------------------

%affectSetSkillName( @affect, "deadly vapours" )