Advertisement
XxItzMichaelxX

Untitled

Jan 9th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #[==============================================================================]#
  2. #[==============================================================================]#
  3. #Steal or Check the current humans in the current channel
  4.  
  5. discord command spn!humans [<text>]:
  6.     trigger:
  7.         if arg-1 is "roaming":
  8.             if {roamers.%event-channel%} > 1:
  9.                 send "```yaml%nl%There are currently %{roamers.%event-channel%}% humans roaming %event-channel%.%nl%```" to event-channel with event-bot and store it in {_msg}
  10.                 wait 5 seconds
  11.                 delete event-message with event-bot
  12.                 delete random message out of {_msg} with event-bot
  13.             else if {roamers.%event-channel%} == 1:
  14.                 send "```yaml%nl%There is currently %{roamers.%event-channel%}% human roaming %event-channel%.%nl%```" to event-channel with event-bot and store it in {_msg}
  15.                 wait 5 seconds
  16.                 delete event-message with event-bot
  17.                 delete random message out of {_msg} with event-bot
  18.             else if {roamers.%event-channel%} <= 0:
  19.                 send "```yaml%nl%There are currently no humans roaming %event-channel%.%nl%```" to event-channel with event-bot and store it in {_msg}
  20.                 wait 5 seconds
  21.                 delete event-message with event-bot
  22.                 delete random message out of {_msg} with event-bot
  23.         else if arg-1 is "steal":
  24.             set {_waited} to difference between {steal.%event-member%.lastused} and now
  25.             if {_waited} is less than 15 seconds:
  26.                 send "```diff%nl%- Error: Please wait %difference between 15 seconds and {_waited}% before you can use this command again! -%nl%```" to event-channel with event-bot and store it in {_msg}
  27.                 wait 5 seconds
  28.                 delete event-message with event-bot
  29.                 delete random message out of {_msg} with event-bot
  30.                 stop
  31.             else if {roamers.%event-channel%} >= 1:
  32.                 chance of 7%:
  33.                     add 1 to {puresouls.%event-member%}
  34.                     send "```diff%nl%+ You successfully stole a pure soul from a roaming human in %event-channel% +%nl%```" to event-channel with event-bot and store it in {_msg}
  35.                     remove 1 from {roamers.%event-channel%}
  36.                     wait 2 seconds
  37.                     delete event-message with event-bot
  38.                     delete random message out of {_msg} with event-bot
  39.                     stop
  40.                 chance of 10%:
  41.                     add 1 to {torturedsouls.%event-member%}
  42.                     send "```diff%nl%+ You successfully stole a tortured soul from a roaming human in %event-channel% +%nl%```" to event-channel with event-bot and store it in {_msg}
  43.                     remove 1 from {roamers.%event-channel%}
  44.                     wait 4 seconds
  45.                     delete event-message with event-bot
  46.                     delete random message out of {_msg} with event-bot
  47.                     stop
  48.                 else:
  49.                     send "```diff%nl%- You failed to steal a soul from a roaming human in %event-channel% -%nl%```" to event-channel with event-bot and store it in {_msg}
  50.                     wait 4 seconds
  51.                     delete event-message with event-bot
  52.                     delete random message out of {_msg} with event-bot
  53.                     stop
  54.             else:
  55.                 send "```diff%nl%- Error: There are no humans in %event-channel%... -%nl%```" to event-channel with event-bot and store it in {_msg}
  56.                 wait 4 seconds
  57.                 delete event-message with event-bot
  58.                 delete random message out of {_msg} with event-bot
  59.                 stop
  60.         else:
  61.             send "```diff%nl%- Error: That is not a valid argument. -%nl%```" to event-channel with event-bot and store it in {_msg}
  62.             wait 5 seconds
  63.             delete event-message with event-bot
  64.             delete random message out of {_msg} with event-bot
  65.             stop
  66.  
  67. #[==============================================================================]#
  68. #[==============================================================================]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement