This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on('chat:message', function(msg) { | |
| if (msg.type != 'api') return; | |
| var parts = msg.content.split(' '); | |
| var command = parts.shift().substring(1); | |
| if (command == 'attack') | |
| { | |
| var selectedId = parts[0]; | |
| var targetId = parts[1]; | |
| //Get the token.id as tokens | |
| var selectedToken = getObj('graphic', selectedId); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- CSS, for your convience | |
| select { | |
| margin-bottom: 0; | |
| } | |
| .sheet-character-sheet { display: none; } | |
| .sheet-isStats:checked ~ .sheet-stats, | |
| .sheet-isFeats:checked ~ .sheet-feats, | |
| .sheet-isEqiup:checked ~ .sheet-equip, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!--Basic Character info header--> | |
| <br> | |
| <div style="float: left"> | |
| <div style="float: left"><img src="http://i.imgur.com/jJGqnD3.png" style="float: left; width: 250px;"></img><br> | |
| <div style="float: left; width: 30px;"> </div><div style="float: left; width: 270px; font-size: 1em;">Custom Character Sheet for the roll20 system</div></div> | |
| <div style="float: left">Character Name<br><input type="text" name="attr_character_name" style="width: 200px;"></div> | |
| <div style="float: left">Player Name<br><input type="text" style="width: 200px;"></div> | |
| <div style="float: left">Alignment<br> | |
| <select style="width: 120px"> | |
| <option>Lawful Good</option> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!--Basic Character info header--> | |
| <br> | |
| <div style="float: left"> | |
| <div style="float: left"><img src="http://i.imgur.com/jJGqnD3.png" style="float: left; width: 250px;"></img><br> | |
| <div style="float: left; width: 30px;"> </div><div style="float: left; width: 270px; font-size: 1em;">Custom Character Sheet for the roll20 system</div></div> | |
| <div style="float: left">Character Name<br><input type="text" name="attr_character_name" style="width: 200px;"></div> | |
| <div style="float: left">Player Name<br><input type="text" name="attr_playername" style="width: 200px;"></div> | |
| <div style="float: left">Alignment<br> | |
| <select style="width: 120px"> | |
| <option>Lawful Good</option> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on('chat:message', function(msg) { | |
| if (msg.type != 'api') return; | |
| var parts = msg.content.split(' '); | |
| var command = parts.shift().substring(1); | |
| if (command == 'attack') | |
| { | |
| var selectedId = parts[0]; | |
| var targetId = parts[1]; | |
| //Get the token.id as tokens | |
| var selectedToken = getObj('graphic', selectedId); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on('chat:message', function(msg) { | |
| if (msg.type != 'api') return; | |
| var parts = msg.content.split(' '); | |
| var command = parts.shift().substring(1); | |
| if (command == 'attack') | |
| { | |
| var selectedId = parts[0]; | |
| var targetId = parts[1]; | |
| //Get the token.id as tokens | |
| var selectedToken = getObj('graphic', selectedId); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on('chat:message', function(msg) { | |
| if (msg.type != 'api') return; | |
| var parts = msg.content.split(' '); | |
| var command = parts.shift().substring(1); | |
| if (command == 'attack') | |
| { | |
| var selectedId = parts[0]; | |
| var targetId = parts[1]; | |
| //Get the token.id as tokens | |
| var selectedToken = getObj('graphic', selectedId); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on("chat:message", function(msg) | |
| { | |
| if (msg.type != 'api') return; | |
| var parts = msg.content.split(' '); | |
| var command = parts.shift().substring(1); | |
| if (command == 'attack') | |
| //Get the inputs passed from the Macro. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HotKeySet("{END}", "shield") | |
| HotKeySet("+!x", "Terminate") | |
| $count = 1 | |
| while $count > 0 | |
| Sleep (100) | |
| wend | |
| Func shieldup() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on('chat:message', function(msg) { | |
| if (msg.type != 'api') return; | |
| var parts = msg.content.split(' '); | |
| var command = parts.shift().substring(1); | |
| if (command == 'script') | |
| { | |
| var selectedId = parts[0]; | |
| var targetId = parts[1]; | |
| //Get the token.id as tokens | |
| var selectedToken = getObj('graphic', selectedId); |
NewerOlder