I know this has to be easy to do compared to some of the other hotspot pw change scripts I've seen out there.
We have a new company we are taking over support on(hotel). They insist we follow the same hotspot password change context they currently have in place.
The current system in place is going away once we assume responsibility his web portal solution is hosted on his own web server so it goes with them.
Currently the system we need to emulate sets the hotspot password to the first 3 character of the month ie Jul for July and the date and combines it like Jul31.
In pseudo code my logic is this in the script grab the date declare month using :pick to only hold first 3 characters of the month then in a separate declaration declare the day of the month portion.
then declare a new variable which contains the 3 character representation of the month + day of month as variable we'll call newPassword
then issue the :set newPassword($3character variable representing the month . $day of the month variable
/ip hotspot user set [/ip hotspot user find name=user1"] password=$newPassword
I'd appreciate any assistance in this.