#Moving a GM to scene
1 messages · Page 1 of 1 (latest)
As said game.users.filter(u => u.data.name == 'ShopKeeper') should give you the GM you want.
And a quick search on MultilevelTokens on line 1000 has something like this.
game.socket.emit("pullToScene", outScene.id, user.id));
I think the last issue for you is if this is possible while the user is not active.
Can you tell me more about the Active status of a player ?
Does it mean if he currently has an active connexion ?
or some kind of afk timer ?
Because otherwise, thanks to you, my module is working
as soon as I refresh any page, the Shopkeeper GM account is pulled from wherever he is to the Shop scene
making it resilient to page reloads
just need some light browser automation and my bot should be ready