My thrall

From Kolmafia
Jump to navigation Jump to search

Function Syntax

thrall my_thrall()

Returns your current pasta thrall.

Code Samples

Prints your current thrall and his name.

thrall current = my_thrall();
if(current != $thrall[none])
   print("My current Pasta Thrall is " + current.name +", the "+ current);

See Also

to_thrall()

Special

When not logged in, returns $thrall[none].