My path

From Kolmafia
Jump to navigation Jump to search

Function Syntax

path my_path()

Returns the path your character chose upon ascension ($path[ none ] when in aftercore).

Code Samples

This prints something different based on whether or not you are in a Bees Hate You ascension path.

if(my_path() == $path[Bees Hate You])
   print("I'm doing a Bees Hate You run.");
else print("Bees do not hate me, thank goodness.");

See Also

my_path_id() | path_id_to_name() | path_name_to_id() | my_sign() | knoll_available() | canadia_available() | gnomads_available()

Special

This function returns "None" when not logged in.