Code: Select all
[macro("RollInitiative@Lib:Blakey"): token.name]
Moderators: dorpond, trevor, Azhrei
Code: Select all
[macro("RollInitiative@Lib:Blakey"): token.name]
Code: Select all
[MyName= getStrProp(macro.args, "Name")]
[h,token(MyName): addToInitiative()]
Code: Select all
[MyName= getStrProp(macro.args, "Name")]
[H, token('"' + MyName + '"'): addToInitiative()]
Code: Select all
*@SheetLauncher:[macro("DisplayStats@this"):token.name]
Code: Select all
[H:tokenName = json.get(macro.args, 0)]
[frame("MonsterStatCard"): {
<p> MY HTML HERE </p>
}]
Code: Select all
<b><a href="macro://RollInitiative@Lib:Blakey/all/TOKEN?Name=[tokenName]">Initiative</a></b> +7
Code: Select all
[MyName= getStrProp(macro.args, "Name")]
[h,token(MyName): addToInitiative()]
Code: Select all
[H:tokenName = json.get(macro.args, 0)]
<[tokenName]>
Code: Select all
[H: name=getStrProp(macro.args, "Name")]
I am called "[name]" <br/>
[H:Targets = getTokens()]
[FOREACH(target, Targets, "<br>"), CODE: {
He is called "[getName(target)]" -
[if (name == target), code : {
Found me!
};
{
That is not me.
};]
}]
Code: Select all
Blakey: I am called "b"
He is called "a" - That is not me.
He is called "b" - That is not me.
He is called "c" - That is not me.
Code: Select all
<a href="macro://RollInitiative@Lib:Blakey/all/TOKEN?Name=[tokenName]">Initiative</a>
Code: Select all
<a href="macro://RollInitiative@Lib:Blakey/all/TOKEN?Name=[r:tokenName]">Initiative</a>
Are you aware it has a google code repository? I think you could go and download it right now and built it for yourself...Rumble wrote:Blakey, I'd love to give the framework a whirl. I'm also interested in looking at TokenMaker and seeing if I can extend it; that would r0xx0r my b0xx0rz, as the youth used to say.
I'd love to give this a whirl. (All we'd need to do now is beg Rumble to configure a mod or somesuch to get TM to create Rumble tokens).Blakey wrote:Just out of curiosity, does anyone out there think they might be interested in trying out my new FW which requires TM to make tokens for it?
I knew about the source stuff; what I meant was just getting a look at the newly refactored code (can't do that now, but I will later today).Blakey wrote:Are you aware it has a google code repository? I think you could go and download it right now and built it for yourself...
At this precise moment in time it's relatively stable. In fact I just made 2 JAR files, one for NPCMaker.jar and one for PCMaker.jar. These combined with my test campaign would be enough to test it but it would be a massive case of "alpha test - user beware".
AidyBaby wrote:I'd love to give this a whirl. (All we'd need to do now is beg Rumble to configure a mod or somesuch to get TM to create Rumble tokens).