User contributions for Craig
Jump to navigation
Jump to search
22 December 2008
- 14:3314:33, 22 December 2008 diff hist +1 Updating Macro Buttons Using a Macro (Group Method) No edit summary
- 13:2513:25, 22 December 2008 diff hist +236 N Glossary New page: ;Token:A visual marker that is dropped on a MapTool map. Tokens usually represent characters, monsters, or NPCs, and often including an image as well as a set of token properties which def...
- 13:1313:13, 22 December 2008 diff hist +128 Updating Macro Buttons Using Macros No edit summary
- 13:1213:12, 22 December 2008 diff hist 0 N File:ButtonSomethingOrOtherUsed.png No edit summary current
- 13:1113:11, 22 December 2008 diff hist 0 N File:ButtonSomethingOrOtherNotUsed.png No edit summary current
- 12:1112:11, 22 December 2008 diff hist +11,359 N Updating Macro Buttons Using a Macro (Group Method) New page: ==Updating color of our macro buttons using DnD4e as an example== For an example I will use DnD4e powers, when a power is used it will then update the button to show this. Although this is...
- 12:1012:10, 22 December 2008 diff hist 0 N File:PowerUsedDialogGroup.png No edit summary current
- 11:1311:13, 22 December 2008 diff hist 0 N File:ButtonSomethingOrOtherDefaultGroup.png No edit summary current
- 11:1311:13, 22 December 2008 diff hist 0 N File:ButtonSomethingOrOtherBlueGroup.png No edit summary current
- 11:0111:01, 22 December 2008 diff hist +8 Updating Macro Buttons Using Macros →Dynamically Updating a Token's Macro Buttons
- 09:2609:26, 22 December 2008 diff hist +9,897 N Updating Macro Buttons Using a Macro (Prefix Method) New page: ==Updating color of our macro buttons using DnD4e as an example== For an example I will use DnD4e powers, when a power is used it will then update the button to show this. Although this is...
- 09:1809:18, 22 December 2008 diff hist +1,100 N Updating Macro Buttons Using Macros New page: ==Dynamically Updating a Token's Macro Buttons== Some times you want to modify what a Token:token's macro button from within a macro, this could be to visually represent a spell o...
- 08:5408:54, 22 December 2008 diff hist 0 N File:PowerUsedDialog.png No edit summary current
- 07:3107:31, 22 December 2008 diff hist 0 N File:ButtonSomethingOrOtherBlue.png No edit summary current
- 07:3007:30, 22 December 2008 diff hist 0 N File:ButtonSomethingOrOtherDefault.png No edit summary current
- 07:2507:25, 22 December 2008 diff hist 0 N File:ShortRest1MacroButton.png No edit summary current
- 02:1702:17, 22 December 2008 diff hist +1 Main Page No edit summary
17 December 2008
- 06:2406:24, 17 December 2008 diff hist +10 Main Page No edit summary
- 04:5304:53, 17 December 2008 diff hist 0 N File:CodeBlock.png No edit summary current
16 December 2008
- 20:2620:26, 16 December 2008 diff hist +35 Macros:Roll:types No edit summary
- 20:2320:23, 16 December 2008 diff hist +2,660 N Macros:Roll:types New page: ==[]/{} Roll Types and Options== Text that you type into MapTool or execute from a macro button is scanned for [ ] and { } blocks. The text within these blocks is evaluated and the out...
- 20:1320:13, 16 December 2008 diff hist 0 File:2Plus2T.png uploaded a new version of "Image:2Plus2T.png" current
- 20:1320:13, 16 December 2008 diff hist 0 File:2Plus2T-Four.png uploaded a new version of "Image:2Plus2T-Four.png" current
- 20:0720:07, 16 December 2008 diff hist 0 N File:2Plus2T-Four.png No edit summary
- 20:0620:06, 16 December 2008 diff hist 0 N File:2Plus2T.png No edit summary
- 19:4019:40, 16 December 2008 diff hist 0 N File:2Plus2Unformatted.png No edit summary current
- 19:3619:36, 16 December 2008 diff hist 0 N File:2Plus2Result.png No edit summary current
- 19:2719:27, 16 December 2008 diff hist 0 N File:2Plus2Expanded.png No edit summary current
- 19:2219:22, 16 December 2008 diff hist 0 N File:2Plus2Hidden.png No edit summary current
- 18:4718:47, 16 December 2008 diff hist 0 N File:2Plus2ToolTip.png No edit summary current
- 18:3518:35, 16 December 2008 diff hist 0 N File:Brace2Plus2.png No edit summary current
- 17:5517:55, 16 December 2008 diff hist +53 Main Page No edit summary
- 01:4701:47, 16 December 2008 diff hist −19 Main Page No edit summary
- 01:4101:41, 16 December 2008 diff hist +61 Main Page No edit summary
15 December 2008
- 09:3709:37, 15 December 2008 diff hist +83 macros:Tutorials No edit summary
14 December 2008
- 14:4414:44, 14 December 2008 diff hist −1 macros:Functions:list of functions No edit summary
- 14:4314:43, 14 December 2008 diff hist +339 Introduction to Dialogs and Frames No edit summary
- 14:3314:33, 14 December 2008 diff hist +16,062 Introduction to Dialogs and Frames No edit summary
- 14:3214:32, 14 December 2008 diff hist 0 N File:CharSheetFrame2.png No edit summary current
- 14:3014:30, 14 December 2008 diff hist 0 N File:CharSheetFrame1.png No edit summary current
- 14:2214:22, 14 December 2008 diff hist 0 N File:ViewWeapons.png No edit summary current
- 14:1814:18, 14 December 2008 diff hist 0 N File:EditWeaponDialog2.png No edit summary current
- 14:1014:10, 14 December 2008 diff hist 0 N File:EditWeaponDialog1.png No edit summary current
- 13:5913:59, 14 December 2008 diff hist +17,606 N Introduction to Dialogs and Frames New page: =An Introduction to MapTool Macro Dialogs and Frames= Please note I will be using CSS and HTML in this tutorial but I will not really be explaining them, if you need a refresher on either ...
- 13:5113:51, 14 December 2008 diff hist 0 N File:CharSheetDialog4.png No edit summary current
- 13:3613:36, 14 December 2008 diff hist 0 N File:CharSheetDialog3.png No edit summary current
- 13:3313:33, 14 December 2008 diff hist 0 N File:CharSheetDialog2.png No edit summary current
- 13:2513:25, 14 December 2008 diff hist 0 N File:CharSheetDialog1.png No edit summary current
- 13:1513:15, 14 December 2008 diff hist 0 N File:DialogRefresh.png No edit summary current
- 13:1213:12, 14 December 2008 diff hist 0 N File:DialogTitle.png No edit summary current
- 13:1013:10, 14 December 2008 diff hist 0 N File:FirstFrame-Docked.png No edit summary current
- 13:0813:08, 14 December 2008 diff hist 0 N File:FirstFrame.png No edit summary current
- 13:0513:05, 14 December 2008 diff hist 0 N File:FirstDialog.png No edit summary current
- 13:0313:03, 14 December 2008 diff hist 0 N File:FirstDailog.png No edit summary current
- 12:4812:48, 14 December 2008 diff hist +25 macros:Tutorials No edit summary
- 12:4612:46, 14 December 2008 diff hist +92 N macros:Tutorials New page: =Macro Tutorials= How to create dialogs and frames
- 12:4412:44, 14 December 2008 diff hist +40 Main Page No edit summary
- 12:0312:03, 14 December 2008 diff hist +8,876 N macros:Functions:list of functions by area New page: ====Mathemateical ==== *abs *absolutevalue *add *average *[[Macros:Functio...
- 11:1311:13, 14 December 2008 diff hist +10 macros:Functions:list of functions No edit summary
- 11:1211:12, 14 December 2008 diff hist +10 Main Page No edit summary
- 11:1211:12, 14 December 2008 diff hist +48 N macros:list of functions Macros:list of functions moved to Macros:Functions:list of functions
- 11:1211:12, 14 December 2008 diff hist 0 m macros:Functions:list of functions Macros:list of functions moved to Macros:Functions:list of functions
- 11:0411:04, 14 December 2008 diff hist +1 varsFromStrProp →Examples
- 11:0411:04, 14 December 2008 diff hist +533 N varsFromStrProp New page: ==Function varsFromStrProp== Creates variables from a Macros:string property list with the values assigned to variables with the names of the keys in the [[Macros:string property lis...
- 10:5710:57, 14 December 2008 diff hist +424 N upper New page: ==Function upper== Returns the upper case version of a string. If the number of characters is not specified then the whole string is converted to upper case. ===Usage=== <source lang="mtm...
- 10:5510:55, 14 December 2008 diff hist +461 N trim New page: ==Function trim== Returns a copy of the string that is passed in with the leading and trailing white space removed. ===Usage=== <source lang="mtmacro" line> [h: str = string(str)] </sour...
- 10:5110:51, 14 December 2008 diff hist +41 N macros:Functions:tblImage Redirecting to Macros:Functions:tableImage
- 10:5110:51, 14 December 2008 diff hist −34 macros:Functions:list of functions →T
- 10:5010:50, 14 December 2008 diff hist +891 N tableImage New page: ==Function tableImage== Gets the image asset value from the specified Table. If the row is not specified then the default Macros:roll for the Table is used. The row can be ei...
- 10:4810:48, 14 December 2008 diff hist +112 table No edit summary
- 10:4410:44, 14 December 2008 diff hist 0 macros:Functions:tbl Redirecting to Macros:Functions:table
- 10:4410:44, 14 December 2008 diff hist +36 N macros:Functions:tbl Redirecting to Macros:Functions:Table
- 10:4310:43, 14 December 2008 diff hist +603 N table New page: ==Function table== Gets the text value from the specified Table. If the row is not specified then the default Macros:roll for the Table is used. The row can be either a const...
- 10:3710:37, 14 December 2008 diff hist +225 N switchToken New page: ==Function switchToken== {{TrustedOnlyFunction}} Changes the Current Token for the remainder of the Macro:Macro. ===Usage=== <source lang="mtmacro" line> [h:...
- 10:3610:36, 14 December 2008 diff hist +34 N sum Redirecting to Macros:Functions:add
- 10:3410:34, 14 December 2008 diff hist −1 subtract No edit summary
- 10:3410:34, 14 December 2008 diff hist +448 N subtract New page: ==Function subract== Subtracts the second number from the first number. Then will continue by subtracting the third number (if any from this result), the function continues subtracting un...
- 10:2010:20, 14 December 2008 diff hist +504 N substring New page: ==Function substring== Returns the substring of the string from the start to the end indexes. Indexes for strings start at 0. If the end parameter is not specified then the substring exte...
- 10:0410:04, 14 December 2008 diff hist +39 macros:Functions:list of functions →S
- 10:0210:02, 14 December 2008 diff hist +677 N stringToList New page: ==Function stringToList== Converts a string into a Macros:string list using a pattern to determine separator between elements. The specified delimiter is used to separate the element...
- 09:5009:50, 14 December 2008 diff hist +2,564 N strformat New page: ==Function strformat== Returns a string formatted based the escape sequences in the passed in string and optional arguments. The format string can contain special instructions that are in...
- 09:3509:35, 14 December 2008 diff hist +1 squareroot Redirecting to Macros:Functions:sqrt
- 09:3309:33, 14 December 2008 diff hist +34 N squareroot Redirecting to Macros:Functions:sqr
- 09:3109:31, 14 December 2008 diff hist +294 N macros:Functions:sqrt New page: ==Function squareroot== Returns the square root of a number. ===Usage=== <source lang="mtmacro" line> [h: num = squareroot(num)] [h: num = sqrt(num)] </source> ===Exam...
- 09:2809:28, 14 December 2008 diff hist +34 N square Redirecting to Macros:Functions:sqr
- 09:2709:27, 14 December 2008 diff hist +278 N macros:Functions:sqr New page: ==Function square== Returns the square of a number. ===Usage=== <source lang="mtmacro" line> [h: num = square(num)] [h: num = sqr(num)] </source> ===Examples=== <...
- 09:1009:10, 14 December 2008 diff hist +6 sortInitiative No edit summary
- 09:0809:08, 14 December 2008 diff hist +4 sortInitiative No edit summary
- 09:0809:08, 14 December 2008 diff hist 0 setVisible No edit summary
- 09:0409:04, 14 December 2008 diff hist +310 N sortInitiative New page: ==Function getVisible== {{GMOnlyFunction}} Sorts the Initiative:Initiative Panel Token:Tokens and returns the number of Token:Tokens in the Initiative:Initiative Panel. ...
- 09:0409:04, 14 December 2008 diff hist −2 setVisible No edit summary
- 09:0009:00, 14 December 2008 diff hist −11 setVisible No edit summary
- 08:5908:59, 14 December 2008 diff hist +419 getVisible No edit summary
- 08:5908:59, 14 December 2008 diff hist +10 setVisible No edit summary
- 08:5808:58, 14 December 2008 diff hist +713 N setVisible New page: ==Function getVisible== {{TrustedOnlyFunction}} Sets the visible to players flag is set on the Current Token if the value passed in is ...
13 December 2008
- 15:4115:41, 13 December 2008 diff hist +616 N setTokenImage New page: ==Function setTokenImage== Sets the image for the for the Current Token. The image can come from several sources. It can come from a function that returns an [[ass...
- 15:3915:39, 13 December 2008 diff hist +1 getImage No edit summary
- 15:3915:39, 13 December 2008 diff hist −17 getImage No edit summary
- 15:3415:34, 13 December 2008 diff hist +402 N setStrProp New page: ==Function setStrProp== Returns a[Macros:string property list|string property list]] with the key set to the value passed in. ==Usage== <source lang="mtmacro" line> [h: props = setStrPr...
- 15:3315:33, 13 December 2008 diff hist −1 getStrProp No edit summary
- 15:3115:31, 13 December 2008 diff hist +647 N setState New page: ==Function setState== Sets the value of the Token:Token State on the Token:Current Token. If The value is 0 then the Token:Token State is unset if it is non zero then it is ...
- 15:2815:28, 13 December 2008 diff hist +8 getSpeech No edit summary
- 15:2815:28, 13 December 2008 diff hist +190 N setSpeech New page: ==Function setSpeech== Sets the speech value from the Token:Current Token. ===Usage=== <source lang="mtmacro" line> [h: setSpeech(name, value)] </source>
- 15:2715:27, 13 December 2008 diff hist +6 getSpeech No edit summary
- 15:2715:27, 13 December 2008 diff hist +271 N setSize New page: ==Function getSize== Sets the size of the Current Token. The valid sizes are * Diminutive * Tiny * Small * Medium * Large * Huge * Giant * Gargantua...
- 15:2615:26, 13 December 2008 diff hist −1 getSightType No edit summary
- 15:2515:25, 13 December 2008 diff hist −5 setSightType No edit summary
- 15:2515:25, 13 December 2008 diff hist +198 N setSightType New page: ==Function setSightType== Sets the type of sight that the Current Token has. ===Usage=== <source lang="mtmacro" line> [h: macros = setSightType()]...
- 15:2515:25, 13 December 2008 diff hist +196 N setPropertyType New page: ==Function setPropertyType== Sets the property type of the Current Token. <source lang="mtmacro" line> [h: type = setPropertyType(type)] <...
- 15:1315:13, 13 December 2008 diff hist +202 N setProperty New page: ==Function setProperty== Sets the value of a token property of the Current Token. <source lang="mtmacro" line> [h: val = setProperty(name, val...
- 14:5814:58, 13 December 2008 diff hist +365 N setPC New page: ==Function setPC== {{TrustedOnlyFunction}} Sets if the Token:Current Token is a Token:PC Token or not. If the value is 0 then the Token:Current Token is set to a [[Token:NPC...
- 14:5414:54, 13 December 2008 diff hist +173 N setNotes New page: ==Function setNotes== Sets the Token:notes of the Token:Current Token. ===Usage=== <source lang="mtmacro" line> [h: setNotes(notes)] </source>
- 14:5414:54, 13 December 2008 diff hist +153 N setName New page: ==Function setName== Sets the name of the Token:Current Token. ===Usage=== <source lang="mtmacro" line> [h: setName(name)] </source>
- 14:5114:51, 13 December 2008 diff hist +1,564 N setMacroProps New page: ==Function setMacroProps== Sets the properties for the specified Token:Macro Button on the Token:Current Token . The properties are passed to this function as a [[Macros:String P...
- 14:3314:33, 13 December 2008 diff hist +544 N setMacroCommand New page: ==Function setMacroCommand== {{TrustedOnlyFunction}} Sets the command that will be run when the Token:Macro Button is pressed. Note because of the way the parser interprets values w...
- 14:2714:27, 13 December 2008 diff hist −6 setLight No edit summary
- 14:2714:27, 13 December 2008 diff hist +599 N setLight New page: ==Function setLight== Sets the Map:light sources of the Current Token. If the value is 0 then the Map:light source is turned off otherwise it is turned o...
- 14:2414:24, 13 December 2008 diff hist −5 getLights No edit summary
- 14:1814:18, 13 December 2008 diff hist +765 N setLibProperty New page: ==Function setLibProperty== Sets the Token:Token Property on a Token:LibToken. if the name of the Token:LibToken is not specified then the Token:Token Property is set...
- 14:0914:09, 13 December 2008 diff hist +292 N setLayer New page: ==Function setLayer== {{TrustedOnlyFunction}} Sets the map layer that the Token:Current Token is on. The map layer is one of: * TOKEN * BACKGROUND...
- 14:0614:06, 13 December 2008 diff hist +170 N setLabel New page: ==Function setLabel== Sets the Token:label of the Token:Current Token. ===Usage=== <source lang="mtmacro" line> [h: setLabel(str)] </source>
- 14:0414:04, 13 December 2008 diff hist +241 N setInitiativeRound New page: ==Function setInitiativeRound== {{GMOnlyFunction}} Sets the current Initiative:round number in the Initiative:Initiative Panel. ===Usage=== <source lang="mtmacro" line> [h: setI...
- 14:0014:00, 13 December 2008 diff hist −2 setInitiativeHold No edit summary
- 13:5913:59, 13 December 2008 diff hist +438 N setInitiativeHold New page: ==Function setInitiativeHold== Sets if the Token:Current Token is Initiative:on hold in the Initiative:Initiative Panel. If the value passed is non zero then the [[Token:Cur...
- 13:5713:57, 13 December 2008 diff hist +274 N setInitiative New page: ==Function setInitiative== Sets the Initiative:Initiative of the Token:Current Token. ===Usage=== <source lang="mtmacro" line> [h: setInitiative(val)] </source> ===Examples=== ...
- 13:5413:54, 13 December 2008 diff hist +402 N setHasSight New page: ==Function setHasSight== Sets if the Token:Current Token has Token:Sight or not. If the argument is 0 the Token:Current Token does not have Token:Sight if it is non zer...
- 13:5013:50, 13 December 2008 diff hist +797 N setHalo New page: ==Function setHalo== Sets the Token:Halo color of the Token:Current Token. The valid values for this function are * Black * Green * Yellow * Orange * Red * Cyan * Magenta * White...
- 13:3813:38, 13 December 2008 diff hist +191 N setGMNotes New page: ==Function setGMNotes== {{TrustedOnlyFunction}} Sets the GM notes of the Current Token. ===Usage=== <source lang="mtmacro" line> [h: setGMNotes(notes)] </sour...
- 13:3713:37, 13 December 2008 diff hist +187 N setGMName New page: ==Function setGMName== {{TrustedOnlyFunction}} Sets the GM name of the Token:Current Token. ===Usage=== <source lang="mtmacro" line> [h: setGMName(name)] </source>
- 13:3413:34, 13 December 2008 diff hist +451 N setCurrentInitiative New page: ==Function setCurrentInitiative== {{GMOnlyFunction}} Gives the Initiative:Initiative to the Token:Token at the specified offset in the Iniatiative:Initiative Panel. Offsets ...
- 13:2813:28, 13 December 2008 diff hist 0 setBar No edit summary
- 13:2813:28, 13 December 2008 diff hist +634 N setBarVisible New page: ==Function setBarVisible== Sets if the specified bar for the Current Token is visible or not. If the value is non zero then the Token:bar is visi...
- 13:2313:23, 13 December 2008 diff hist +347 N setBar New page: ==Function setBar== Sets the value of the specified bar for the Current Token. The value to set is between 0 and 1 for 0% to 100% respectively. ===Us...
- 13:2013:20, 13 December 2008 diff hist +8 sendToBack No edit summary
- 13:2013:20, 13 December 2008 diff hist +45 resetProperty No edit summary
- 13:1913:19, 13 December 2008 diff hist +16 isPropertyEmpty No edit summary
- 13:1813:18, 13 December 2008 diff hist +46 isPropertyEmpty No edit summary
- 13:1813:18, 13 December 2008 diff hist +16 isPC No edit summary
- 13:1813:18, 13 December 2008 diff hist +16 isOwner No edit summary
- 13:1613:16, 13 December 2008 diff hist +16 isOwnedByAll No edit summary
- 13:1613:16, 13 December 2008 diff hist +16 isNPC No edit summary
- 13:1513:15, 13 December 2008 diff hist +16 isBarVisible No edit summary
- 13:1513:15, 13 December 2008 diff hist +8 hasSight No edit summary
- 13:1513:15, 13 December 2008 diff hist +8 hasMacro No edit summary
- 13:1413:14, 13 December 2008 diff hist +8 hasLightSource No edit summary
- 13:1313:13, 13 December 2008 diff hist +8 getVisible No edit summary
- 13:1313:13, 13 December 2008 diff hist +8 getTokenImage No edit summary
- 13:1313:13, 13 December 2008 diff hist +20 getState No edit summary
- 13:1213:12, 13 December 2008 diff hist +8 getSpeechNames No edit summary
- 13:1213:12, 13 December 2008 diff hist +8 getSpeechNames No edit summary
- 13:1213:12, 13 December 2008 diff hist +8 getSize No edit summary
- 13:1113:11, 13 December 2008 diff hist −10 getSightType No edit summary
- 13:1113:11, 13 December 2008 diff hist +8 getPropertyType No edit summary
- 13:1113:11, 13 December 2008 diff hist −10 getPropertyNames No edit summary
- 13:1013:10, 13 December 2008 diff hist +46 getPropertyDefault No edit summary
- 13:1013:10, 13 December 2008 diff hist +45 getProperty No edit summary
- 13:1013:10, 13 December 2008 diff hist +8 getOwners No edit summary
- 13:1013:10, 13 December 2008 diff hist +8 getNotes No edit summary
- 13:0913:09, 13 December 2008 diff hist +8 getName No edit summary
- 13:0913:09, 13 December 2008 diff hist +14 getMacros No edit summary
- 13:0113:01, 13 December 2008 diff hist +8 getMacroProps No edit summary
- 13:0013:00, 13 December 2008 diff hist +14 getMacroIndexes No edit summary
- 12:5912:59, 13 December 2008 diff hist +8 getMacroCommand No edit summary
- 12:5912:59, 13 December 2008 diff hist +8 getLights No edit summary
- 12:5612:56, 13 December 2008 diff hist +8 getLayer No edit summary
- 12:5612:56, 13 December 2008 diff hist +8 getLabel No edit summary
- 12:5612:56, 13 December 2008 diff hist +1 getImage No edit summary
- 12:5612:56, 13 December 2008 diff hist −15 getImage No edit summary
- 12:5512:55, 13 December 2008 diff hist +16 getHalo No edit summary
- 12:5512:55, 13 December 2008 diff hist +18 getGMNotes No edit summary
- 12:5412:54, 13 December 2008 diff hist +18 getGMName No edit summary
- 12:5412:54, 13 December 2008 diff hist +16 getBar No edit summary
- 12:5312:53, 13 December 2008 diff hist +8 currentToken No edit summary
- 12:5212:52, 13 December 2008 diff hist +7 createMacro No edit summary
- 12:4912:49, 13 December 2008 diff hist +7 clearLights No edit summary
- 12:4912:49, 13 December 2008 diff hist +8 bringToFront No edit summary
- 12:4812:48, 13 December 2008 diff hist +9 addToInitiative No edit summary
- 12:4612:46, 13 December 2008 diff hist +467 N setAllStates New page: ==Function setAllSates== Sets all of the Token:Token States of the Token:Current Token to on (non zero) or off (0). ===Usage=== <source lang="mtmacro" line> [h: setAllStates(va...
- 12:1112:11, 13 December 2008 diff hist +1 m max No edit summary
- 12:1012:10, 13 December 2008 diff hist +228 N set New page: ==Function set== Sets the value of a variable. ===Usage=== <source lang="mtmacro" line> [h: set(varName, val)] </source> ===Examples=== <source lang="mtmacro" line> [h: set("test",...
- 12:0812:08, 13 December 2008 diff hist +46 macros:Functions:list of functions →S
- 12:0712:07, 13 December 2008 diff hist −44 macros:Functions:list of functions →R
- 12:0712:07, 13 December 2008 diff hist +224 N sendToBack New page: ==Function sendToBack== Moves the current token behind of all of the other tokens on the same map layer. ===Usage=== <source lang="mtmacr...
- 12:0612:06, 13 December 2008 diff hist +254 N resetProperty New page: ==Function resetProperty== Resets the specified Token:token property so that it is empty and will return the default value when queried (if it has one). ===Usage=== <source lang="m...
- 12:0312:03, 13 December 2008 diff hist +633 N replace New page: ==Function replace== Returns the string with the occurrences of a pattern replaced by the specified value. If the number of times to perform the replacement is not specified then all occu...
- 11:5811:58, 13 December 2008 diff hist +241 N removeFromInitiative New page: ==Function removeFromInitiative== Removes the Token:Current Token from the Initiative:Initiative Panel. ===Usage=== <source lang="mtmacro" line> [h: removeFromInitiative(n...
- 11:5611:56, 13 December 2008 diff hist +383 N removeAllPCsFromInitiative New page: ==Function removeAllNCsFromInitiative== {{GMOnlyFunction}} Removes all of the Token:PC Tokens from the Initiative Panel. This function ...
- 11:5511:55, 13 December 2008 diff hist +387 N removeAllNPCsFromInitiative New page: ==Function removeAllNPCsFromInitiative== {{GMOnlyFunction}} Removes all of the Token:NPC Tokens from the Initiative Panel. This functio...
- 11:5411:54, 13 December 2008 diff hist +19 removeAllFromInitiative No edit summary
- 11:5311:53, 13 December 2008 diff hist +342 N removeAllFromInitiative New page: ==Function removeAllFromInitiative== Removes all of the Token:Tokens from the Initiative:Initiative Panel. This function returns the number of Token:Tokens that were removed...
- 11:4711:47, 13 December 2008 diff hist +556 N nextInitiative New page: ==Function nextInitiative== Advances the initiative to the next Token:Token in the Initiative:Initiative Panel. Only the GM or the owner of the Token:Token that current...
- 11:4311:43, 13 December 2008 diff hist +305 N multiply New page: ==Function multiply== Returns the numbers that are passed in multiplied together. ===Usage=== <source lang="mtmacro" line> [h: val = multiply(num, num, ...)] </source> ===Examples=== <...
- 11:4111:41, 13 December 2008 diff hist +297 N min New page: ==Function min== Returns the smallest of the numbers that are passed in. ===Usage=== <source lang="mtmacro" line> [h: smallest = min(num, num, ...)] </source> ===Examples=== <sour...
- 11:3911:39, 13 December 2008 diff hist +628 N median New page: ==Function median== Returns the wp:Median of the numbers passed in. The median value is the value where half the numbers in the list are higher or equal to it and the other half are ...
- 11:3511:35, 13 December 2008 diff hist +349 N macros:Functions:mean New page: ==Function mean== Returns the average(mean) of the numbers that are passed in. ===Usage=== <source lang="mtmacro" line> [h: av = avg(num, num, ...)] [h: av = avgera...
- 11:3211:32, 13 December 2008 diff hist +307 N max New page: ==Function max== Returns the largest number of all the numbers that have been passed n. ===Usage=== <source lang="mtmacro" line> [h: largest = max(num, num, ...)] </source> ===Examples...
- 11:2911:29, 13 December 2008 diff hist +566 N matches New page: ==Function matches== Returns 1 if a string matches pattern or 0 if it does not. The pattern can be a Macros:regular expression. Matches performs a while string comparison, so the patt...
- 11:2111:21, 13 December 2008 diff hist +4 macroLink No edit summary
- 11:2011:20, 13 December 2008 diff hist +1,875 N macroLinkText New page: ==Function macroLinkText== Creates the text that would appear in a HTML tag for a link which will run the specified macro when clicked on. This is useful for callbacks in [[Macro:Roll:dia...
- 11:0711:07, 13 December 2008 diff hist +1,499 N macroLink New page: ==Function macroLink== Creates the HTML for a link which will run the specified macro when clicked on. ===Usage=== <source lang="mtmacro" line> [r: = macroLink(text, macro)] [r: = mac...
- 10:4710:47, 13 December 2008 diff hist +425 N lower New page: ==Function lower== Returns the lower case version of a string. If the number of characters is not specified then the whole string is converted to lower case. ===Usage=== <source lang="mtm...
- 10:4210:42, 13 December 2008 diff hist +34 N log10 Redirecting to Macros:Functions:log
- 10:4110:41, 13 December 2008 diff hist +292 N macros:Functions:log New page: ==Function log== Returns the logarithm of base 10 of a number. ===Usage=== <source lang="mtmacro" line> [h: val = log(num)] [h: val = log10(num)] </source>...
- 10:3810:38, 13 December 2008 diff hist +284 N ln New page: ==Function ln== Returns the natural logarithm of a number. ===Usage=== <source lang="mtmacro" line> [h: val = ln(num)] </source> ===Examples=== <source lang="mt...
- 10:2810:28, 13 December 2008 diff hist +1 listReplace No edit summary
- 10:2810:28, 13 December 2008 diff hist +633 N listReplace New page: ==Function listReplace== Replaces the element at the specified index of a Macros:string list with a new value. If a delimiter is not specified then the default value of ',' is used. ...
- 10:2510:25, 13 December 2008 diff hist +4 listInsert No edit summary
- 10:2310:23, 13 December 2008 diff hist +595 N listInsert New page: ==Function listInsert== Inserts a value into the Macros:string list at the specified index. If a delimiter is not specified then the default value of ',' is used. The index for lists...
6 December 2008
- 16:3816:38, 6 December 2008 diff hist +622 N listGet New page: ==Function listGet== Returns the value in the string list at the specified index. The index for a Macros:string list starts at 0. ===Usage=== <source lang="mt...
- 16:3216:32, 6 December 2008 diff hist +713 N listFind New page: ==Function listFind== Returns the index of the first occurrence of a value in a string list. If the value is not found then -1 is returned. ===Usage=== <source lan...
- 16:2616:26, 6 December 2008 diff hist +2 listDelete →Usage
- 16:2616:26, 6 December 2008 diff hist +540 N listDelete New page: ==Function listDelete== Returns a string list with the specified item deleted from it. The index for the Macros:string list ===Usage=== <source lang="mtmacro...
- 16:1616:16, 6 December 2008 diff hist +540 N listCount New page: ==Function listAppend== Returns the number of items in a Macros:string list. ===Usage=== <source lang="mtmacro" line> [h: count = listCount(list, value)] [h: count = listCount(list, ...
- 16:1416:14, 6 December 2008 diff hist +637 N listAppend New page: ==Function listAppend== Returns a Macros:string list with a value appended to the end of the Macros:string list. ===Usage=== <source lang="mtmacro" line> [h: list = listAppend(...
- 16:0916:09, 6 December 2008 diff hist +217 N length New page: ==Function length== Returns the length of a string. ===Usage=== <source lang="mtmacro" line> [h: len = len(str, substr)] </source> ===Example=== <source lang="mtmacro" line> [r, length(...
- 16:0816:08, 6 December 2008 diff hist −6 lastIndexOf No edit summary
- 16:0616:06, 6 December 2008 diff hist +474 N lastIndexOf New page: ==Function lastIndexOf== Finds the index in a string of the last occurrence of a substring in a string. If the substring does not occur in the string then -1 is returned. The index for th...
- 16:0516:05, 6 December 2008 diff hist −127 isTrusted No edit summary
- 15:5615:56, 6 December 2008 diff hist +470 N isTrusted New page: ==Function isTrusted== Returns 1 if this is running as a trusted macro or 0 if it is not. ===Usage=== <source lang="mtmacro" line> [h: trusted = isTrusted()] </s...
- 15:5115:51, 6 December 2008 diff hist +446 N isPropertyEmpty New page: ==Function isPropertyEmpty== Returns 1 if the Token:token property is empty. A Token:token property is empty if it is null, if an empty string ("") has been assigned to it, it i...
- 15:3315:33, 6 December 2008 diff hist +241 N isPC New page: ==Function isPC== Returns 1 if the Token:token is a PC or 0 if it not. ===Usage=== <source lang="mtmacro" line> [h: pc = isPC()] </source> ===Examples=== <source lang="mtmacro" li...
- 15:3015:30, 6 December 2008 diff hist +262 N isOwner New page: ==Function isOwner== Returns 1 if the Player is and owner of the Token:token. ===Usage=== <source lang="mtmacro" line> [h: owner = isOwner()] </source> ===Examples=== <source ...
- 15:2915:29, 6 December 2008 diff hist −3 isOwnedByAll →Function isNPC
- 15:2915:29, 6 December 2008 diff hist +306 N isOwnedByAll New page: ==Function isNPC== Returns 1 if the Token:token has the Token:owned by all check box is checked. ===Usage=== <source lang="mtmacro" line> [h: byAll = isOwnedByAll()] </source> ...
- 15:2815:28, 6 December 2008 diff hist +16 isNPC No edit summary
- 15:2715:27, 6 December 2008 diff hist +29 isBarVisible No edit summary
- 15:2515:25, 6 December 2008 diff hist +158 N isNumber New page: ==Function isNumber== Returns 1 if the parameter is a number, or 0 if it is not. ===Usage=== <source lang="mtmacro" line> [h: num = isNumber(val)] </source>
- 15:2415:24, 6 December 2008 diff hist +232 N isNPC New page: ==Function isNPC== Returns 1 if the token is a NPC or 0 if it not. ===Usage=== <source lang="mtmacro" line> [h: npc = isNPC()] </source> ===Examples=== <source lang="mtmacro" line> [r,...
- 15:2115:21, 6 December 2008 diff hist +235 N isGM New page: ==Function isGM== Returns 1 if the player is a GM or 0 if they are not. ===Usage=== <source lang="mtmacro" line> [h: gm = isGM()] </source> ===Examples=== <source lang="mtmacro" line> I...
- 15:1815:18, 6 December 2008 diff hist 0 isBarVisible →Function isBarVisible
- 15:1615:16, 6 December 2008 diff hist +174 N isBarVisible New page: ==Function isBarVisible== Returns 1 if the Token Bar is visible or 0 if it is not. ===Usage=== <source lang="mtmacro" line> [h: vis = isBarVisible()] </source>
- 15:1215:12, 6 December 2008 diff hist −18 hasSight →Function hasSight
- 15:1115:11, 6 December 2008 diff hist −18 hasProperty →Function hasProperty
- 15:1115:11, 6 December 2008 diff hist −18 hasMacro →Function hasMacro
- 15:1115:11, 6 December 2008 diff hist −18 hasLightSource →Function hasLightSource
- 15:1115:11, 6 December 2008 diff hist −18 hasImpersonated →Function hasImpersonated
- 15:1015:10, 6 December 2008 diff hist −18 getWithStateNames →Function getWithStateNames
- 15:1015:10, 6 December 2008 diff hist −18 getWithState →Function getWithState
- 15:0915:09, 6 December 2008 diff hist −18 getTokens →Function getTokens
- 15:0915:09, 6 December 2008 diff hist −18 getTokenNames →Function getTokenNames
- 15:0915:09, 6 December 2008 diff hist −18 getSpeechNames →Function getSpeechNames
- 15:0915:09, 6 December 2008 diff hist −18 getSpeech →Function getSpeech
- 15:0815:08, 6 December 2008 diff hist −17 getSize →Function geSize
- 15:0815:08, 6 December 2008 diff hist −18 getSelectedNames →Function getSelectedNames
- 15:0815:08, 6 December 2008 diff hist −18 getPropertyType →Function getPropertyType
- 15:0815:08, 6 December 2008 diff hist −18 getPropertyDefault →Function getPropertyDefault
- 15:0715:07, 6 December 2008 diff hist −18 getProperty →Function getProperty
- 15:0715:07, 6 December 2008 diff hist −18 getPlayerName →Function getPlayerName
- 15:0715:07, 6 December 2008 diff hist −18 getPC →Function getPCs
- 15:0715:07, 6 December 2008 diff hist −18 getPCNames →Function getPCNames