mciltrot34
International Rias Fanclup President
- Mesajlar
- 1,199
- En iyi cevaplar
- 1
- Beğeniler
- 540
- Puanları
- 1,090
Merhaba arkadaşlar.
Bugün sizlerin karşısına rapor skriptim ile çıkıyorum.
Öncelikle skript menü desteklidir. Bu yüzden SKQuery yüklenmesi zorunludur.
Resimler
Komutlar
/rapor > Rapor Menüsünü Açar
/raporet > Manuel Rapor Komutu
Bilgi
Biri rapor edildiğinde, eğer sunucuda op oyuncu var ise anında otomatik mesaj gönderilmektedir.
Kod
Hastebin :
http://hastebin.com/irilorobet.vbs
Spoiler :
Kod:
Kod:
#--------- RAPOR SK BY MCILTROT34 (KEMAL895) ---------#
#--------- AYARLAR --------#
on script load:
send "******************" to console
send " > Rapor SK < " to console
send " > KemaL895 < " to console
send "******************" to console
if {rapor.sayi} is not set:
set {rapor.sayi} to 0
options:
skype: Skype Adresiniz
prefix: &b[&6Rapor&b]
#-------- KOMUTLAR ---------#
command /rapor:
trigger:
open chest with 1 rows named "&bRapor Menü" to player
wait 0.2 second
format slot 0 of player with book named "&bŞuana Kadar Toplam Rapor Sayısı" with lore "&2%{rapor.sayi}%" to close then run "send {rapor.sayi}"
wait 0.2 second
format slot 1 of player with paper named "&6Birini Rapor Et" with lore "&2Birini rapor etmek için tıkla !" to close then run "raporetmenu %player%"
wait 0.2 second
format slot 2 of player with diamond named "&6Yetkili Skype Adresleri" with lore "{@skype}" to close then run "send {@skype}"
wait 0.2 second
format slot 8 of player with nether star named "&4&nSkript By KemaL895" to close then run "send &4&nSkript By KemaL895"
stop
command /raporetmenu [<player>]:
trigger:
command sender is console
if arg 1 is not set:
set {raporchat.%player%} to true
set {raporasamachat.%player%} to "1"
send "{@prefix} &aLütfen Rapor Edeceğiniz Kişinin Adını Yazınız. Eğer Düzgün Rapor Yazmaz İseniz Sunucudan Uzaklaştırılabilirsiniz." to player
add 1 to {rapor.sayi}
else:
set {raporchat.%arg 1%} to true
set {raporasamachat.%arg 1%} to "1"
send "{@prefix} &aLütfen Rapor Edeceğiniz Kişinin Adını Yazınız. Eğer Düzgün Rapor Yazmaz İseniz Sunucudan Uzaklaştırılabilirsiniz." to arg 1
add 1 to {rapor.sayi}
command /raporet:
trigger:
set {raporchat.%player%} to true
set {raporasamachat.%player%} to "1"
send "{@prefix} &aLütfen Rapor Edeceğiniz Kişinin Adını Yazınız. Eğer Düzgün Rapor Yazmaz İseniz Sunucudan Uzaklaştırılabilirsiniz." to player
add 1 to {rapor.sayi}
#--------- MEKANIKLER ---------#
on chat:
if {raporchat.%player%} is true:
cancel event
if {raporasamachat.%player%} is "1":
set {raporedilen.%player%} to message
send "{@prefix} &aLütfen Rapor Sebebinizi Yazınız."
wait 1 second
set {raporasamachat.%player%} to "2"
stop
if {raporasamachat.%player%} is "2":
set {raporsebebi.%player%} to message
send "{@prefix} &aRaporunuz iletilmiştir. İyi Oyunlar Dileriz :)"
log "Rapor Eden : %player%" to "raporlar.log"
log "Rapor Edilen : %{raporedilen.%player%}%" to "raporlar.log"
log "Rapor Sebebi : %{raporsebebi.%player%}%" to "raporlar.log"
log "**************************************************" to "raporlar.log"
loop all players:
if loop-player is op:
send "{@prefix} &aBir Rapor Geldi !"
send "{@prefix} &3Rapor Eden &0: &2%player%" to loop-player
send "{@prefix} &3Rapor Edilen &0: &2%{raporedilen.%player%}%" to loop-player
send "{@prefix} &3Rapor Sebebi &0: &2%{raporsebebi.%player%}%" to loop-player
clear {raporchat.%player%}
clear {raporasamachat.%player%}
clear {raporedilen.%player%}
clear {raporsebebi.%player%}
stop
Son Güncellemeler
Birkaç bug düzeltildi. (Mutlaka son sürümü kullanın)
Birkaç bug düzeltildi. (Mutlaka son sürümü kullanın)
Not : Hata olması durumunda özelden veya konu altından iletişime geçebilirsiniz.
Son düzenleme: