[h: link = macroLinkText( "Write HPs@lib:Wizard", "gm" )]
[h: execLink( link, 1 )]
However, when a player clicks on it, it doesn't seem to run.
If it matters the macro it is running is as follows:
Code: Select all
[h:pcids=getPC()]
[h:exportplayername="c:/maptooldata/names.txt"]
[h:exportplayerhp="c:/maptooldata/hps.txt"]
[h:exportData(exportplayername, "", 0)]
[h:exportData(exportplayerhp, "", 0)]
[FOREACH(id,pcids), CODE:{
[h:exportData(exportplayername, getName(id), 1)]
[h:hpdataexport=getProperty("HP", id)]
[h:hpdataexport=hpdataexport+"/"]
[h:hpdataexport=hpdataexport+getProperty("MAXHP", id)]
[h:exportData(exportplayerhp, hpdataexport, 1)]
}]
Lil help?