
As the title says, I'm trying to adapt the script's code to show the terminal on the chat to the player who clicks the button ONLY.
Now, I understand this is a stated limitation of the script itself but I can see that it works with "/w gm" just before the <table> opening at line 59; so the first question is: how can I find the player who activated the macro and pass his name to substitute the "gm" there via JS? one Idea was to use "selected" (for PC) and "target" (for the terminal) in the macro but still it would need a rework of the JS code.
secondary way: I tried using the command !me (from a script from the marvelous Aaron i dont remember the name of) just before the <table> on line 59, but had no luck. I was even trying to merge its very code in order to substitute its "who" costant but I think I made nothing but a horrible mess, I overestimated my JS skills I guess..
Can someone help me with this conundrum? we may even figure out a way to update fallout terminal for private screens, I'm sure that by combining the !me command with it we can do it! :-)