(@ "Name" @ var)
edit: hmm, or maybe you don't need the initial concat!
However, you'd much rather use catchevent with such dynamically named objects, since otherewise you'd have to account for each var, and subsequent name.
PHP Code:
new GuiControl("Name" @ var) {
catchevent(this.name,"onMousedown","onGUIclicked");
}
function onGUIclicked(obj,keymod,mx,my,clicks) {
player.chat = obj.name @ " was clicked at " @ mx SPC my @ ", " @ clicks @ " times!";
}