void Raindrop:AddCommand(command, arguments, func_call)
Adds a Command to the Raindrop command handler.
--Add command "speed", with 1 argument. Raindrop:AddCommand("speed", 1, function(player) local p = game:GetService("Players"):FindFirstChild(player) if p then p.Character.Humanoid.WalkSpeed = 75 end end)
================================================================================================================================================
void Raindrop:AddRawCommand(string command_name, function callback(args))
Adds a Raw Command to the Raindrop command handler.
NOTE: Raindrop RawCommand logic is different then normal commands! Heres it explained easily:
Raindrop CMD System (w/ RawCommand)
If regular command exists....
Raindrop will check its arguments and then call the command.
If a raw command exists (and no regular command taking its place)...
Raindrop will NOT check its arguments and call the command with a table of arguments.
If a regular command and a raw command are both registered with the same name...
Raindrop will check its arguments. If it has the correct amount of arguments, it will call the regular command.
If it does NOT have the correct amount of arguments, it will call the raw command with a table of arguments.
Raindrop:AddRawCommand("test", function(args) for i,v in pairs(args) do print(v) --Prints each arg. end end)
================================================================================================================================================
void Raindrop:MessageBox(text, title)
Displays a MessageBox on the user.
Examples:
Raindrop:MessageBox("Hello", "World")
================================================================================================================================================
string Raindrop:DownloadString(url)
Downloads a string from the internet.
Examples:
print(Raindrop:DownloadString("http://example.com"))
================================================================================================================================================
void Raindrop:CopyString(str)
Copy's string to clipboard.
Examples:
Raindrop:CopyString("hello world")