Could somebody please help with the formula for a prayer alerter? 
'One dose of a prayer potion restores Prayer points rounded down using this simple equation, where x is equal to your Prayer level:' 
7+(x/4) 
  
How would I incorporate this into a piece of code, do I replace X with a method to grab the prayer level? 
  
Cheers.