Returns whether the player is currently resting. Rest state is provided in Inns and major cities and allows the player to log out immediately (instead of after a brief delay) and accrue bonus XP to be awarded for kills.


See also Player information functions.

Signature:

resting = IsResting()

Returns:

  • resting - 1 if the player is resting; otherwise nil (boolean)