Using user script in unitrunker

Status
Not open for further replies.

morha13

Member
Joined
Sep 29, 2016
Messages
30
Hello, I've seen there's an option of userscript in unitrunker. I've read online and I found that when you set it, it runs user.js in unitrunker's folder. I managed to get it working, but I know it also passed parameters (such as label, action and tag) to the file.
I didn't success receiving those parameters. How do I get them from the js file? Is there a main function I should create and then it will send the parameters there or is there a global variable that I can access?

Thank you!
 

morha13

Member
Joined
Sep 29, 2016
Messages
30
Status
Not open for further replies.
Top