Skript isteği

Axel102

Hayalet Avcısı
En iyi cevaplar
6
Kod:
command /birasat [<player>]:
usage: &f/birasat <isim>
trigger:
  if player has bigger to 1 water bottle named "&7Bira":
   message "&7Elinizde olan birayi %player-arg% verme teklifinde bulundunuz." to player
   message "&7%player% size bira teklifinde bulundu almak için &c/kabulet" to player-arg
   remove 1 water bottle named "&7Bira" from the player
   set {%player-arg%.bira.satış.isteği} to "istek-gitti"
   set {bira.satış.yollayan.kişi} to "%player%"
   stop
  else:
   message "&7Teklif etmek için bir biraniz yok ?" to player
   stop trigger

command /kabulet:
trigger:
  if {%player-arg%.bira.satış.isteği} is "istek-gitti":
   give 1 water bottle named "&7Bira" to the player
   stop

on drink of water bottle:
if name of event-item is "&7Bira":
  apply nausea 1 to the player for 25 second
  apply jump boost 1 to the player for 25 second
  apply blind -1 to the player for 25 second
  message "&7Bira içtiğimiz için kafam galiba çok güzel oldu" to player
Al beni script manager çalışayım :D
 
Üst