Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /keisan [<number>] [<text>] [<number>]:
- trigger:
- if arg-1 is not set:
- message "&e&l/keisan <数字> <記号> <数字>"
- if arg-1 = {suuji1}:
- if arg-3 = {suuji2}:
- if arg-2 is "+":
- set {kotae} to floor({suuji1}+{suuji2})
- if arg-2 is "-":
- set {kotae} to floor({suuji1}-{suuji2})
- if arg-2 is "*":
- set {kotae} to floor({suuji1}*{suuji2})
- if arg-2 is "/":
- set {kotae} to floor({suuji1}/{suuji2})
Add Comment
Please, Sign In to add comment