[plugin] Access to clients class (GDTMP)

Hello there ! (i’m french)

I have a question for you, because i didn’t find the answer (obviously).

i created a asyn_test.js in the “plugin” folder of GDTMP.

i want to make a function who change the client.name (object > client, var > name).

but, i can’t access to client.name because this class isn’t instanciated in my async_test.js.

how can i access to the client class who is located in a another file ? (i practiced js a year ago)

Thank for help.