View difference between Paste ID: C0asKWRV and bK9kpwjd
SHOW: | | - or go back to the newest paste.
1
╔════════════════════════════════════════
2
║  Cenzur by FejminTV                         ║
3
║  Zezwalam na:                               ║
4
║ - edytowanie komunikatow                    ║
5
║ Nie zezwalam na:                            ║
6
║ - Zarabianie na skrypcie                    ║
7
║ - Usuwanie informacji o autorze             ║
8
╚════════════════════════════════════════
9
10
variables:
11
	{cenzur.status} = 1
12
options:
13
	permission: &4Nie masz uprawnien by uzywac tej komendy!
14
	tag: &8[&cCenzur&8]
15
on chat:
16
	{cenzur.status} is 1:
17
		replace all "kurwa" and "bitch" and "chuj" and "chuje" and "debil" and "pala" and "suka" and  "pedal" and "gej" and "jebany" and "suko" and "debil" and "idiota" and "fuck" and "shit" and "ciota" with "****" in the message
18
		message contains "IP" or "csrv" or "gomc" or "eu" or "net" or "zapraszam na serwer" or "tk" or "pl" or "www":
19-
			kick player due to "{@tag} &7Zostales wywalony z serwera za wulgaryzmy !."
19+
			kick player due to "{@tag} &7Zostales wywalony z serwera za wulgaryzmy/reklame !."
20
			stop
21
command /cenzur [<text>]:
22
	trigger:
23
		if player has permission "cenzur":       
24
			if arg 1 is "off":
25
				set {cenzur.status} to 0
26
				send "{@tag} &7Cenzur jest &cOFF"
27
				stop
28
			if arg 1 is "on":
29
				set {cenzur.status} to 1
30
				send "{@tag} &7Cenzur jest &aON"
31
				stop
32
			else:
33
				send "{@tag} &c/cenzur &7(&con&7/&coff&7)"
34
				stop
35
		else:
36
			send "{@tag} {@permission}"
37
			stop