Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #==================================# #Line 1
- #> Skript Author: /u/bitlington < # #Line 2
- #> Scenario Author: /u/Ellzman619 <# #Line 3
- #> Scenario: Meetup in ? < # #Line 4
- #==================================# #Line 5
- #Line 6
- #Line 7
- options: #Line 8
- scenario: &f[&bMeetupAt?&f]&7 #Line 9
- Variables: #Line 10
- {state}=off #Line 11
- # Line 12
- command /?meetup [<integer>] [<text>]: #Line 13
- description: Runs the Meetup in ? Scenario. Use Radius for to run game, no radius for ex. #Line 14
- usage: /?meetup <Radius> <off>(Turn scenario off) - No Radius gives explaination #Line 15
- executable by: players and console #Line 16
- aliases: /?m, //?meetup, //?m, /?meet, //?meet, /meet?, /m?, //m?, //meet? #Line 17
- trigger: #Line 18
- if arg 2 is set: #Line 19
- player is a op: #Line 20
- if arg 2 is "off": #Line 21
- set {state} to off #Line 22
- broadcast "{@scenario} Meetup has been stopped by <red>%player%!" #Line 23
- loop all players: #Line 24
- execute player command "/playsound mob.wolf.howl %loop-player% ~ ~ ~ 1 1 1" #Line 25
- if arg 1 is not set: #Line 26
- if arg 2 is not set:#Line 27
- message "{@scenario} &cAt a random time, meetup will start at random coords." to the player #Line 28
- wait 0.0001 seconds #Line 29
- message "{@scenario} &cScenario Author: /u/Ellzman619" to the player #Line 30
- wait 0.0001 seconds #Line 31
- message "{@scenario} &cSkript Author: /u/bitlington" to the player #Line 32
- wait 0.0001 seconds #Line 33
- if the player is a op: #Line 34
- message "{@scenario} &cUsage: /?meetup <Radius> <off>(Turn Scenario off) - No Radius Gives Explaination - Radius not nessecary for turning it off" to the player #Line 35
- if arg 1 is set: #Line 36
- player is not a op: #Line 37
- message "{@scenario} &cYou are not an operator thus you cannot use this command." to the player #Line 38
- stop trigger #Line 39
- if arg 2 is set: #Line 40
- player is not a op: #Line 41
- message "{@scenario} &cYou are not an operator thus you cannot use this command." to the player #Line 42
- stop trigger #Line 43
- if arg 1 is less than 50: #Line 44
- message "{@scenario} &cYour radius is too small to make the skript work!" to the player #Line 45
- wait 0.5 seconds #Line 46
- stop trigger #Line 47
- set {_xmeetuploc} to a random integer between (arg 1 + 25)*-1 and (arg 1 - 25)*1 #Line 48
- set {_zmeetuploc} to a random integer between (arg 1 + 25)*-1 and (arg 1 - 25)*1 #Line 49
- set {_meetuptime} to a random integer between 1800 and 7200 #Line 50 - 39 mins to 2 Hours in Seconds
- broadcast "{@scenario} &cRandom Meetup Location and Time has been chosen!" #Line 51
- loop all players: #Line 52
- execute console command "/playsound note.pling %loop-player% ~ ~ ~ 1 1 1" #Line 53
- set {state} to on #Line 54
- loop ({_meetuptime}+1)*20 times: #Line 55
- if {state} is on: #Line 56
- wait 1 tick #Line 57
- set {_meetuptimemin} to {_meetuptime}/60 #Line 58
- broadcast "{@scenario} &cMEETUP! Go to X = %{_xmeetuploc}%, and Z = %{_zmeetuploc}%. Time Elapsed: %{_meetuptimemin}% minutes!" #Line 59
- set {state} to off #Line 60
- loop all players: #Line 61
- execute console command "/playsound mob.wolf.howl %loop-player% ~ ~ ~ 1 1 1" #Line 62
- #The End Line 63
Advertisement
Add Comment
Please, Sign In to add comment