Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #[==============================================================================]#
- #[==============================================================================]#
- #Steal or Check the current humans in the current channel
- discord command spn!humans [<text>]:
- trigger:
- if arg-1 is "roaming":
- if {roamers.%event-channel%} > 1:
- 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}
- wait 5 seconds
- delete event-message with event-bot
- delete random message out of {_msg} with event-bot
- else if {roamers.%event-channel%} == 1:
- 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}
- wait 5 seconds
- delete event-message with event-bot
- delete random message out of {_msg} with event-bot
- else if {roamers.%event-channel%} <= 0:
- send "```yaml%nl%There are currently no humans roaming %event-channel%.%nl%```" to event-channel with event-bot and store it in {_msg}
- wait 5 seconds
- delete event-message with event-bot
- delete random message out of {_msg} with event-bot
- else if arg-1 is "steal":
- set {_waited} to difference between {steal.%event-member%.lastused} and now
- if {_waited} is less than 15 seconds:
- 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}
- wait 5 seconds
- delete event-message with event-bot
- delete random message out of {_msg} with event-bot
- stop
- else if {roamers.%event-channel%} >= 1:
- chance of 7%:
- add 1 to {puresouls.%event-member%}
- 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}
- remove 1 from {roamers.%event-channel%}
- wait 2 seconds
- delete event-message with event-bot
- delete random message out of {_msg} with event-bot
- stop
- chance of 10%:
- add 1 to {torturedsouls.%event-member%}
- 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}
- remove 1 from {roamers.%event-channel%}
- wait 4 seconds
- delete event-message with event-bot
- delete random message out of {_msg} with event-bot
- stop
- else:
- 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}
- wait 4 seconds
- delete event-message with event-bot
- delete random message out of {_msg} with event-bot
- stop
- else:
- send "```diff%nl%- Error: There are no humans in %event-channel%... -%nl%```" to event-channel with event-bot and store it in {_msg}
- wait 4 seconds
- delete event-message with event-bot
- delete random message out of {_msg} with event-bot
- stop
- else:
- send "```diff%nl%- Error: That is not a valid argument. -%nl%```" to event-channel with event-bot and store it in {_msg}
- wait 5 seconds
- delete event-message with event-bot
- delete random message out of {_msg} with event-bot
- stop
- #[==============================================================================]#
- #[==============================================================================]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement