This file contains 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("ready",function() | |
{ | |
on("chat:message",function(msg){ | |
if(msg.type=="api" && msg.content.indexOf("!spiritualWeapon")==0 && playerIsGM(msg.playerid)) | |
{ | |
var selected = msg.selected; | |
if (selected===undefined) | |
{ | |
sendChat("API","Please select a character."); | |
return; |
This file contains 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
// Github: https://gist.github.com/finalfrog/124f67ad84204546caf16fffd84115e4 | |
// | |
// =Inspired by= | |
// MapChange by TheWhiteWolves (https://github.com/TheWhiteWolves/MapChange.git) | |
// Teleporter Without Movement Tracker by DarokinB (https://gist.github.com/DarokinB/5806230) | |
// =Author= | |
// FinalFrog | |
// =Contact= | |
// https://app.roll20.net/users/585874/finalfrog | |
// |