SHARE
TWEET

Untitled

taichi1230 Sep 16th, 2019 (edited) 116 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /hab  <text> [<player>] [<text>]:
  2.     trigger:
  3.         if arg-1 is "set":
  4.             if length of arg-3 is 4:
  5.                 loop 4 times:
  6.                     set {_%player%.habindnum} to first loop-number characters of arg-3
  7.                     set {%player%.habnum::%loop-number%} to last 1 characters of {_%player%.habindnum}
  8.                     send "&a%loop-number%" to player
  9.                     send "&1%{%player%.habnum::%loop-number%}%" to player
  10.                     if {%player%.habnum::%loop-number%} is not "0" or "1" or "2" or "3" or "4" or "5" or "6" or "7" or "8" or "9":
  11.                         loop {%player%.habnum::*}:
  12.                             send "%loop-value-2%" to player
  13.                         delete {%player%.habnum::*}
  14.                         send "&8隠す数字は4桁の数字にしてください。%loop-number%" to player
  15.                         exit
  16.             else:
  17.                 send "&8隠す数字は4桁の&a数字&8にしてください。" to player
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