Afk Odası

  • Konuyu Başlatan Konuyu Başlatan iTargetDS
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 1.175
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

iTargetDS

Kızılsakal Kızıltaş?
Katılım
8 Ekim 2017
Mesajlar
506
Elmaslar
118
Puan
14.295
Konum
Türkiyeeee
Minecraft
iTargetDS

Discord:

iTargetDS #6159

Merhaba!
Sizden bir skript istiyeceğim!
Oyuncu 30 saniye boyunca haraket etmeyince belirlediğim yere ışınlanacak.
Teşekkürler...
 
Kod:
every 5 second:
	loop all players:
		{loc::%loop-player%} is set:
			{loc::%loop-player%} is loop-player's location:
				add 1 to {check::%loop-player%}
			else:
				delete {check::%loop-player%}
		{check::%loop-player%} is higher than 5:
			teleport player to {Loc}
		set {loc::%loop-player%} to loop-player's location

command /belirle:
	trigger:
		player is op
		set {Loc} to player's location
		message "AFK oyuncular buraya ışınlanacak."

/belirle -> AFK odasını belirler.
 
Kod:
every 5 second:
    loop all players:
        {loc::%loop-player%} is set:
            {loc::%loop-player%} is loop-player's location:
                add 1 to {check::%loop-player%}
            else:
                delete {check::%loop-player%}
        {check::%loop-player%} is higher than 5:
            teleport player to {Loc}
        set {loc::%loop-player%} to loop-player's location

command /belirle:
    trigger:
        player is op
        set {Loc} to player's location
        message "AFK oyuncular buraya ışınlanacak."

/belirle -> AFK odasını belirler.
Every seconds kullanmadan yapma şansımız yokmu ?
 
Every seconds kullanmadan yapma şansımız yokmu ?
Çalışıyor mu bir bilgim yok ama kullandığım program çalışıyor demekte.
Kod:
options:
    yer:

30 second not move:
    if {hareket::%player%} is true:
        set {hareket::%player%} to false

if {hareket::%player%} is false:
    execute console command"tp %player% {@yer}"
 
Çalışıyor mu bir bilgim yok ama kullandığım program çalışıyor demekte.
Kod:
options:
    yer:

30 second not move:
    if {hareket::%player%} is true:
        set {hareket::%player%} to false

if {hareket::%player%} is false:
    execute console command"tp %player% {@yer}"
Hata veriyor
Kod:
 Can't understand this event: '30 second not move' (deneme.sk, line 1: 30 second not move:')
 
Hata veriyor
Kod:
 Can't understand this event: '30 second not move' (deneme.sk, line 1: 30 second not move:')
Biliyordum böyle olabileceğini. Bende şaşırdıydım o evente nasıl onay verdi diye. Biraz daha uğraşayım belki yapabilirim.
 
Every seconds kullanmadan yapma şansımız yokmu ?
Kod:
on join:
	while player is online:
		{loc::%player%} is set:
			{loc::%player%} is player's location:
				add 1 to {check::%player%}
			else:
				delete {check::%player%}
		{check::%player%} is higher than 5:
			teleport player to {Loc}
		set {loc::%player%} to player's location
	wait 5 seconds

command /belirle:
	trigger:
		player is op
		set {Loc} to player's location
		message "AFK oyuncular buraya ışınlanacak."
Gönderi otomatik olarak birleştirildi:

Eğer TuSKe kullanıyorsan aşağıdaki kod belki daha verimli olabilir.
Kod:
on player stop walking:
	set {_stop} to true
	while {_stop} is true:
		{loc::%player%} is set:
			{loc::%player%} is player's location:
				add 1 to {check::%player%}
			else:
				stop
		{check::%player%} is higher than 5:
			teleport player to {Loc}
		set {loc::%player%} to player's location
		wait 5 seconds

command /belirle:
	trigger:
		player is op
		set {Loc} to player's location
		message "AFK oyuncular buraya ışınlanacak."
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst