//Setup whats written in the books
IfSpawned
  tmpargument = rand % 6
  SetContent

//Show em whats written
IfBumped
  SetTargetToWhoeverBumped
  IfTargetIsAPlayer 
    tmpargument = 0
    IfStateIs
      GetContent
      SendMessageNear
      tmpargument = 1
      SetState
      tmpargument = 85
      SetTime

//Player can try again
IfTimeOut
  tmpargument = 0
  SetState

End    