I am using the amazing ammo script to refill psionic points for a character in Rifts. but i am running into an interesting issue i didn’t see covered in the forums. To recover psionic points the character meditates and receives 8 points per hour of meditation. so i have a set number that goes to fill my psionic points. So the script i have is +8 but i get an error code that the number i am trying to fill is larger than the container or past my max number of points allowed. So what can I use to get it to fill my points and if it goes over max it fills to max and ignores the balance. so for a specific example. Bob the psychic has a max of 10 points he used up 5 leaving 5. They take a long rest. Bob uses the advanced meditation costing 2 points bringing his total to 3 points. after an hour he gets 8 points which would be 11 but his max is 10. How do i fill to max and ignore the final point. So i have an ability listed as the advanced meditation. It references Med1or Med2 for how long they meditated. Its the referenced ability that is doing the transfer. &{template:default}{{name=Advanced Meditation}} {{[1 hour](~selected|Med1)}} {{[2 hours](~selected|Med2)}} I.S.P are the psionic points this is the code from the ability i labeled Med1 for 1 hour meditation -2 is the psionic cost of the power. and its the +8 i need modified to fill isp to max and ignore the rest. !ammo @{selected|token_id} character_isp -2 I.S.P !ammo @{selected|token_id} character_isp +8 I.S.P. Med 2 is same as med 1 except for its 2 hours and you get 16 points at the cost of 2. Thanks for any assistance -Chuck