Running into an issue where I'm trying to use my tooltip code and its spitting out "function '=' requires exactly 2 paramters, 1 were provided" but not telling me the line or where. Im beating my head against this and I know its gonna be obvious and/or stupid
[h: SaveTooltip = hoverTooltip2(130, "blue", SaveEquat, "8" 8, "PB", Proficiency, "Int Mod", intmod)]
[h: SaveEquat = strformat("8 + PB + Mod")]
[h: SaveRoll = 8 + Proficiency + IntMod]
[IF(SpellcastingStat != ''),CODE:{
<div style="background-color: #default; color:#black; padding-top:2px; padding-bottom:5px; padding-left:8px; padding-right:8px;">
<b>[r: Name]</b>
<div style="background-color: #FFFFFF; color: #000000; paddiong:2px;">
<span style="font-size:1.5em;">Spell Save DC = <b><span style="font-size:1.5em;" title="[r:SaveTooltip]">[r: SaveRoll]</b></span></span>
</div>
</div>
};{
[r: "You do not have a spellcasting stat listed!"]
}]```
Tooltip code: ```[h: width = arg(0)]
[h: bgcolor = arg(1)]
[h: caption = arg(2)]
[h: entryText = ""]
[h: maxArg = floor((argCount()-3)/2)]
[h, for(arg_i, 0, maxArg):
entryText = entryText + strformat("<tr><th>%s</th><td>%s</td></tr>", arg(2*arg_i+3), arg(2*arg_i+4))
]
[h: macro.return = strformat("<html><table width=%{width} bgcolor=black cellspacing=1><table width=%{width} bgcolor=white color=black cellspacing=2><caption nowrap bgcolor=%{bgcolor} color=black>%{caption}</caption>%{entryText}</table></table></html>")]```
