SHARE
TWEET

[Skript]・KarehaChanBot+LVSYSTEM

K2Rk1o Jan 19th, 2019 (edited) 17 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Options:
  2. #========================#
  3. #=     KarehaChanBot    =#
  4. #========================#
  5. #LEVELSYSTEMを追加
  6. #========================#
  7. #=        Config        =#
  8. #========================#
  9.     name: G_Haichu2019
  10.     name2: SeN_E1b
  11.     name3: Bowser
  12.     name4: k2R
  13. #========================#
  14. #=      Dont Edit       =#
  15. #========================#
  16.     ver: 1.1
  17.     url: https://pastebin.com/juAkajex
  18. #========================#
  19. #=    Level System      =#
  20. #========================#
  21.     maxlv: 500
  22.    
  23.  
  24. on join:
  25.     if {lv::%player%} is not set:
  26.         set {lv::%player%} to 1
  27.         set {xp::%player%} to 0
  28.         set {up::%player%} to 500
  29.  
  30. On chat:
  31.     if {@levelsystem} is true:
  32.         add 1 to {xp::%player%}
  33.  
  34. command /status:
  35.     trigger:
  36.         send "&9≫&6ステータス&9≪"
  37.         send "&6LV&f: &9%{lv::%player%}%"
  38.         send "&aXP&f:&9%{xp::%player%}%&f/&9%{up::%player%}%"
  39.  
  40. on any movement:
  41.     if {@levelsystem} is true:
  42.         if {xp::%player%} is greater or equal to {up::%player%}:
  43.             if {lv::%player%} is greater or equal to {@maxlv}:
  44.             stop
  45.         else:
  46.             add 1 to {lv::%player%}
  47.             add 25 to {up::%player%}
  48.             set {xp::%player%}
  49.             broadcast "&eカレハちゃん&f:&9%player%さんおめでとう!LVUP!!"
  50.             broadcast "&eカレハちゃん&f:&9現在のレベルは%{lv::%Player%}%だよ!"
  51.             stop
  52.            
  53.  
  54.  
  55. command /karehachan:
  56.     trigger:
  57.         send "&a"
  58.         send "========================"
  59.         send "=     KarehaChanBot     ="
  60.         send "========================"
  61.         send "Ver: {@ver}"
  62.         send "URL: "
  63.         send "{@url}"
  64.         send "&a"
  65.  
  66.  
  67.  
  68.  
  69. On join:
  70.     set join message to "&eカレハちゃん&f: %player%さんごゆっくり!"
  71.  
  72. On quit:
  73.     set quit message to "&eカレハちゃん&f: %player%さんお疲れさまでした!"
  74.  
  75. on chat:
  76.     if message contains "おはよう" or "ohayou":
  77.         wait 1 second
  78.         broadcast "&eカレハちゃん&f: おはよぅ// "
  79.     if message contains "おやすみ" or "oyasumi":
  80.         wait 1 second
  81.         broadcast "&eカレハちゃん&f: おやすみぃ..//"
  82.     if message contains "カレハちゃん" or "karehachan":
  83.         wait 1 second
  84.         broadcast "&eカレハちゃん&f: はい! &eカレハちゃん&fです!"
  85.     if message contains "大好き" or "daisuki":
  86.         wait 1 second
  87.         broadcast "&eカレハちゃん&f: &e私&fも大好き!"
  88.     if message contains "死ね" or "sine":
  89.         wait 1 second
  90.         broadcast "&eカレハちゃん&f: そんなこといっちゃだめだよ!&eカレハちゃん&7...&9泣いちゃう&7..&f//"
  91.     if message contains "カレハちゃんの好きな人は誰?" or "karehachannosukinahitohadare?":
  92.         wait 1 second
  93.         chance of 60%:
  94.             broadcast "&eカレハちゃん&f: &eカレハちゃん&fの好きな人はね!&9{@name}さんだよ!"
  95.             stop
  96.         chance of 60%:
  97.             broadcast "&eカレハちゃん&f: &eカレハちゃん&fの好きな人はね!&9{@name2}さんだよ!"
  98.             stop
  99.         chance of 60%:
  100.             broadcast "&eカレハちゃん&f: &eカレハちゃん&fの好きな人はね!&9{@name3}さんだよ!"
  101.             stop
  102.         chance of 60%:
  103.             broadcast "&eカレハちゃん&f: &eカレハちゃん&fの好きな人はね!&9{@name4}さんだよ!"
  104.             stop
  105.     if message contains "エロ画像" or "erogazou":
  106.         broadcast "&eカレハちゃん&f: &dだ...///だめだよ!!...///そ...そんな画像///見ちゃ...だめだよ!!"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top