SHARE
TWEET

Auto-Message Ver:1.0

K2Rk1o Jan 10th, 2019 (edited) 14 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Options:
  2. #===================#
  3. #=   AutoMessage   =#
  4. #===================#
  5.     am_1: TaiwanNo1!!!
  6.     am_2: None
  7.     am_3: None
  8.     am_4: None
  9.     am_5: None
  10.     version: 1.0
  11.     by: k2R
  12. #===================#
  13. every 50 second:
  14.     if {auto::message} is true:
  15.         if {auto::message::1} is true:
  16.             broadcast "{@am_1}"
  17.             stop
  18.         if {auto::message::2} is true:
  19.             broadcast "{@am_2}"
  20.             stop
  21.         if {auto::message::3} is true:
  22.             broadcast "{@am_3}"
  23.             stop
  24.         if {auto::message::4} is true:
  25.             broadcast "{@am_4}"
  26.             stop
  27.         if {auto::message::5} is true:
  28.             broadcast "{@am_5}"
  29.             stop
  30.     if {auto::message} is false:
  31.         stop
  32.  
  33. on load:
  34.     set {auto::message} to "true"
  35.  
  36. command /AutoMessage [<text>] [<text>]:
  37.     permission: auto.Message
  38.     trigger:
  39.         if arg 1 is "help":
  40.             if arg 2 is not set:
  41.                 send "&2&l=====&fAuto&a-&eMessage&2&l====="
  42.                 send "&cversion: {@version} &aCreate: {@by}"
  43.                 send ""
  44.                 send "&6/AutoMessage true      "
  45.                 send "AutoMessageをオンにします。"
  46.                 send "&6/AutoMessage false"
  47.                 send "AutoMessageをオフにします。"
  48.                 send "1Page > 2Page"
  49.                 send "&6/AutoMessage help 2"
  50.                 send "&2&l====================="
  51.                 stop
  52.             if arg 2 is "2":
  53.                 send "&2&l====================="
  54.                 send "&e&l--------2Page--------"
  55.                 send "&6/AutoMessage check"
  56.                 send "現在trueになっている"
  57.                 send "メッセージを表示します。"
  58.                 send "&6/AutoMessage true-message"
  59.                 send "(1~5)"
  60.                 send "選択した数字のメッセージが"
  61.                 send "流れるようになります。"
  62.                 send "&6/AutoMessage false-message"
  63.                 send "(1~5)"
  64.                 send "選択した数字のメッセージを"
  65.                 send "流れないようになります。"
  66.                 send "&2&l====================="
  67.         if arg 1 is "true":
  68.             set {auto::message} to "true"
  69.             send "AutoMessageをオンにしました。"
  70.         if arg 1 is "false":
  71.             set {auto::message} to "false"
  72.             send "AutoMessageをオフにしました。"
  73.         if arg 1 is "check":
  74.             send "1: %{auto::message::1}%"
  75.             send "2: %{auto::message::2}%"
  76.             send "3: %{auto::message::3}%"
  77.             send "4: %{auto::message::4}%"
  78.             send "5: %{auto::message::5}%"
  79.             send "AutoMSG: %{auto::message}%"
  80.             stop
  81.         if arg 1 is "true-message":
  82.             if arg 2 is "1":
  83.                 set {auto::message::1} to "true"
  84.             if arg 2 is "2":
  85.                 set {auto::message::2} to "true"
  86.             if arg 2 is "3":
  87.                 set {auto::message::3} to "true"
  88.             if arg 2 is "4":
  89.                 set {auto::message::4} to "true"
  90.             if arg 2 is "5":
  91.                 set {auto::message::5} to "true"
  92.         if arg 1 is "false-message":
  93.             if arg 2 is "1":
  94.                 set {auto::message::1} to "false"
  95.             if arg 2 is "2":
  96.                 set {auto::message::2} to "false"
  97.             if arg 2 is "3":
  98.                 set {auto::message::3} to "false"
  99.             if arg 2 is "4":
  100.                 set {auto::message::4} to "false"
  101.             if arg 2 is "5":
  102.                 set {auto::message::5} to "false"
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