Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if arg-1 is "create":
- if {sw.playing.%player%} is false:
- if arg-2 is set:
- if arg-3 is "SOLO_NORMAL", "SOLO_INSANE", "TEAM_NORMAL" or "TEAM_INSANE":
- add text arg-2 to {sw.arena::*}
- set {sw.arena.%arg-2%.joinable} to false
- set {sw.arena.%arg-2%.exists} to true
- set {sw.arena.%arg-2%.created} to true
- set {sw.arena.%arg-2%.saved} to false
- set {sw.arena.%arg-2%.spawns.count} to 0
- set {sw.arena.%arg-2%.mode} to "%arg-3%"
- else:
- send "{@nomodename}"
- stop
- else:
- send "{@noarenaname}"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement