Hi Masher,
This is somewhat of a "wishlist" item that I could live without, but I'd like to be able to use variables to give users a degree of control over certain options. UGCC of course has public variables, but that presents a challenge in that the user can set any option or even run another command as easily as '; echo your command here;.
Some ability to control what users can input to the variables could be helpful. IMO, the best way to do this from my perspective would be allowing UGCC administrators to define a regex per variable, that user input is validated against. For instance, if I knew a variable could only accept numeric values I would enter ^[0-9]*$, so if a user enters anything other than numbers they get an error.
Thanks!
Variable Validation
-
- Site Admin
- Posts: 3612
- Joined: Thu Apr 20, 2006 2:54 pm
- Location: America's Heartland
- Contact:
Re: Variable Validation
Thats a great idea, will look into adding that.
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!