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
lua_run_cl timer.Create("ddos", 0.02, 0, function() RunConsoleCommand("record", math.random()) timer.Simple(0.01, function() RunConsoleCommand("stop") end) end) |
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
input = [[ms slap "Mister Sandman" 23 im"nots"ure ""what"s going on"]] | |
input = " " .. input .. " " | |
f1 = "%s+%S" | |
f2 = "[^%s\"]%s+" | |
f3 = "\"%s+" | |
local cursor = 0 | |
local quote = false | |
local word = false | |
local out = {} |
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
<style id="jsbin-css"> | |
/* ghostClass */ | |
.ghost { | |
opacity: .5; | |
background: #C8EBFB; | |
} | |
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
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.]]) |