05-12-2019, 02:11 PM
I'm not sure if this should be a new topic, but DWAINE arguments in new scripts are now broken. Values like $arg0 seem to be saved, so if writing a script is the first thing you do, it's fine. But if you've run any scripts beforehand, the value you used gets put in the new script instead.
As an example.
You make the script do_thing that goes:
do $arg0 thing $arg1
and run do_thing 1 2. It works. If you then write do_another_thing:
do $arg0 something $arg1
The script comes out as:
do 1 something 2.
It remembers the arguments you used before and puts them in all new scripts. It doesn't remember between sessions, so you can log in and out to fix it, but it's definitely not meant to happen.
As an example.
You make the script do_thing that goes:
do $arg0 thing $arg1
and run do_thing 1 2. It works. If you then write do_another_thing:
do $arg0 something $arg1
The script comes out as:
do 1 something 2.
It remembers the arguments you used before and puts them in all new scripts. It doesn't remember between sessions, so you can log in and out to fix it, but it's definitely not meant to happen.