So the issue is that I'm setting up a Spell Copy script, which works fine !modattr --charid -LnNCU7y_Ek8OVhQ1d9X --repeating_equipment_-LnRyvI3OpuZ5d1L1xEu_uses|-[[?{What is the level of the spell being transcribed?}*50]] --silent But it does nothing regarding a negative integer, it simply outputs it as negative. So if the character has 25 gp of transcription materials (inks, paper, etc.) and copies a 1st level spell (which costs 50gp), the result is not an error message, it results in a value of -25. If I use !modbattr, again it throws no error, just results in value 0. Is there something that could be added, such as --no-negative-value , that would throw an error if the result would be a negative number using !modattr?