Kleiner Snipped zur Blacklist (derzeit ist das Wort "Noob/noob" eingestellt) - an der Blacklist arbeite ich noch. Derzeit wenn ich weitere Wörter hinzufügen möchte, werden die Cases überschrieben.
{
"name": "Blacklist: ",
"temp": "msg",
"event-type": "2",
"_id": "FtPnQ",
"actions": [
{
"message": "1",
"varName": "msg",
"info": "2",
"storage": "1",
"varName2": "msgtext",
"name": "Store Message Info"
},
{
"message": "1",
"varName": "msg",
"info": "3",
"storage": "1",
"varName2": "msgauthor",
"name": "Store Message Info"
},
{
"member": "2",
"varName": "msgauthor",
"info": "2",
"storage": "1",
"varName2": "msg-username",
"name": "Store Member Info"
},
{
"member": "2",
"varName": "msgauthor",
"dataName": "noobdata",
"defaultVal": "\"0\"",
"storage": "2",
"varName2": "noob_data",
"name": "Store Member Data"
},
{
"type": "0",
"storage": "1",
"varName": "Year",
"name": "Store Time Info"
},
{
"type": "1",
"storage": "1",
"varName": "month",
"name": "Store Time Info"
},
{
"type": "2",
"storage": "1",
"varName": "day_month",
"name": "Store Time Info"
},
{
"type": "3",
"storage": "1",
"varName": "hourat",
"name": "Store Time Info"
},
{
"type": "4",
"storage": "1",
"varName": "minuteat",
"name": "Store Time Info"
},
{
"type": "5",
"storage": "1",
"varName": "secondat",
"name": "Store Time Info"
},
{
"info": "1",
"find": "Muted",
"storage": "1",
"varName": "roleMUTED",
"name": "Find Role"
},
{
"info": "1",
"find": "logs",
"storage": "1",
"varName": "channel-log",
"name": "Find Channel"
},
{
"storage": "1",
"varName": "msgtext",
"comparison": "1",
"value": "noob",
"iftrue": "2",
"iftrueVal": "18",
"iffalse": "0",
"iffalseVal": "",
"name": "Check Variable"
},
{
"storage": "1",
"varName": "msgtext",
"comparison": "1",
"value": "Noob",
"iftrue": "2",
"iftrueVal": "18",
"iffalse": "0",
"iffalseVal": "",
"name": "Check Variable"
},
{
"storage": "1",
"varName": "msgtext",
"comparison": "5",
"value": "Noob",
"iftrue": "2",
"iftrueVal": "18",
"iffalse": "0",
"iffalseVal": "",
"name": "Check Variable"
},
{
"storage": "1",
"varName": "msgtext",
"comparison": "5",
"value": "noob",
"iftrue": "2",
"iftrueVal": "18",
"iffalse": "1",
"iffalseVal": "",
"name": "Check Variable"
},
{
"name": "End Action Sequence"
},
{
"storage": "2",
"varName": "noob_data",
"comparison": "1",
"value": "0",
"iftrue": "0",
"iftrueVal": "",
"iffalse": "2",
"iffalseVal": "28",
"name": "Check Variable"
},
{
"member": "2",
"varName2": "msgauthor",
"role": "3",
"varName": "roleMUTED",
"name": "Add Member Role"
},
{
"member": "2",
"varName": "msgauthor",
"dataName": "noobdata",
"changeType": "0",
"value": "\"1\"",
"name": "Control Member Data"
},
{
"channel": "5",
"varName": "channel-log",
"message": "Fall #1: `${tempVars(\"msg-username\")}` Benutzer wurde das 1. Mal verwarnt. Letzte Warnung: ${tempVars(\"day_month\")}.${tempVars(\"month\")}.${tempVars(\"Year\")} um ${tempVars(\"hourat\")}:${tempVars(\"minuteat\")}:${tempVars(\"secondat\")}.",
"storage": "2",
"varName2": "msg-logxd",
"name": "Send Message"
},
{
"channel": "5",
"varName": "msgauthor",
"message": "Du hättest das nicht schreiben sollen. Du bist nun für 5 Minuten gebannt. Beim nächsten Verstoß sind es 30 Minuten.",
"storage": "0",
"varName2": "",
"name": "Send Message"
},
{
"storage": "2",
"varName": "noob_data",
"name": "Save Variable"
},
{
"storage": "2",
"varName": "msg-logxd",
"name": "Save Variable"
},
{
"time": "5",
"measurement": "2",
"name": "Wait"
},
{
"member": "2",
"varName2": "msgauthor",
"role": "3",
"varName": "roleMUTED",
"name": "Remove Member Role"
},
{
"name": "End Action Sequence"
},
{
"storage": "2",
"varName": "noob_data",
"comparison": "1",
"value": "1",
"iftrue": "0",
"iftrueVal": "",
"iffalse": "2",
"iffalseVal": "38",
"name": "Check Variable"
},
{
"member": "2",
"varName2": "msgauthor",
"role": "3",
"varName": "roleMUTED",
"name": "Add Member Role"
},
{
"member": "2",
"varName": "msgauthor",
"dataName": "noobdata",
"changeType": "0",
"value": "\"2\"",
"name": "Control Member Data"
},
{
"storage": "2",
"varName": "msg-logxd",
"message": "Fall #2: `${tempVars(\"msg-username\")}` Benutzer wurde das 2. verwarnt. Letzte Verwarnung: ${tempVars(\"day_month\")}.${tempVars(\"month\")}.${tempVars(\"Year\")} um ${tempVars(\"hourat\")}:${tempVars(\"minuteat\")}:${tempVars(\"secondat\")}.",
"name": "Edit Message"
},
{
"channel": "5",
"varName": "msgauthor",
"message": "Du hättest das nicht schreiben sollen. Du bist nun für 30 Minuten gebannt. Beim nächsten Verstoß ist der Mute **permanent**.",
"storage": "0",
"varName2": "",
"name": "Send Message"
},
{
"storage": "2",
"varName": "noob_data",
"name": "Save Variable"
},
{
"storage": "2",
"varName": "msg-logxd",
"name": "Save Variable"
},
{
"time": "30",
"measurement": "2",
"name": "Wait"
},
{
"member": "2",
"varName2": "msgauthor",
"role": "3",
"varName": "roleMUTED",
"name": "Remove Member Role"
},
{
"name": "End Action Sequence"
},
{
"storage": "2",
"varName": "noob_data",
"comparison": "1",
"value": "2",
"iftrue": "0",
"iftrueVal": "",
"iffalse": "1",
"iffalseVal": "38",
"name": "Check Variable"
},
{
"member": "2",
"varName2": "msgauthor",
"role": "3",
"varName": "roleMUTED",
"name": "Add Member Role"
},
{
"member": "2",
"varName": "msgauthor",
"dataName": "noobdata",
"changeType": "0",
"value": "\"0\"",
"name": "Control Member Data"
},
{
"storage": "2",
"varName": "msg-logxd",
"message": "Fall #3: `${tempVars(\"msg-username\")}` Benutzer wurde das 3. Mal verwarnt. Letzte Warnung: ${tempVars(\"day_month\")}.${tempVars(\"month\")}.${tempVars(\"Year\")} um ${tempVars(\"hourat\")}:${tempVars(\"minuteat\")}:${tempVars(\"secondat\")}.",
"name": "Edit Message"
},
{
"storage": "2",
"varName": "msg-logxd",
"emoji": "4",
"varName2": "⚠",
"varName3": "",
"name": "Add Reaction"
},
{
"storage": "2",
"varName": "msg-logxd",
"name": "Save Variable"
},
{
"storage": "2",
"varName": "noob_data",
"name": "Save Variable"
},
{
"channel": "5",
"varName": "msgauthor",
"message": "Du hättest das nicht schreiben sollen. Du bist nun **permanent** gebannt.",
"storage": "0",
"varName2": "",
"name": "Send Message"
}
]
}
Alles anzeigen