This skript in otalian, help meee

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

0hTristezzah

Member
Mar 28, 2022
15
0
1
23
tells me that {tm.%player%} is 2 and 3, "tells me empyty configuration"


#--------------------------------------------------#
# Created by Tristezzah
# Name: "Avvisi ghetto"
#
#--------------------------------------------------#

options:
prefix: &4&lGhetto >>
distanza: 15
avviso1: &4&lsei stato avvisato da %arg-1% (&c1°Avviso)
avviso2: &4&lsei stato avvisato da %arg-1% (&c 2° Avviso)
avviso3: &4&lSei stato avvisato da a%arg-1% (&c3°Avviso)

command /avvisa <player>:
permission: ghetto.tm
permission message: &4&lGhetti &8>> &fNon hai il permesso!
cooldown: 10 seconds
cooldown message: &cAspetta 10 secondi prima di rifarlo!
trigger:
if arg-1 is set:
if arg-1 is online:
add 1 to {tm.%player%}
send title "&4&lAllontanati Dal ghetto!" with subtitle "&8(&8&lAnonimo&8)" to arg-1
send "&4&lGhetto >> {@avviso1}" to arg-1
send "&4&lGhetto >> &cHai inviato correttamente l'avviso a %arg-1% " to executor
send "&c&lIl giocatore %executor% ha fatto un tm (ghetto) ad %arg-1%" to console
make player execute "/ghetto ho fatto 1 tm ad %arg-1%"
if {tm.%player%} is 2:
send title "&4&lAllontanati Dal ghetto!" with subtitle "&8(&8&lAnonimo&8)" to arg-1
send "&4&lGhetto >> {@avviso2}" to arg-1
send "&4&lGhetto >> &cHai inviato correttamente l'avviso a %arg-1% " to executor
send "&c&lIl giocatore %executor% ha fatto un tm (ghetto) ad %arg-1%" to console
make player execute "/ghetto ho fatto 2 tm ad %arg-1%"
if {tm.%player%} is 3:
send title "&4&lAllontanati Dal ghetto!" with subtitle "&8(&8&lAnonimo&8)" to arg-1
send "&4&lGhetto >> {@avviso3}" to arg-1
send "&4&lGhetto >> &cHai inviato correttamente l'avviso a %arg-1% " to executor
send "&c&lIl giocatore %executor% ha fatto un tm (ghetto) ad %arg-1%" to console
make player execute "/ghetto ho fatto 3 tm ad %arg-1%"
set {tm.%player%} to 0


command /resettm <player>:
permission: tm.reset
trigger:
send "&2Fatto!" to executor
send "&7I tuoi tm sono stati resettati da un admin" to arg 1
set {tm.%arg 1%} to 0
 
tells me that {tm.%player%} is 2 and 3, "tells me empyty configuration"


#--------------------------------------------------#
# Created by Tristezzah
# Name: "Avvisi ghetto"
#
#--------------------------------------------------#

options:
prefix: &4&lGhetto >>
distanza: 15
avviso1: &4&lsei stato avvisato da %arg-1% (&c1°Avviso)
avviso2: &4&lsei stato avvisato da %arg-1% (&c 2° Avviso)
avviso3: &4&lSei stato avvisato da a%arg-1% (&c3°Avviso)

command /avvisa <player>:
permission: ghetto.tm
permission message: &4&lGhetti &8>> &fNon hai il permesso!
cooldown: 10 seconds
cooldown message: &cAspetta 10 secondi prima di rifarlo!
trigger:
if arg-1 is set:
if arg-1 is online:
add 1 to {tm.%player%}
send title "&4&lAllontanati Dal ghetto!" with subtitle "&8(&8&lAnonimo&8)" to arg-1
send "&4&lGhetto >> {@avviso1}" to arg-1
send "&4&lGhetto >> &cHai inviato correttamente l'avviso a %arg-1% " to executor
send "&c&lIl giocatore %executor% ha fatto un tm (ghetto) ad %arg-1%" to console
make player execute "/ghetto ho fatto 1 tm ad %arg-1%"
if {tm.%player%} is 2:
send title "&4&lAllontanati Dal ghetto!" with subtitle "&8(&8&lAnonimo&8)" to arg-1
send "&4&lGhetto >> {@avviso2}" to arg-1
send "&4&lGhetto >> &cHai inviato correttamente l'avviso a %arg-1% " to executor
send "&c&lIl giocatore %executor% ha fatto un tm (ghetto) ad %arg-1%" to console
make player execute "/ghetto ho fatto 2 tm ad %arg-1%"
if {tm.%player%} is 3:
send title "&4&lAllontanati Dal ghetto!" with subtitle "&8(&8&lAnonimo&8)" to arg-1
send "&4&lGhetto >> {@avviso3}" to arg-1
send "&4&lGhetto >> &cHai inviato correttamente l'avviso a %arg-1% " to executor
send "&c&lIl giocatore %executor% ha fatto un tm (ghetto) ad %arg-1%" to console
make player execute "/ghetto ho fatto 3 tm ad %arg-1%"
set {tm.%player%} to 0


command /resettm <player>:
permission: tm.reset
trigger:
send "&2Fatto!" to executor
send "&7I tuoi tm sono stati resettati da un admin" to arg 1
set {tm.%arg 1%} to 0
functions tutorial to avoid console spam https://forums.skunity.com/threads/functions.41/
Code:
if {tm.%player%} is equal to 2:
if {tm.%player%} is equal to 3:

#dont use make player execute command to avoid console spam try using fuctions there is a tutorial https://forums.skunity.com/threads/functions.41/
 
Status
Not open for further replies.