Essentially, what I want to do is type into the console:
runscript SetAFlag flag_name parent_plot_name new_value
and have my SetAFlag script set or clear the flag as appropriate.
The problem is that WR_SetPlotFlag takes constants for the plot and flag names, and I can't find an easy way to get those constants from console parameters.
There has to be a better way than writing a separate script for each flag, but I'm just not seeing it. Can anyone help?





Retour en haut






