How do I add scripting as a script on a question?
I thought this would be self explanitory.
Press the Lua button, put code between
~s