I am working on an inscription script and am wondering on the best way to grab an amount of regs based on the amount of something that I am making. My menu has the combo box where a spell can be chosen and there is an edit box where you can edit how many of the scroll to make. I have never coded anything that multiplies the amount of regs needed by the amount that is being made so not sure how to code it.
Here is an example of the Clumsy Scroll
sub Item1ma ; Clumsy Scroll
set %mana 4
set %regs %bm , _ , %ns
set %current QXL
set %clumsy QXL
set %makestr Clumsy
set %XClick1 27 ; First Circle
set %YClick1 90
set %XClick2 230 ; Clumsy
set %YClick2 70
set %numclick 2
return
Any suggestions?