Jump to content

aaaCya

Member
  • Posts

    960
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by aaaCya

  1. On 9/22/2021 at 5:01 PM, Lapzzo said:

    I feel un-og here

    w4e.PNG.7208d0516b1c8b2e24dc3ab3722afce2.PNG

    I found out about minehut at the end of 2019, but thought it was a scam, until I saw other people use it

    Wdym un-og?

    Edit: Was too lazy to edit the screenshot to the gui only lol

    2021-09-26_09_10_29.thumb.png.686062c7f8821ae58e1e4c72f811ff24.png

  2. Waiting 30 seconds and deleting the cooldown variable after isn't the most efficient way of doing cooldowns with skript.

    Edit: You could doΒ 

    if player does not have permission "helper" or "youtube.nick":

    instead ofΒ 

      if player does not have permission "helper":
                if player does not have permission "youtube.nick":

    Β 

    • Like 1
  3. options:
    	permm: &8β€’ <##fde82e>&lServername &8☁ &7Insufficient permissions!
    	servername: Servername
    	
    command /clearchat:
    	aliases: cc
    	permission message: {@permm}
    	permission: staff.cc
    	trigger:
    		send "%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%" to all players
    		wait 1 second
    		send "" to all players
    		send "&8β€’ <##fde82e>&l{@servername} &8☁ &7The chat has been cleared by <##fdbc3f>%player%&7!" to all players
    		send "" to all players
    		
    command /mutechat:
    	aliases: mc
    	permission message: {@permm}
    	permission: staff.mc
    	trigger:
    		if {mutechat} is not set:
    			set {mutechat} to true
    			send "" to all players
    			send "&8β€’ <##fde82e>&l{@servername} &8☁ &7The chat has been muted by <##fdbc3f>%player%&7!" to all players
    			send "" to all players
    			stop
    		if {mutechat} is set:
    			delete {mutechat}
    			send "" to all players
    			send "&8β€’ <##fde82e>&l{@servername} &8☁ &7The chat has been unmuted by <##fdbc3f>%player%&7!" to all players
    			send "" to all players
    			
    command /filter [<text>] [<text>]:
    	permission message: {@permm}
    	permission: staff.filter
    	trigger:
    		if arg-1 is not set:
    			send "&8β€’ <##fde82e>&l{@servername} &8☁ &7Incorrect usage! Consider using <##fdbc3f>/filter (list/add/remove) (word)"
    		if arg-1 = "list":
    			send ""
    			send " <##fde82e>Increasing &8☁ &7List of blocked words"
    			send ""
    			send " <##fdbc3f>%{blockedwords::*}%"
    			send ""
    			send ""
    		if arg-1 = "add":
    			if arg-2 is set:
    				if {blockedwords::*} does not contain arg-2:
    					add arg-2 to {blockedwords::*}
    					send "&8β€’ <##fde82e>&l{@servername} &8☁ &7Successfully added <##fdbc3f>%arg-2%&7 to the chat filter!"
    				else:
    					send "&8β€’ <##fde82e>&l{@servername} &8☁ <##fdbc3f>%arg-2% &7is already in the chat filter!"
    			else:
    				send "&8β€’ <##fde82e>&l{@servername} &8☁ &7Incorrect usage! Consider using <##fdbc3f>/filter (list/add/remove) (word)"
    				add arg-2 to {blockedwords::*}
    		if arg-1 = "remove":
    			if arg-2 is set:
    				if {blockedwords::*} contains arg-2:
    					remove arg-2 from {blockedwords::*}
    					send "&8β€’ <##fde82e>&l{@servername} &8☁ &7Successfully removed <##fdbc3f>%arg-2%&7 from the chat filter!"
    				else:
    					send "&8β€’ <##fde82e>&l{@servername} &8☁ <##fdbc3f>%arg-2% &7is not in the chat filter!"
    			else:
    				send "&8β€’ <##fde82e>&l{@servername} &8☁ &7Incorrect usage! Consider using <##fdbc3f>/filter (list/add/remove) (word)"
    
    on chat:
    	if {mutechat} is set:
    		if player does not have permission "staff.mc":
    			cancel event
    			send "&8β€’ <##fde82e>&l{@servername} &8☁ &7You may not talk while chat is muted!"
    			
    on chat:
    	if player does not have permission "staff.filter":
    		set {_b} to uncolored colored message
    		set {_b::*} to {_b} split by " "
    		size of {blockedwords::*} > 0
    		loop {_b::*}:
    			if {blockedwords::*} contains loop-value:
    				if uncolored message contains loop-value:
    					cancel event
    					send "&8β€’ <##fde82e>&l{@servername} &8☁ &7Your message has been caught by the chat filter!"
    					send "" to all players where [input has permission "staff.filter"]
    					send "&8β€’ <##fde82e>&l{@servername} &8☁ &7The chatfilter has caught the following message: &8(<##fdbc3f>%message%&8)&7 this has been sent by <##fdbc3f>%player%" to all players where [input has permission "staff.filter"]
    					send "" to all players where [input has permission "staff.filter"]

    I use this on my server i am making but i decided to release it because i was bored

    • Like 1
Γ—
Γ—
  • Create New...