I wanna make a script that.. after I send a sms a script will be ran , that is what I know to do, what I do not know to do is to make a script that will read
/system health get voltage
and then send a sms back to me with that value like:
/tool sms send usb1 “9909890908” message=“The voltage is $voltage”
any help will be apreciated
thx
did it my self
:local thisbox [/system identity get name]
:global voltage [/system health get voltage]
/tool sms send usb1 “89898989089” message=“$thisbox voltage is $voltage”}
the only problem is that I do not know how to get that value /10 because my voltage is lets say 16.3 volts… and I get a sms with the value 163