You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,14 +37,16 @@ KeySystem.Initialize({
37
37
Script_Name="Name of Script", -- Optional
38
38
Script_Creator="Script Creator", -- Optional
39
39
Paste_ID="Paste ID", -- THIS IS VERY IMPORTANT, MAKE SURE IT MATCHES YOUR PASTE ID
40
-
Callback=function()
41
-
any_function()
40
+
Callback=function(key)
41
+
any_function(key)
42
42
end
43
43
})
44
44
```
45
45
46
46
Note that you do not have to give a value for `Script_Name` or `Script_Creator` if you want to automatically get that information from Bloxybin. Simply leave it as nil (don't mention it in the table). Only the `Paste_ID` and `Callback` are necessary for the script to work.
47
47
48
+
If you want to display key information yourself, then the script will automatically pass the variable `key` into the function, which was successfully used.
49
+
48
50
After all this setup, you would have a working key system that's integrated with the BloxyBin key system.
0 commit comments