17.03.2025, 13:22
(17.03.2025, 10:20)admin Wrote: Use this:
Code:scriptid = 23 scriptcode = [[ log('1234') ]] params = { data = { id = scriptid, scriptonly = true, }, script = scriptcode } webrequest = require('webrequest') res, err = webrequest('scripting', 'save', params)
Sadly it didnt work. I also try to run your whole code alone but it the script which has ID = 23 didnt change to log('1234')