- check is the skill to check for
Returns true if your character currently has the skill (permanent as applicable or bought in-run) or false otherwise.
The following prints a friendly reminder to grab some lucre if you don't have Olfaction.
if (! have_skill($skill[Transcendent Olfaction]) ) print("Don't forget to grab a lucre today; you want that sniffytome!" , "red");
The CLI command "skills" is similar.
Always returns false when no character is logged in.