1. SRL Junior Member
Join Date
Feb 2012
Posts
66
Mentioned
0 Post(s)
Quoted
0 Post(s)

## Helpp

Hey all Im slightly confused here by the run energy, I want to add energy support to one of my scripts, when it banks I want it to withdraw an energy pot if it is below 25% run energy, I can make it withdraw, and drink pot, I just cant get it to recognize that it is below 25% run. How would I write a function to check run %?

2. Originally Posted by bigbutts5
Hey all Im slightly confused here by the run energy, I want to add energy support to one of my scripts, when it banks I want it to withdraw an energy pot if it is below 25% run energy, I can make it withdraw, and drink pot, I just cant get it to recognize that it is below 25% run. How would I write a function to check run %?
By using the almighty search tool inside the srl library...
Well to start, you could use
Simba Code:
if RunEnergy <= 25 then
to check the run energy, the banking procedure and drinking procedure is VERY simple, there are several commands (such as OpenBank, GetBankItemAmount, etc) or you can use your own dtms.

~Caotom

3. SRL Junior Member
Join Date
Feb 2012
Posts
66
Mentioned
0 Post(s)
Quoted
0 Post(s)
I kept using run energy wrong >.< Thanks mate! I have everything else! haha