Roleplay Sunucular İçin Sohbet Skripti

Exkaar

YASAKLANDI
En iyi cevaplar
35
123353


Modern hayatı ele alan rol sunucuları için sohbet skriptidir.
Roleplay'da kullanılan tüm sohbet komutları bulunmaktadır.
((Roleplay için skriptler paylaşmaya devam edeceğim.))

Karakter adı vermek için /rpgisim <oyuncu> <adı soyadı> kullanınız.

Normal Sohbet: Konuşma sohbetidir, 15 blok etrafınızdakiler görebilir.
/me <hareket>: Emote komutudur, hareketi belirtir. 20 blok etrafınızdakiler görebilir.
/do <durum>: Emote komutudur, durum belirtir. 20 blok etrafınızdakiler görebilir.
/c <mesaj>: Kısık sesle konuşma komutudur, 4 blok etrafınızdakiler görebilir.
/w <oyuncu> <mesaj>: Fısıldama komutudur, oyuncu ile aranızda 4 blok mesafe olmalıdır.
/s <mesaj>: Bağırma komutudur, 25 blok etrafınızdakiler görebilir.
/b veya /ooc <mesaj>: OOC sohbet komutudur, 25 blok etrafınızdakiler görebilir.

JavaScript:
command /rpgisim [<player>] [<text>]:
    trigger:
        if player is op:
            if arg 1 is set:
                if arg 2 is set:
                    set {rpg::isim::%arg-1%} to arg 2
                    send "Başarıyla %arg-1% adlı oyuncunun adı %arg-2% olarak belirlendi."
                else:
                    send "Oyuncu için bir isim belirleyiniz."
            else:
                send "İsim vereceğiniz oyuncunun adını yazınız."
        else:
            send "Bunu yapmak için gerekli yetkiniz yok."

on chat:
    cancel event
    loop all players in radius 15 of player:
        send "&e%{rpg::isim::%player%}%&8: &7%uncolored message%" to loop-player
  
command /s [<text>]:
    trigger:
        if arg 1 is set:
            loop all players in radius 25 of player:
                send "&4[&cBağır&4] &e%{rpg::isim::%player%}%&8: &7%uncolored arg-1%!" to loop-player
          
command /c [<text>]:
    trigger:
        if arg 1 is set:
            loop all players in radius 4 of player:
                send "&2[&aKısıkses&2] &e%{rpg::isim::%player%}%&8: &7%uncolored arg-1%" to loop-player
  
command /w [<player>] [<text>]:
    trigger:
        if arg 1 is set:
            if distance between the player and arg-1 is smaller than 4:
                send "&8[&7Fısıldama&8] &e%{rpg::isim::%player%}%&8: &7%uncolored arg-2%"
                send "&8[&7Fısıldama&8] &e%{rpg::isim::%player%}%&8: &7%uncolored arg-2%" to arg-1
              
command /me [<text>]:
    trigger:
        if arg 1 is set:
            loop all players in radius 20 of player:
                send "&5* %{rpg::isim::%player%}% %uncolored arg-1%" to loop-player
                      
command /do [<text>]:
    trigger:
        arg 1 is set:
            loop all players in radius 20 of player:
                send "&a* %uncolored arg-1% &2((&a%{rpg::isim::%player%}%&2))" to loop-player

command /b [<text>]:
    aliases: ooc
    trigger:
        arg 1 is set:
            if player is op:
                loop all players in radius 25 of player:
                    send "&4((%{rpg::isim::%player%}% - %player%))&7: &f%uncolored arg-1%" to loop-player
            else:
                loop all players in radius 25 of player:
                    send "&f((%{rpg::isim::%player%}% - %player%)): &7%uncolored arg-1%" to loop-player
 
Son düzenleme:
Üst