Is there a way to easily pass the id of the user who activates a macro in the terminal?
I creating a tunnelling thing where the players can try and hack each others networks and connect to other terminals but skip over their target's terminal.
I think the issue you might be getting is because Terminal uses a GM proxy for macros. If I’m understanding right, I think you would be able to do what you want if the macro was simply ran on the user’s machine.
If that’s the case, there is currently one way to run macros from Terminal without a GM proxy. This requires Foundry V12+ as it uses Regions.
from there you can get the user’s id with game.user.id
Again, not totally sure if I’m on the mark here. So, let me know more details if this isn’t what you had in mind.