View difference between Paste ID: QbjpQDX1 and F3Z0GVzE
SHOW: | | - or go back to the newest paste.
1
let version  = "1.0";
2
let createdt = "17 april 2024";
3-
let usage    = '!addcom !addr-ul=moderator -cd=5 $(eval u="$(querystring)";$(urlfetch json https://pastebin.com/raw/F3Z0GVzE))';
3+
let usage    = '!addcom !delete -cd=5 $(eval u="$(querystring)";$(urlfetch json https://pastebin.com/raw/QbjpQDX1))';
4
let designer = "Silkenator23";
5
let o        = "";
6
let r        = "";
7
let u2       = "";  
8
9
let max_len  = 200; 
10-
let m_s_len  = 120; 
10+
let m_s_len  = 162; 
11-
let m_l_len  = 130; 
11+
let m_l_len  = 176; 
12
let u_len    = 0;      
13
14-
m_l="If you want to add Kriket please join her Patreon https://www.patreon.com/Kriket23 or join YouTube membership as a Ballers Plus +. ";
14+
m_l="​​Please delete Kriket from your Friends List when you are done raiding. Look at becoming a Patreon https://www.patreon.com/Kriket23 or Baller Plus + for a more permanent option.";
15-
m_s="If you want to add Kriket please join Patreon https://www.patreon.com/Kriket23 or join YouTube membership as a Ballers++";
15+
m_s="Please delete Kriket from your Friends List when you are done. Look at becoming a Patreon https://www.patreon.com/Kriket23 or Baller++ for a more permanent option";
16
if(u)
17
  {
18
    u2 = decodeURIComponent(u);
19
    u_len = u2.length + 1;
20
    if((u_len + m_l_len) <= max_len) 
21
      {
22
        o = u2 + ' ' + m_l;
23
      }
24
    else
25
      { 
26
        if((u_len + m_s_len) <= max_len)
27
          {
28
            o = u2 + ' ' + m_s;
29
          }
30
        else
31
          {
32
             u2s = u2.slice(0,(max_len - m_s_len));
33
             o = u2s + ' ' + m_s;
34
          }          
35
      }
36
   }
37
else
38
  {
39
    o = m_l;
40
  }
41
42
o;