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
maestro.command("addmoney", {"player:target", "number"}, function(caller, targets, num) | |
if #targets == 0 then | |
return true, "Query matched no players." | |
end | |
for i = 1, #targets do | |
local ply = targets[i] | |
ply:addMoney(num) | |
end | |
return false, "added $%2 to %1's wallet" | |
end, [[Gives a player money.]]) |
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
<style id="jsbin-css"> | |
/* ghostClass */ | |
.ghost { | |
opacity: .5; | |
background: #C8EBFB; | |
} | |