CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 15:04:23 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=b65de55c8ba7794da796ab512fb22a6b1cae0bef23bcb69f913c52679b2e1152a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22Zkcq3CY3skeLpTA5ggb07siZlh79KGih%22%3B%7D; HttpOnly; Path=/
cf-ray: 98cf3fe6493ae084-BLR
bot.nut - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AddonInfo <- {
- "Name":"bot.nut"
- "Summary":"Bot framework"
- "Version":"0.01"
- "Author":"NovaSquirrel"
- };
- const Prefix = "sb.";
- function CommandWatch(Type, P, Context) {
- P = api.DecodeJSON(P);
- if(startswith(P.Text, Prefix)) {
- local WithoutPrefix = P.Text.slice(Prefix.len());
- local Split = api.TextParamSplit(WithoutPrefix);
- // Don't send an argument if there is none
- if(Split[0][0] != WithoutPrefix)
- api.Event("bot command", {"Nick":P.Nick, "Cmd":Split[0][0], "Arg":Split[1][1], "Say":"contextsay", "SayArg":Context+" "}, Context);
- else
- api.Event("bot command", {"Nick":P.Nick, "Cmd":Split[0][0], "Arg":"", "Say":"contextsay", "SayArg":Context+" "}, Context);
- }
- return EventReturn.NORMAL;
- }
- function BadCmd(Type, Params, Context) {
- api.Command("say", "Unrecognized command", Context);
- return EventReturn.DELETE;
- }
- // register hooks
- foreach(T in ["user message", "user message hilight"])
- api.AddEventHook(T, CommandWatch, Priority.NORMAL, 0, 0, 0);
- api.AddEventHook("bot command", BadCmd, Priority.LOWEST, 0, 0, 0);
- function SayCmd(T, P, C) {
- P = api.TextParamSplit(P);
- local Context = P[0][0];
- local Text = P[1][1];
- api.Command("say", Text, Context);
- return EventReturn.HANDLED;
- }
- api.AddCommandHook("contextsay", SayCmd, Priority.NORMAL, null, null);
Add Comment
Please, Sign In to add comment
-
⭐✅ MAKE $2500 IN 15 MIN ✅ NEVER SEEN BEFORE ⭐...
JavaScript | 4 sec ago | 0.24 KB
-
⭐✅ Exploit 2500$ in 15 Minutes⭐⭐⭐ 7
JavaScript | 10 sec ago | 0.24 KB
-
⭐ ✅ Free Products Method ✅ ✅ NEVER SEEN BEFOR...
JavaScript | 13 sec ago | 0.24 KB
-
✅ Make $2500 in 20 minutes⭐⭐⭐ Q
JavaScript | 14 sec ago | 0.24 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ 0
JavaScript | 21 sec ago | 0.24 KB
-
⭐ G2A Bug ⭐ (Get more on BTC swaps) ✅ NEVER S...
JavaScript | 22 sec ago | 0.24 KB
-
⭐⭐Exchange Exploit⭐⭐ 4
JavaScript | 27 sec ago | 0.24 KB
-
⭐✅ Jack's Profit Method ✅ NEVER SEEN BEF...
JavaScript | 31 sec ago | 0.24 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand