Page 1 of 1

Change profile preferences from script?

Posted: Tue Mar 24, 2015 2:51 am
by Nyyrazzilyss
Is there any way to change the profile preferences from a script?

In particular, i'd like to be able to force autoclear input line to true from a package. Alternatively, any opinion on changing it to default to on, instead of off?

Re: Change profile preferences from script?

Posted: Tue Mar 24, 2015 6:07 pm
by Belgarath
There is no way to turn the setting on or off via script, but there is a way to clear the input line:
Code: [show] | [select all] lua
-- don't be evil with this!
clearCmdLine()