ChoiceScript Saving Plugin (Update: April 2023)

I’m having trouble with the saving system. I search all the similar threads but i didn’t find the way to install it properly:P

  1. smPluginMenuAddon.js downloaded and put in the web folder.
  2. where/who should i add script src="…/smplugin.js" to the index.html on the web folder ?

I dont know if that helps but by refreshing the game the error I’m getting is:
startup line 19: Non-existet command ‘sm_int’

All the helps is appreciated

Update: I download the smPlugin.js and i put in my web folder. How i go to the next step and add index.html?
i mean how i do this: smPlugin MUST come BEFORE the add-on file in index.html

with kind regards,
Sersor