User contributions for Craig
Jump to navigation
Jump to search
6 December 2008
- 14:5514:55, 6 December 2008 diff hist −19 clearLights →Function clearLights
- 14:5414:54, 6 December 2008 diff hist −19 bringToFront →Function bringToFront
- 01:2201:22, 6 December 2008 diff hist +34 macros:Functions:list of functions →I
2 December 2008
- 01:0001:00, 2 December 2008 diff hist +311 N initiativeSize New page: ==Function initiativeSize== Returns the number of tokens in the Initiative:initiative panel ===Usage=== <source lang="mtmacro" line> [h: num = initiativeSize()] </source> ===Exampl...
- 00:5800:58, 2 December 2008 diff hist +440 N indexValueStrProp New page: ==Function indexValueStrProp== Returns the value from the specified string property list at the specified index. The index for the [[Macros:string property ...
- 00:5800:58, 2 December 2008 diff hist 0 indexKeyStrProp No edit summary
- 00:5700:57, 2 December 2008 diff hist +795 N indexOf New page: ==Function indexOf== {{ProposedChange}} Returns the index of a substring in the specified string. If the substring does not occur within the string then -1 is returned. If you do not speci...
- 00:5000:50, 2 December 2008 diff hist +430 N indexKeyStrProp New page: ==Function indexKeyStrProp== Returns the key from the specified Macros:string property list at the specified index. The index for the Macros:string property list starts at 0. ==...
- 00:4600:46, 2 December 2008 diff hist +532 N if New page: ==Function if== If testCondition evaluates to 0 then the result of falseExpr is returned, otherwise the result of trueExpr is returned. Note: '''both''' trueExpr and falseExpr are evaluate...
- 00:2700:27, 2 December 2008 diff hist +2 hypotenuse Redirecting to Macros:Functions:hypot
- 00:2600:26, 2 December 2008 diff hist +34 N hypotenuse New page: #REDIRECT [Macros:Functions:hypot]
- 00:2600:26, 2 December 2008 diff hist +420 N hypot New page: ==Function hypot== Returns the hypotenuse of a right triangle whos other two sides have a length of sideA and sideB. The formula used to calculate the hypotnese is, h^2 = sideA^2 * sideB^2...
- 00:2200:22, 2 December 2008 diff hist +336 N hex New page: ==Function hex== Returns a string which contains the hexadecimal representation of the number that was passed in. ===Usage=== <source lang="mtmacro" line> [h: hexVal = hex(num) </source> ...
- 00:1600:16, 2 December 2008 diff hist +1 hasProperty No edit summary
- 00:1600:16, 2 December 2008 diff hist +190 N hasSight New page: ==Function hasSight== {{ProposedChange}} Returns 1 if the current Token:token has Token:sight. ===Usage=== <source lang="mtmacro" line> [h: sight = hasSight()] </source>
- 00:1500:15, 2 December 2008 diff hist +255 N hasProperty New page: ==Function hasProperty== {{ProposedChange}} Returns 1 if the Token:token property with the specified name exits on the current Token:token. ===Usage=== <source lang="mtmacro" li...
- 00:1300:13, 2 December 2008 diff hist +14 hasMacro No edit summary
- 00:1300:13, 2 December 2008 diff hist +214 N hasMacro New page: ==Function hasMacro== {{ProposedChange}} Returns 1 if a macro button with the specified label exists on the current Token:token. ===Usage=== <source lang="mtmacro" line> [h: hasM...
- 00:1100:11, 2 December 2008 diff hist +67 hasLightSource No edit summary
- 00:0800:08, 2 December 2008 diff hist +1,454 N hasLightSource New page: ==Function hasLightSource== {{ProposedChange}} Returns 1 if the current Token:token has any LightSource:light sources that match the criteria passed in or 0 if there are no match...
- 00:0200:02, 2 December 2008 diff hist +201 N hasImpersonated New page: ==Function hasImpersonated== {{ProposedChange}} Returns 1 if there is an impersonated token otherwise returns 0. ===Usage=== <source lang="mtmacro" line> [h: hasImp = hasImpersonated...
- 00:0000:00, 2 December 2008 diff hist +818 N getWithStateNames New page: ==Function getWithStateNames== {{ProposedChange}} {{TrustedOnlyFunction}} Gets a string list containing the names of all the tokens on the current [...
1 December 2008
- 23:5923:59, 1 December 2008 diff hist +12 getWithState No edit summary
- 23:5923:59, 1 December 2008 diff hist +774 N getWithState New page: ==Function getWithState== {{ProposedChange}} {{TrustedOnlyFunction}} Gets a string list containing the ids of all the tokens on the current [[Map:ma...
- 23:5723:57, 1 December 2008 diff hist +268 N getVisible New page: ==Function getVisible== {{TrustedOnlyFunction}} Returns 1 if the Token:visible to players flag is set on the current Token:token otherwise returns 0. ===Usage=== <source lang="m...
- 23:5423:54, 1 December 2008 diff hist +660 N getTokens New page: ==Function getTokens== {{ProposedChange}} {{TrustedOnlyFunction}} Gets a string list containing the ids of all the tokens on the current [[Map:map|m...
- 23:5323:53, 1 December 2008 diff hist +683 N getTokenNames New page: ==Function getTokenNames== {{ProposedChange}} {{TrustedOnlyFunction}} Gets a Macros:string list containing the names of all the Token:tokens on the current Map:map. ===Usa...
- 23:5023:50, 1 December 2008 diff hist +336 N getTokenImage New page: ==Function getTokenImage== Returns the asset id for the for the current Token:token. ===Usage=== <source lang="mtmacro" line> [h: assetId = getTokenImage()] </source> ===Examp...
- 23:4923:49, 1 December 2008 diff hist +492 N getStrProp New page: ==Function getStrProp== Returns the value associated with a key from the specified Macros:string property list. ==Usage== <source lang="mtmacro" line> [h: macros = getStrProp(propL...
- 23:4523:45, 1 December 2008 diff hist +399 N macros:Functions:getStateImage New page: ==Function getStateImage== Returns the asset id for the image that is used to represent the specified token state. ===Usage=== <source lang="mtmacro" line> [h: asset...
- 23:4123:41, 1 December 2008 diff hist +13 getSpeechNames No edit summary
- 23:4123:41, 1 December 2008 diff hist +10 getSpeech No edit summary
- 23:4123:41, 1 December 2008 diff hist +13 getSightType No edit summary
- 23:4023:40, 1 December 2008 diff hist +12 getSelectedNames No edit summary
- 23:4023:40, 1 December 2008 diff hist +12 getSelected No edit summary
- 23:3923:39, 1 December 2008 diff hist −1 getState No edit summary
- 23:3923:39, 1 December 2008 diff hist +341 N getState New page: ==Function getState== Returns 1 if the specified Token:state is set on the current Token:token otherwise it returns 0. ===Usage=== <source lang="mtmacro" line> [h: isSet = getSt...
- 23:3523:35, 1 December 2008 diff hist +7 getSpeechNames No edit summary
- 23:3523:35, 1 December 2008 diff hist +635 N getSpeechNames New page: ==Function getSpeechNames== {{ProposedChange}} Returns a string list containing the Token:speech names of the current Token:token. <source lang="mtmacro" ...
- 23:3323:33, 1 December 2008 diff hist +185 N getSpeech New page: ==Function getSelected== {{ProposedChange}} Returns the Token:speech value from the current Token:token. <source lang="mtmacro" line> [h: speech = getSpeech()] </source>
- 23:3123:31, 1 December 2008 diff hist +289 N getSize New page: ==Function geSize== {{ProposedChange}} Returns the Token:size of the current Token:token. The sizes returned are * Diminutive * Tiny * Small * Medium * Large * Huge * Giant * Gar...
- 23:2823:28, 1 December 2008 diff hist +198 N getSightType New page: ==Function getSightType== {{ProposedChange}} Returns the type of Token:sight that the current Token:token has. <source lang="mtmacro" line> [h: macros = getSightType()] </source>
- 23:2623:26, 1 December 2008 diff hist +676 N getSelectedNames New page: ==Function getSelectedNames== {{ProposedChange}} {{TrustedOnlyFunction}} Returns a string list containing the names of the selected Token:NPC tokens on the cur...
- 23:2623:26, 1 December 2008 diff hist +659 N getSelected New page: ==Function getSelected== {{ProposedChange}} {{TrustedOnlyFunction}} Returns a string list containing the ids of the selected Token:NPC tokens on the current [[...
- 23:2423:24, 1 December 2008 diff hist +205 N getPropertyType New page: ==Function getPropertyType== {{ProposedChange}} Returns the Token:property type of the current Token:token. <source lang="mtmacro" line> [h: type = getPropertyType()] </source>
- 23:2223:22, 1 December 2008 diff hist −24 getPropertyNames No edit summary
- 23:2223:22, 1 December 2008 diff hist +702 N getPropertyNames New page: ==Function getPropertyNames== {{ProposedChange}} {{TrustedOnlyFunction}} Returns a Macros:string list containing the names of the names of the properties on the cu...
- 23:1923:19, 1 December 2008 diff hist +345 N getPropertyDefault New page: ==Function getPropertyDefault== {{ProposedChange}} Returns the default value of a token property. If the [[Campaign:property defaul...
- 23:1723:17, 1 December 2008 diff hist +348 N getProperty New page: ==Function getProperty== {{ProposedChange}} Returns the value of a token property. If the token property contains nothing then an empty string ("") ...
- 23:1423:14, 1 December 2008 diff hist +380 N getPlayerName New page: ==Function getPlayerName== {{ProposedChange}} Returns the name of the player for the client that it executes on. <source lang="mtmacro" line> [h: name = getPlayerName()] </source> T...
- 23:1323:13, 1 December 2008 diff hist −5 getNPC No edit summary
- 23:1323:13, 1 December 2008 diff hist −4 getPC No edit summary
- 23:1223:12, 1 December 2008 diff hist +629 N getPC New page: ==Function getPCs== {{ProposedChange}} {{TrustedOnlyFunction}} Returns a string list containing the ids of the PC tokens on the current [[Map:map...
- 23:1223:12, 1 December 2008 diff hist +653 N getPCNames New page: ==Function getPCNames== {{ProposedChange}} {{TrustedOnlyFunction}} Returns a string list containing the names of the Token:PC tokens on the current [[Map:map|m...
- 23:0823:08, 1 December 2008 diff hist +588 N getOwners New page: ==Function getOwners== {{ProposedChange}} Returns a Macros:string list containing the names of the owners of the current Token:token. <source lang="mtmacro" line> [h: names = g...
- 23:0623:06, 1 December 2008 diff hist +211 Main Page No edit summary
- 23:0323:03, 1 December 2008 diff hist −2 getOwned No edit summary
- 23:0223:02, 1 December 2008 diff hist +735 N getOwnedNames New page: ==Function getOwnedNames== {{ProposedChange}} {{TrustedOnlyFunction}} Returns a Macros:string list containing the names of the Token:tokens on the current Map:map that are ...
- 23:0123:01, 1 December 2008 diff hist +713 N getOwned New page: ==Function getOwned== {{ProposedChange}} {{TrustedOnlyFunction}} Returns a Macros:string list containing the ids of the Token:tokens on the current Map:map that are owned b...
- 22:5822:58, 1 December 2008 diff hist +187 N getNotes New page: ==Function getNotes== {{ProposedChange}} Returns the token notes for the current Token:token. <source lang="mtmacro" line> [h: macros = getNotes()] </source>
- 22:5722:57, 1 December 2008 diff hist +139 N getName New page: ==Function getName== Returns the name of the current Token:token. <source lang="mtmacro" line> [h: macros = getName()] </source>
- 22:5622:56, 1 December 2008 diff hist +637 N getNPC New page: ==Function getNPCs== {{ProposedChange}} {{TrustedOnlyFunction}} Returns a Macros:string list containing the ids of the Token:NPC tokens on the current Map:map. <source lan...
- 22:5422:54, 1 December 2008 diff hist +661 N getNPCNames New page: ==Function getNPCNames== {{ProposedChange}} {{TrustedOnlyFunction}} Returns a Macros:string list containing the names of the Token:NPC tokens on the current Map:map. <sour...
- 22:4522:45, 1 December 2008 diff hist +615 N getMacros New page: ==Function getMacros== {{ProposedChange}} Returns a Macros:string list of the labels of all of the macro buttons on the Token:current token. ===Usage=== <source lang="mtmacro"...
- 22:4122:41, 1 December 2008 diff hist 0 getMacroProps No edit summary
- 22:4122:41, 1 December 2008 diff hist +1,505 N getMacroProps New page: ==Function getMacroProps== {{ProposedChange}} Returns a Macros:string property list of the properties for a macro button for the current Token:token. You can retrieve the ind...
- 22:3522:35, 1 December 2008 diff hist +12 createMacro No edit summary
- 22:3322:33, 1 December 2008 diff hist +565 N getMacroName New page: ==Function getMacroName== {{ProposedChange}} Returns the name of the macro being executed via [macro():] . If the macro typed into chat, run by clicking on a [[macro...
- 22:3322:33, 1 December 2008 diff hist +10 getMacroLocation No edit summary
- 22:3122:31, 1 December 2008 diff hist +569 N getMacroLocation New page: ==Function getMacroLocation== {{ProposedChange}} Returns the location of the macro being executed via [macro():] . If the macro typed into chat, run by clicking on a...
- 22:2722:27, 1 December 2008 diff hist +441 N getMacroIndexes New page: ==Function getMacroIndexes== {{ProposedChange}} Returns a Macros:string list of the macro buttons on the current Token:token that have the specified label. ===Usage=== <sourc...
- 22:2422:24, 1 December 2008 diff hist −24 getMacroCommand No edit summary
- 22:2322:23, 1 December 2008 diff hist +386 N getMacroCommand New page: ==Function getMacroCommand== {{ProposedChange}} {{TrustedOnlyFunction}} Returns the command that would be executed for a macro button on the current Token:token. The [[Macros:Func...
- 22:1422:14, 1 December 2008 diff hist +47 getLights No edit summary
- 22:1322:13, 1 December 2008 diff hist +1,323 N getLights New page: ==Function getLights== {{ProposedChange}} Returns a Macros:string list containing the names of the Map:light sources that are on for the current Token:token. ===Usage=== <s...
- 21:5621:56, 1 December 2008 diff hist +921 N getLibProperty New page: ==Function getLibProperty== {{ProposedChange}} {{TrustedOnlyFunction}} Returns the value of a Token:token property from a Token:library token. If the lib argument is not specifie...
- 21:4921:49, 1 December 2008 diff hist +284 N getLayer New page: ==Function getLayer== {{ProposedChange}} Returns the Map:map layer that the current Token:token is on. The Map:map layer is one of: * TOKEN * BACKGROUND * GM * OBJECT ===Us...
- 21:4721:47, 1 December 2008 diff hist +171 N getLabel New page: ==Function getLabel== Returns the Token:label for the current Token:token. ===Usage=== <source lang="mtmacro" line> [h: label = getLabel()] </source>
- 21:4521:45, 1 December 2008 diff hist +329 N getInitiativeRound New page: ==Function getInitiativeRound== Returns the current Initiative:round number in the Initiative:initiative panel ===Usage=== <source lang="mtmacro" line> [h: round = getInitiative...
- 21:4221:42, 1 December 2008 diff hist +482 N getInitiativeHold New page: ==Function getInitiativeHold== Returns if the Token:token is on Initiative:hold in the Initiative:initiative panel or not. This function will return 1 if the [[Token:token|...
- 21:3921:39, 1 December 2008 diff hist +288 N getInitiative New page: ==Function getInitative== Returns the Iniatiative:initiative of the current Token:token ===Usage=== <source lang="mtmacro" line> [h: init = getInitiative()] </source> ===Examp...
- 21:3521:35, 1 December 2008 diff hist +181 N getImpersonatedName New page: ==Function getImpersonated== {{ProposedChange}} Returns the name of the impersonated token. ===Usage=== <source lang="mtmacro" line> [h: name = getImpersonatedName()] </source>
- 21:3421:34, 1 December 2008 diff hist +12 currentToken No edit summary
- 21:3221:32, 1 December 2008 diff hist +178 N getImpersonated New page: ==Function getImpersonated== {{ProposedChange}} Returns the id of the impersonated token. ===Usage=== <source lang="mtmacro" line> [h: tokenId = getImpersonated()] </source>
- 21:3021:30, 1 December 2008 diff hist −1 Image Token No edit summary
- 21:3021:30, 1 December 2008 diff hist +711 N Image Token New page: ==Image Token=== An image Token:token is a Token:token whose name starts with the string "image:" -- case is not important. These Token:tokens can appear on any Map:map...
- 21:2421:24, 1 December 2008 diff hist +407 N getImage New page: ==Function getImage== {{ProposedChange}} Returns the asset id for the image of an Token:image token. ===Usage=== <source lang="mtmacro" line> [h: asset = getImage(name)] </sourc...
- 21:2021:20, 1 December 2008 diff hist +562 N getHalo New page: ==Function getHalo== Gets the value of the specified Token:halo for the Token:token. The value returned is a string that represents the hexadecimal value of the color of the halo...
- 21:0421:04, 1 December 2008 diff hist +3 getGroupEnd No edit summary
- 21:0421:04, 1 December 2008 diff hist +2 getGroupStart No edit summary
- 21:0321:03, 1 December 2008 diff hist +5 getGroupStart No edit summary
- 21:0321:03, 1 December 2008 diff hist +990 N getGroupStart New page: ==Function getGroupEnd== {{ProposedChange}} Returns the start index of the specified capture group for the specified match that was found using strfind() ==...
- 21:0021:00, 1 December 2008 diff hist +965 N getGroupEnd New page: ==Function getGroupEnd== {{ProposedChange}} Returns the end index of the specified capture group for the specified match that was found using strfind() ===U...
- 20:5620:56, 1 December 2008 diff hist +443 N getGroupCount New page: ==Function getGroupCount== {{ProposedChange}} Returns the number of capture groups for the match performed by strfind(). ===Usage=== <source lang="mtmacro" l...
- 20:5320:53, 1 December 2008 diff hist +906 N getGroup New page: ==Function getGroup== {{ProposedChange}} Returns the specified capture group for the specified match that was found using strfind() ===Usage=== <source lang...
- 20:4420:44, 1 December 2008 diff hist +6 getGMNotes No edit summary
- 20:4420:44, 1 December 2008 diff hist +210 N getGMNotes New page: ==Function getGMNotes== {{ProposedChange}} {{TrustedOnlyFunction}} Returns the Token:GM notes from a Token:token. ===Usage=== <source lang="mtmacro" line> [h: notes = getGMNote...
- 20:4320:43, 1 December 2008 diff hist +170 N getGMName New page: ==Function getGMName== {{TrustedOnlyFunction}} Returns the GM Name of a Token:token. ===Usage=== <source lang="mtmacro" line> [h: name = getGMName()] </source>
- 20:3920:39, 1 December 2008 diff hist +459 N getFindCount New page: ==Function getFindCount== {{ProposedChange}} Returns the number of times that strfind() was able to match the input string. ===Usage=== <source lang="mtmacro...
- 20:3220:32, 1 December 2008 diff hist +783 N getExposedTokens New page: ==Function getExposedTokens== {{ProposedChange}} {{TrustedOnlyFunction}} Gets a string list containing the ids of all of the tokens on the current [[...
- 20:3120:31, 1 December 2008 diff hist +4 getExposedTokenNames No edit summary
- 20:2320:23, 1 December 2008 diff hist +71 getExposedTokenNames No edit summary
- 20:1720:17, 1 December 2008 diff hist +729 N getExposedTokenNames New page: ==Function getExposedTokenNames== {{ProposedChange}} {{TrustedOnlyFunction}} Gets a Macros:string list containing the names of all of the Token:tokens on the current Map:map...
- 19:5819:58, 1 December 2008 diff hist +391 N getCurrentInitiative New page: ==Function getCurrentInitiative== {{GMOnlyFunction}} Gets the offset of the Token:token in the Initiative:initiative panel that has the Initiative:initiative. The offset sta...
- 14:0714:07, 1 December 2008 diff hist +16 getBar No edit summary
- 14:0614:06, 1 December 2008 diff hist +48 findToken No edit summary
- 14:0514:05, 1 December 2008 diff hist +8 clearLights No edit summary
- 14:0414:04, 1 December 2008 diff hist +29 clearLights No edit summary
- 14:0314:03, 1 December 2008 diff hist +2 bringToFront No edit summary
- 14:0314:03, 1 December 2008 diff hist +38 bringToFront No edit summary
- 14:0214:02, 1 December 2008 diff hist +40 addToInitiative No edit summary
- 14:0114:01, 1 December 2008 diff hist +12 addAllToInitiative No edit summary
- 14:0114:01, 1 December 2008 diff hist +92 addAllToInitiative No edit summary
- 13:5913:59, 1 December 2008 diff hist +91 addAllPCsToInitiative No edit summary
- 13:5813:58, 1 December 2008 diff hist +92 addAllNPCsToInitiative No edit summary
- 13:5713:57, 1 December 2008 diff hist +261 getAllPropertyNames →Function getAllPropertyNames
- 13:5313:53, 1 December 2008 diff hist +8 findToken No edit summary
- 13:5213:52, 1 December 2008 diff hist −4 addToInitiative No edit summary
- 13:5113:51, 1 December 2008 diff hist +8 addAllNPCsToInitiative No edit summary
- 13:5013:50, 1 December 2008 diff hist +8 addAllPCsToInitiative No edit summary
- 13:5013:50, 1 December 2008 diff hist +4 addAllPCsToInitiative No edit summary
- 13:5013:50, 1 December 2008 diff hist +4 addAllNPCsToInitiative No edit summary
- 13:4813:48, 1 December 2008 diff hist +4 findToken No edit summary
- 13:4713:47, 1 December 2008 diff hist +10 currentToken No edit summary
- 13:4713:47, 1 December 2008 diff hist +12 currentToken No edit summary
- 13:4613:46, 1 December 2008 diff hist +50 createMacro →Function createMacro
- 13:4513:45, 1 December 2008 diff hist +42 createMacro →Usage
- 13:4413:44, 1 December 2008 diff hist +8 createMacro No edit summary
- 13:4313:43, 1 December 2008 diff hist +8 clearLights No edit summary
- 13:4313:43, 1 December 2008 diff hist +24 bringToFront No edit summary
- 13:4213:42, 1 December 2008 diff hist +4 addToInitiative No edit summary
- 13:4113:41, 1 December 2008 diff hist +4 addToInitiative No edit summary
- 13:4113:41, 1 December 2008 diff hist +4 addAllToInitiative No edit summary
- 13:4113:41, 1 December 2008 diff hist 0 addAllPCsToInitiative No edit summary
- 13:3813:38, 1 December 2008 diff hist +4 addAllNPCsToInitiative No edit summary
- 13:3713:37, 1 December 2008 diff hist +8 addAllPCsToInitiative No edit summary
- 13:3713:37, 1 December 2008 diff hist +4 addAllNPCsToInitiative No edit summary
- 13:3513:35, 1 December 2008 diff hist −136 getBar No edit summary
- 13:3113:31, 1 December 2008 diff hist −8 floor No edit summary
- 13:3113:31, 1 December 2008 diff hist +458 N getBar New page: ==Function getBar== Returns the number padded in if it is an integer, otherwise the number is rounded down to the nearest smaller integer and that value is returned. ===Usage=== <source l...
- 13:3013:30, 1 December 2008 diff hist +465 N floor New page: ==Function deleteStrProp== Returns the number padded in if it is an integer, otherwise the number is rounded down to the nearest smaller integer and that value is returned. ===Usage=== <s...
- 13:2713:27, 1 December 2008 diff hist +428 N divide New page: ==Function divide== Divides the first number by the second number, and then divides that result by the third number --if present-- and so on for all the numbers passed to the function. ==...
- 13:2413:24, 1 December 2008 diff hist −32 deleteStrProp No edit summary
- 13:2113:21, 1 December 2008 diff hist −12 countStrProp No edit summary
- 13:2013:20, 1 December 2008 diff hist +383 N deleteStrProp New page: ==Function deleteStrProp== Returns a copy of the [[Macros:string proper ===Usage=== <source lang="mtmacro" line> [h: val = ceil(num)] [h: val = ceiling(num)] </source> ===Examples=== <so...
- 13:1913:19, 1 December 2008 diff hist +317 N countStrProp New page: ==Function countStrProp== Returns the number of keys in a string property list. ===Usage=== <source lang="mtmacro" line> [h: num = countStrProp...
- 13:1413:14, 1 December 2008 diff hist −72 macros:Functions:list of functions No edit summary
- 13:1313:13, 1 December 2008 diff hist +35 N ceiling Redirecting to Macros:Functions:ceil
- 13:1313:13, 1 December 2008 diff hist +443 N macros:Functions:ceil New page: ==Function ceil== Returns the number passed in if it is an integer, otherwise it returns the number rounded up to the next integer. ===Usage=== <source lang="mtmacro" line> [h: val = ceil...
- 13:1013:10, 1 December 2008 diff hist +34 N concat Redirecting to Macros:Functions:add
- 13:0913:09, 1 December 2008 diff hist +1 macros:Functions:list of functions →List of Macro Functions
- 13:0913:09, 1 December 2008 diff hist +41 N macros:Functions:bxor Redirecting to Macros:Functions:bitwisexor
- 13:0813:08, 1 December 2008 diff hist +40 N macros:Functions:bor Redirecting to Macros:Functions:bitwiseor
- 13:0713:07, 1 December 2008 diff hist +41 N macros:Functions:bnot Redirecting to Macros:Functions:bitwisenot
- 13:0713:07, 1 December 2008 diff hist +1,143 N bitwisexor New page: ==Function bxor== Performs a bitwise 'exlusive or' operation of the number arguments by taking the binary representation of each of the numbers and performing the logical exclusive or oper...
- 13:0213:02, 1 December 2008 diff hist +3 macros:Functions:band No edit summary
- 13:0213:02, 1 December 2008 diff hist +51 bitwiseor No edit summary
- 12:5912:59, 1 December 2008 diff hist +1 macros:Functions:band No edit summary
- 12:5812:58, 1 December 2008 diff hist +263 bitwisenot No edit summary
- 12:5212:52, 1 December 2008 diff hist +1,078 N bitwiseor New page: ==Function band== Performs a bitwise 'and' operation of the {number} arguments by taking the binary representation of each of the numbers and performing the logical and operation on each o...
- 12:5112:51, 1 December 2008 diff hist +1,078 N bitwisenot New page: ==Function band== Performs a bitwise 'and' operation of the {number} arguments by taking the binary representation of each of the numbers and performing the logical and operation on each o...
- 12:5012:50, 1 December 2008 diff hist +35 N bitwiseand Redirecting to Macros:Functions:band
- 12:4912:49, 1 December 2008 diff hist +1,078 N macros:Functions:band New page: ==Function band== Performs a bitwise 'and' operation of the {number} arguments by taking the binary representation of each of the numbers and performing the logical and operation on each o...
- 12:3712:37, 1 December 2008 diff hist +2 encode No edit summary
- 12:3612:36, 1 December 2008 diff hist +1 decode No edit summary
- 12:3612:36, 1 December 2008 diff hist +1 decode No edit summary
- 12:3512:35, 1 December 2008 diff hist −3 encode No edit summary
- 12:3312:33, 1 December 2008 diff hist −3 decode No edit summary
- 12:3212:32, 1 December 2008 diff hist +156 N addToInitiative New page: ==Function addToInitiative== Adds all the current token to the initiative panel. ===Usage=== <source lang="mtmacro" line> [h: addToInitiative()] </source>
- 12:2612:26, 1 December 2008 diff hist +27 add No edit summary
- 12:2512:25, 1 December 2008 diff hist +9 abs No edit summary
- 12:2512:25, 1 December 2008 diff hist −3 abs No edit summary
- 12:2312:23, 1 December 2008 diff hist +2 abort No edit summary
- 12:2312:23, 1 December 2008 diff hist −15 macros:Functions:avg No edit summary
- 12:2212:22, 1 December 2008 diff hist +419 N macros:Functions:avg New page: ==Function avg== Adds all the NPC tokens on the current map to the initiative panel. This function returns the number of tokens that were added to the initiative panel. ===Usage=== <sourc...
- 12:1812:18, 1 December 2008 diff hist +34 N average Redirecting to Macros:Functions:avg
- 12:1712:17, 1 December 2008 diff hist +290 N addAllToInitiative New page: ==Function addAllToInitiative== {{GMOnlyFunction}} Adds all of the tokens on the current map to the initiative panel. This function returns the number of tokens that were added to the init...
- 12:1612:16, 1 December 2008 diff hist +296 N addAllPCsToInitiative New page: ==Function addAllPCsToInitiative== {{GMOnlyFunction}} Adds all the PC tokens on the current map to the initiative panel. This function returns the number of tokens that were added to the i...
- 12:0412:04, 1 December 2008 diff hist +299 N addAllNPCsToInitiative New page: ==Function addAllNPCsToInitiative== {{GMOnlyFunction}} Adds all the NPC tokens on the current map to the initiative panel. This function returns the number of tokens that were added to the...
- 12:0312:03, 1 December 2008 diff hist +135 N Template:GMOnlyFunction New page: <div> <p style="background-color: #EEEE88; font-weight: bold"> This is a GM only function, it can not be called by players. </p> </div> current
- 11:5711:57, 1 December 2008 diff hist +635 N add New page: ==Function add== Adds number and/or strings together. If all of the arguments to the function are numbers then a numeric addition is performed, if any of the arguments are strings then all...
- 11:4711:47, 1 December 2008 diff hist −31 macros:Functions:list of functions No edit summary
- 11:4611:46, 1 December 2008 diff hist +34 N absolutevalue Redirecting to Macros:Functions:abs
- 11:4411:44, 1 December 2008 diff hist +357 N abs New page: ==Function abs== Returns the absolute value of a number. The absolute value of a number is the number without the sign. ===Usage=== <source lang="mtmacro" line> [h: abs(number)] [h: absol...
- 11:3911:39, 1 December 2008 diff hist +990 N abort New page: ==Function abort== Aborts the execution of the current macro and discards all output from the macro if the argument is 0. This function is generally used to abort the processing of a macro...
- 10:5910:59, 1 December 2008 diff hist 0 bringToFront No edit summary
- 06:5306:53, 1 December 2008 diff hist +4,484 macros:Functions:list of functions No edit summary
- 06:4806:48, 1 December 2008 diff hist +901 N getAllPropertyNames New page: ==Function getAllPropertyNames== {{ProposedChange}} Gets a Macros:string list containing the the property names that are defined in the campaign properties. ===Usage=== <source ...
- 06:4206:42, 1 December 2008 diff hist +3 findToken No edit summary
- 06:3906:39, 1 December 2008 diff hist +12 getAllPlayerNames No edit summary
- 06:3806:38, 1 December 2008 diff hist +83 getAllPlayerNames No edit summary
- 06:3806:38, 1 December 2008 diff hist +552 N getAllPlayerNames New page: ==Function encode== {{ProposedChange}} {{TrustedOnlyFunction}} Gets a [[Macros:string list|] containing the names of all the players that are connected. ===Usage=== <source lang="mtmacro...
- 06:2806:28, 1 December 2008 diff hist −115 findToken No edit summary
- 06:1506:15, 1 December 2008 diff hist +536 N findToken New page: ==Function encode== {{ProposedChange}} Encodes a string that was can be decoded with the decode() function. The decode() and encod...
- 06:1206:12, 1 December 2008 diff hist +537 N encode New page: ==Function encode== {{ProposedChange}} Encodes a string that was can be decoded with the decode() function. The decode() and encode...
- 06:0906:09, 1 December 2008 diff hist −72 macros:Functions:list of functions No edit summary
- 06:0806:08, 1 December 2008 diff hist +481 N decode New page: ==Function decode== {{ProposedChange}} Decodes a string that was encoded with the encode() function. The encode() and decode() func...
- 05:5405:54, 1 December 2008 diff hist 0 createMacro No edit summary
- 05:5305:53, 1 December 2008 diff hist +632 N currentToken New page: ==Function currentToken== {{ProposedChange}} {{TrustedOnlyFunction}} Returns the id of the current token. In most cases this will return the same as [[Macros:Functions:getImpersonated | g...
- 05:5205:52, 1 December 2008 diff hist +153 N Template:TrustedOnlyFunction New page: <div> <p style="background-color: #FFCCCC; font-weight:bold"> This function can only be called from a trusted macro </p> </div>
- 05:4405:44, 1 December 2008 diff hist −1 clearLights →Function clearLights
- 05:4305:43, 1 December 2008 diff hist −1 bringToFront No edit summary
- 05:4205:42, 1 December 2008 diff hist −2 createMacro No edit summary
- 05:4205:42, 1 December 2008 diff hist +1,483 N createMacro New page: ==Function createMacro== {{ProposedChange}} Creates a macro button for the current token. ===Usage=== <source lang="mtmacro" lines> [h: createMacro(label, command)] [h: createMacro(label...
- 05:4105:41, 1 December 2008 diff hist 0 N File:CreateMacros.png No edit summary current
- 05:1205:12, 1 December 2008 diff hist +63 clearLights No edit summary
- 05:1005:10, 1 December 2008 diff hist +108 N clearLights New page: '''Function clearLights''' {{ProposedChange}} Clears all of the light sources for the current token. '''Us
- 05:0805:08, 1 December 2008 diff hist +1 bringToFront No edit summary
- 05:0805:08, 1 December 2008 diff hist +37 N Template:PropsedChange Template:PropsedChange moved to Template:ProposedChange current
- 05:0805:08, 1 December 2008 diff hist 0 m Template:ProposedChange Template:PropsedChange moved to Template:ProposedChange
- 05:0505:05, 1 December 2008 diff hist +185 N bringToFront New page: ==Function bringToFront== {{PropsedChange}} Moves the token in front of all of the other tokens on the same layer. '''Usage''' <source lang="mtmacro" lines> [h: sendToBack()] </source>
- 05:0305:03, 1 December 2008 diff hist +63 Template:ProposedChange No edit summary
- 04:5704:57, 1 December 2008 diff hist −95 Template:ProposedChange No edit summary
- 04:5304:53, 1 December 2008 diff hist +81 Template:ProposedChange No edit summary
- 04:5004:50, 1 December 2008 diff hist +131 N Template:ProposedChange New page: {{subst:ProposedChange | This article refers to a possible future change that has not been implemented in the main code base yet.}}
- 04:3604:36, 1 December 2008 diff hist +4,834 N macros:Functions:list of functions New page: ==List of Macro Functions== This page contains a list of macro functions in alphabetical order. You can also see a Macros:list of functions by area ===Macro Functions=== * [[Macro...
29 November 2008
- 16:0416:04, 29 November 2008 diff hist +395 N Help:Editing New page: See the media wiki help on editing page for details of formatting and markup. To perform syntax highlighting on your macro code enclose it in the following tags <pre...
- 15:0915:09, 29 November 2008 diff hist −304 Main Page No edit summary