Clickable links in Geyser objects
Posted: Tue Nov 26, 2013 10:37 am
After two hours of late-night coding I'm pretty stumped on this one. Basically I have a name list of who's in a room gathered from GMCP, stuffed into a table, and output into a reporting MiniConsole. The table is simply a character's name as the key with the value as their full name. So for example:
{
CharacterName = "Epic, CharacterName of epicness"
}
It's then passed through this:
So how would I go about making it equate to that line's character name in the on-click code? It's bit beyond me at the moment.
Thanks.
{
CharacterName = "Epic, CharacterName of epicness"
}
It's then passed through this:
When activated, if the person tracking tab is visible, it clears it, sifts through the table, sets the short name in a temp variable, goes through a config option on whether to show the user's name or not, then either echos it, or echos any other name as a link. It works perfect save for the code fired on click. Given how it's set above, it just targets the last name echoed due to the on-click code apparently being fired after the variables are altered.
So how would I go about making it equate to that line's character name in the on-click code? It's bit beyond me at the moment.
Thanks.