Talk:AutomatedBilling
Hey there guys.
I've noticed the following in the explanation:
User Manager Field Requirements
This script also requires each and every user to have the following user fields filled in:
/tool user-manager user print
* First Name * Last Name * E-mail Address * Pool Name * Comment Field
I'm using the latest rOS (3.2) and I'm not seeing any "Comment Filed" under User manager. How will this effect the setup?
Some corrections.
Running these in RouterOS 3.0v6 the following corrections are needed;
In the MonthEnd script:
move the line :global found to the beginning of the variable list
In the Useage Warnings script
correct the line> :set percentage ?megstotal * 100) / $cap) to> :set percentage (($megstotal * 100) / $cap)
In the Billings script
correct the line> :if ([$poolname] = "usagebased") do={ :set usagecharge (?gigstotal/100) * 7) + 7) } to> :if ([$poolname] = "usagebased") do={ :set usagecharge ((($gigstotal/100) * 7) + 7) }
The wretched editor is not carrying the alterations across correctly. In both corrections replace the questionmark where it appears with two plain open-brackets.