#1. It doesn't display the macrolink in the chat box.
#2, when using just the macrolink code, I get EVERYTHING, "« macroLink("MISSED. Click to make a hit!", "makeahit@lib:wizard", "none", "attackname='Greatsword';attackdamage='3D6+15'") = macroLink("MISSED. Click to make a hit!", "makeahit@lib:wizard", "none", "attackname='Greatsword';attackdamage='3D6+15'") = MISSED. Click to make a hit! »"
No idea what I am doing wrong.
Code: Select all
[r, if(didhit==1), CODE: {
[H:abort(input(
"nothing| Attack hit: "+attackname+" | |LABEL|SPAN=TRUE",
"nothing| Players AC: "+playerac+" | |LABEL|SPAN=TRUE",
"nothing| Players Con: "+Constitution+" | |LABEL|SPAN=TRUE",
"nothing| AC Hit: "+achit+"||LABEL|SPAN=TRUE",
"nothing| Current player HP: "+HP+"||LABEL|SPAN=TRUE",
"nothing| HP after application: "+hpremain+"||LABEL|SPAN=TRUE",
"nothing| <html>Result: "+playerresult+"||LABEL|SPAN=TRUE",
"DamageTaken | " + damagetotake + " | Damage rolled (0=miss) | TEXT | WIDTH=5"
))]
};{
[g:macroLink('MISSED. Click to make a hit!', 'makeahit@lib:wizard', 'none', 'attackname="Greatsword";attackdamage="3D6+15"')]
}]