User contributions for Craig
Jump to navigation
Jump to search
13 December 2008
- 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
- 15:0615:06, 6 December 2008 diff hist −18 getOwners →Function getOwners
- 15:0615:06, 6 December 2008 diff hist −18 getOwnedNames →Function getOwnedNames
- 15:0615:06, 6 December 2008 diff hist −18 getOwned →Function getOwned
- 15:0615:06, 6 December 2008 diff hist −18 getNotes →Function getNotes
- 15:0515:05, 6 December 2008 diff hist −19 getNPC →Function getNPCs
- 15:0515:05, 6 December 2008 diff hist −19 getNPCNames →Function getNPCNames
- 15:0515:05, 6 December 2008 diff hist −18 getMacros →Function getMacros
- 15:0515:05, 6 December 2008 diff hist −18 getMacroProps →Function getMacroProps
- 15:0415:04, 6 December 2008 diff hist −18 getMacroName →Function getMacroName
- 15:0415:04, 6 December 2008 diff hist −18 getMacroLocation →Function getMacroLocation
- 15:0415:04, 6 December 2008 diff hist −18 getMacroIndexes →Function getMacroIndexes
- 15:0215:02, 6 December 2008 diff hist −18 getMacroCommand →Function getMacroCommand
- 15:0115:01, 6 December 2008 diff hist −18 getLights →Function getLights
- 15:0115:01, 6 December 2008 diff hist −18 getLibProperty →Function getLibProperty
- 15:0115:01, 6 December 2008 diff hist −18 getLayer →Function getLayer
- 15:0115:01, 6 December 2008 diff hist −18 getImpersonatedName →Function getImpersonated
- 15:0015:00, 6 December 2008 diff hist −18 getImpersonated →Function getImpersonated
- 15:0015:00, 6 December 2008 diff hist −18 getGroupStart →Function getGroupStart
- 14:5914:59, 6 December 2008 diff hist −19 getGroupEnd →Function getGroupEnd
- 14:5914:59, 6 December 2008 diff hist −19 getGroupCount →Function getGroupCount
- 14:5914:59, 6 December 2008 diff hist −19 getGroup →Function getGroup
- 14:5914:59, 6 December 2008 diff hist −19 getGMNotes →Function getGMNotes
- 14:5814:58, 6 December 2008 diff hist −18 getFindCount →Function getFindCount
- 14:5814:58, 6 December 2008 diff hist −18 getExposedTokens →Function getExposedTokens
- 14:5714:57, 6 December 2008 diff hist −18 getExposedTokenNames →Function getExposedTokenNames
- 14:5714:57, 6 December 2008 diff hist −18 getAllPropertyNames →Function getAllPropertyNames
- 14:5714:57, 6 December 2008 diff hist −19 getAllPlayerNames →Function encode
- 14:5614:56, 6 December 2008 diff hist −19 findToken →Function findToken
- 14:5614:56, 6 December 2008 diff hist −19 m encode →Function encode
- 14:5614:56, 6 December 2008 diff hist −19 decode →Function decode
- 14:5514:55, 6 December 2008 diff hist −19 currentToken →Function currentToken
- 14:5514:55, 6 December 2008 diff hist −19 createMacro →Function createMacro
- 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