RPTools.net

Discussion and Support

Skip to content

It is currently Tue Nov 21, 2017 1:20 am 






Reply to topic  [ 1625 posts ]  Go to page Previous  1 ... 105, 106, 107, 108, 109

Previous topic | Next topic 

  Print view

Author Message
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9419
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.42 [VIEW ANIMATIO
PostPosted: Wed Aug 30, 2017 7:55 am 
ok. updated the message macro. it now allows for an additional parameter to set the width of the message. See function manual for more detailed instructions.

_________________
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Sun Feb 25, 2007 11:53 am
Posts: 3774
Location: MD
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.42 [VIEW ANIMATIO
PostPosted: Wed Aug 30, 2017 9:35 pm 
wolph42 wrote:
ok. updated the message macro. it now allows for an additional parameter to set the width of the message. See function manual for more detailed instructions.

Thanks.

I went ahead and did it a slightly different way, adding an optional width field to the header text argument:

Code:
[h,if(argCount() > 1): headerText   = arg(1) ; headerText   = ""]
[h, if (indexOf(headerText, ":width=") != -1), CODE:
   {
      [h: break = indexOf(headerText, ":width=")]
      [h: width = substring(headerText, break + 7)]
      [h: headerText = substring(headerText, 0, break)]
      
   };
   {
      [h: width = "100%"]
   }
]

_________________
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9419
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.42 [VIEW ANIMATIO
PostPosted: Thu Aug 31, 2017 12:24 am 
Ah yes, that's also a possibility. Ive aded that in the BoT as well. (That is, alternatively you can use either the headertext width or arg(7), where arg(7) precedes the headertext. Manual is also updated with this. bot version 42d

_________________
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS


Top
 Profile  
 
 Offline
Kobold
 
Joined: Wed Oct 14, 2015 10:39 pm
Posts: 3
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.42 [VIEW ANIMATIO
PostPosted: Fri Nov 17, 2017 6:54 am 
I tried to import the tools and a few other parts, but i'm getting an error saying this was meant for 1.4.1.5 and if i continue it gives a java exception.
I don't see that it on the download page anymore, but that would still put it in the development release as the version i'm running is the stable 1.4.0.5.

Are those development versions good to use, or am i just doing something wrong and it shouldn't be giving me this popup?


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9419
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.42 [VIEW ANIMATIO
PostPosted: Fri Nov 17, 2017 7:05 am 
Apparently i made the mistake of saving it using a later version. The beta version s however work great!

_________________
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 1625 posts ]  Go to page Previous  1 ... 105, 106, 107, 108, 109

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: No registered users and 1 guest





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman