A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4698

Backtrace:

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 693
Function: getPaste

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once

Skript Test - Stikked
From BartlettRock, 11 Years ago, written in Java.
Embed
  1. # Commands
  2.        
  3. command /tcoh [<text = " ">] [<text = " ">] [<text = " ">]:
  4.         trigger:
  5.                 set {_prefix} to value "TCOH.Settings.Prefix" pulled from "TCOH/Config"
  6.                 if argument 1 is " ":
  7.                         if player has permission "tcoh.command.player":
  8.                                 set {_prefix} to value "TCOH.Settings.Prefix" pulled from "TCOH/Config"
  9.                                 message "&c===== &eThe Conquering Of Herobrine &c====="
  10.                                 message "%{_prefix}% Version &a{@version} &7by &aBartlettRock &7and &aGeekWithAChick"
  11.                                 message "%{_prefix}% Type /tcoh help &7<&aplayer &7| &astaff &7| &aadmin&7> for command information."
  12.                                 stop
  13.                
  14.                 if argument 1 is "updatecheck":
  15.                         set {_prefix} to value "TCOH.Settings.Prefix" pulled from "TCOH/Config"
  16.                         if player has permission "tcoh.versioncheck":
  17.                                 set {TCOH.NewVersion} to text from url "http://bartlettrock.freeost.com/version.txt"
  18.                                 if {TCOH.NewVersion} is "{@version}":
  19.                                         message "%{_prefix}% &cYour version is up to date."
  20.                                         stop
  21.                                 if {TCOH.NewVersion} is not "{@version}":
  22.                                         message ""
  23.                                         message "%{_prefix}% &cTCOH is out of date! Your version is &6{@version} &cand the newest version is &6%{TCOH.NewVersion}%&c."
  24.                                         message ""
  25.                                                
  26.                 if argument 1 is "help":
  27.                         if argument 2 is " ":
  28.                                 if player has permission "tcoh.command.player":
  29.                                         message "&9------ &9&l[&6&lTCOH&9&l] &r&3Player Commands &9------"
  30.                                         message "%{_prefix}% /tcoh join - Join the lobby"
  31.                                         message "%{_prefix}% /tcoh leave - Leaves the game"
  32.                                         message "%{_prefix}% /tcoh spectate <id> - Spectate a running arena"
  33.                                         message "%{_prefix}% /tcoh list - List all players in the arena you are playing in"
  34.                                         message "%{_prefix}% /tcoh vote - &cTO BE IMPLEMENTED"
  35.                                         stop
  36.                                
  37.                         if argument 2 is "player":
  38.                                 if player has permission "tcoh.command.player":
  39.                                         message "&9------ &9&l[&6&lTCOH&9&l] &r&3Player Commands &9------"
  40.                                         message "%{_prefix}% /tcoh join - Join the lobby"
  41.                                         message "%{_prefix}% /tcoh leave - Leaves the game"
  42.                                         message "%{_prefix}% /tcoh spectate <id> - Spectate a running arena"
  43.                                         message "%{_prefix}% /tcoh list - List all players in the arena you are playing in"
  44.                                         message "%{_prefix}% /tcoh vote - &cTO BE IMPLEMENTED"
  45.                                         stop
  46.                                
  47.                         if argument 2 is "staff":
  48.                                 if player has permission "tcoh.command.staff":
  49.                                         message "&9------ &9&l[&6&lTCOH&9&l] &r&3Staff Commands &9------"
  50.                                         message "%{_prefix}% /tcoh enable <id> - Enable arena <id>"
  51.                                         message "%{_prefix}% /tcoh diable <id> - Disable arena <id>"
  52.                                         stop
  53.                                
  54.                         if argument 2 is "admin":
  55.                                 if player has permission "tcoh.command.admin":
  56.                                         message "&9------ &9&l[&6&lTCOH&9&l] &r&3Admin Commands &9------"
  57.                                         message "%{_prefix}% /tcoh listarenas - List all available arenas"
  58.                                         message "%{_prefix}% /tcoh setlobbyspawn - Set the lobby spawnpoint"
  59.                                         message "%{_prefix}% /tcoh delspawn <id> <type> - Delete a spawn for the given arena id"
  60.                                         message "%{_prefix}% /tcoh setspawn <id> <type> - Set a spawn for the given arena id"
  61.                                         message "%{_prefix}% /tcoh createarena <id> &m<radius>&r&7 - Creates a arena with a given size (Default: 100)"
  62.                                         message "%{_prefix}% /tcoh deletearena <id> - Delete a arena"
  63.                                         stop
  64.                                        
  65.                 if argument 1 is "createarena":
  66.                         if player has permission "tcoh.command.admin":
  67.                                 if argument 2 is " ":
  68.                                         message "%{_prefix}% &cPlease pick a arena name."
  69.                                         stop
  70.                                 if argument 2 is set:
  71.                                         if {tcoh.map.%argument 2%} is set:
  72.                                                 message "&cThe arena &4%argument 2% &cis already set. Please delete the arena with '/tcoh deletearena %argument 2%'"
  73.                                                 stop
  74.                                         if {tcoh.map.%argument 2%} is not set:
  75.                                                 message "%{_prefix}% &aArena &2%argument 2% &ahas been created."
  76.                                                 set {tcoh.map.%argument 2%} to true
  77.                                                 add argument 2 to {tcoh.arenas::*}
  78.                                                 stop
  79.                                
  80.                 if argument 1 is "deletearena":
  81.                         if player has permission "tcoh.command.admin":
  82.                                 if argument 2 is " ":
  83.                                         message "%{_prefix}% &cPlease pick a arena name."
  84.                                         stop
  85.                                 if argument 2 is set:
  86.                                         if {tcoh.map.%argument 2%} is set:
  87.                                                 delete {tcoh.map.%argument 2%}
  88.                                                 remove argument 2 from {tcoh.arenas::*}
  89.                                                 message "%{_prefix}% &a%argument 2% has been deleted."
  90.                                                 stop
  91.                                         if {tcoh.map.%argument 2%} is not set:
  92.                                                 message "%{_prefix}% &cYou can not delete an arena that does not exist."
  93.                                                 stop
  94.                                                
  95.                 if argument 1 is "setspawn":
  96.                         if player has permission "tcoh.command.admin":
  97.                                 if argument 2 is " ":
  98.                                         message "%{_prefix}% &aPlease choose a map to set the spawn for."
  99.                                         stop
  100.                                 if argument 2 is set:
  101.                                         if {tcoh.map.%argument 2%} is not set:
  102.                                                 message "%{_prefix}% &4%argument 2%&c is not a valid map."
  103.                                                 stop
  104.                                         if argument 3 is " ":
  105.                                                 message "%{_prefix}% &cPlease choose &4Herobrine &cor &4Hunter &cor &4Lobby&c&c."
  106.                                                 stop
  107.                                         if argument 3 is "herobrine":
  108.                                                 if {tcoh.map.%argument 2%.Herobrine} is set:
  109.                                                         message "%{_prefix}% &2%argument 3% &aspawn for &2%argument 2% &ais already set. Please delete the spawn with '/tcoh delspawn %argument 2% %argument 3%'"
  110.                                                         stop
  111.                                                 if {tcoh.map.%argument 2%.Herobrine} is not set:
  112.                                                         set {tcoh.map.%argument 2%.Herobrine} to location of player
  113.                                                         message "%{_prefix}% &aSpawn type &2%argument 3% &ahas been set."
  114.                                                         stop
  115.                                         if argument 3 is "hunter":
  116.                                                 if {tcoh.map.%argument 2%.Hunter} is set:
  117.                                                         message "%{_prefix}% &2%argument 3% &aspawn for &2%argument 2% &ais already set. Please delete the spawn with '/tcoh delspawn %argument 2% %argument 3%'"
  118.                                                         stop
  119.                                                 if {tcoh.map.%argument 2%.Hunter} is not set:
  120.                                                         set {tcoh.map.%argument 2%.Hunter} to location of player
  121.                                                         message "%{_prefix}% &aSpawn type &2%argument 3% &ahas been set."
  122.                                                         stop
  123.                                         if argument 3 is "lobby":
  124.                                                 if {tcoh.map.%argument 2%.Lobby} is set:
  125.                                                         message "%{_prefix}% &2%argument 3% &aspawn for &2%argument 2% &ais already set. Please delete the spawn with '/tcoh delspawn %argument 2% %argument 3%'"
  126.                                                         stop
  127.                                                 if {tcoh.map.%argument 2%.Lobby} is not set:
  128.                                                         set {tcoh.map.%argument 2%.Lobby} to location of player
  129.                                                         message "%{_prefix}% &aSpawn type &2%argument 3% &ahas been set."
  130.                                                         stop
  131.                                                
  132.                                         else:
  133.                                                 message "%{_prefix}% &cPlease choose &4Herobrine &cor &4Hunter &cor &4Lobby&c&c."
  134.                                                 stop
  135.                                                        
  136.                 if argument 1 is "delspawn":
  137.                         if player has permission "tcoh.command.admin":
  138.                                 if argument 2 is " ":
  139.                                         message "%{_prefix}% &aPlease choose a map to delete the spawn for."
  140.                                         stop
  141.                                        
  142.                                 if argument 2 is set:
  143.                                         if {tcoh.map.%argument 2%} is not set:
  144.                                                 message "%{_prefix}% &4%argument 2%&c is not a valid map."
  145.                                                 stop
  146.                                         if argument 3 is " ":
  147.                                                 message "%{_prefix}% &cPlease choose &4Herobrine &cor &4Hunter &cor &4Lobby&c&c."
  148.                                                 stop
  149.                                         if argument 3 is "herobrine":
  150.                                                 if {tcoh.map.%argument 2%.Herobrine} is not set:
  151.                                                         message "%{_prefix}% &4%argument 3% &cspawn for &4%argument 2% &cis not set."
  152.                                                         stop
  153.                                                 if {tcoh.map.%argument 2%.Herobrine} is set:
  154.                                                         delete {tcoh.map.%argument 2%.Herobrine}
  155.                                                         message "%{_prefix}% &aSpawn type &2%argument 3% &ahas been deleted."
  156.                                                         stop
  157.                                         if argument 3 is "hunter":
  158.                                                 if {tcoh.map.%argument 2%.Hunter} is not set:
  159.                                                         message "%{_prefix}% &4%argument 3% &cspawn for &4%argument 2% &cis not set."
  160.                                                         stop
  161.                                                 if {tcoh.map.%argument 2%.Hunter} is set:
  162.                                                         delete {tcoh.map.%argument 2%.Hunter}
  163.                                                         message "%{_prefix}% &aSpawn type &2%argument 3% &ahas been deleted."
  164.                                                         stop
  165.                                         if argument 3 is "lobby":
  166.                                                 if {tcoh.map.%argument 2%.Lobby} is not set:
  167.                                                         message "%{_prefix}% &4%argument 3% &cspawn for &4%argument 2% &cis not set."
  168.                                                         stop
  169.                                                 if {tcoh.map.%argument 2%.Lobby} is set:
  170.                                                         delete {tcoh.map.%argument 2%.Lobby}
  171.                                                         message "%{_prefix}% &aSpawn type &2%argument 3% &ahas been deleted."
  172.                                                         stop
  173.                                         else:
  174.                                                 message "%{_prefix}% &cPlease choose &4Herobrine &cor &4Hunter &cor &4Lobby&c."
  175.                                                 stop
  176.                                        
  177.                 if argument 1 is "setlobbyspawn":
  178.                         if player has permission "tcoh.command.admin":
  179.                                 if {tcoh.spawns.lobby} is set:
  180.                                         message "%{_prefix}% &cLobby spawn is already set. Please delete it with '/tcoh dellobbyspawn'"
  181.                                         stop
  182.                                 if {tcoh.spawns.lobby} is not set:
  183.                                         message "%{_prefix}% &aLobby spawn has been set."
  184.                                         set {tcoh.spawns.lobby} to location of player
  185.                                         stop
  186.                                        
  187.                 if argument 1 is "dellobbyspawn":
  188.                         if player has permission "tcoh.command.admin":
  189.                                 if {tcoh.spawns.lobby} is set:
  190.                                         message "%{_prefix}% &aLobby spawn has been deleted."
  191.                                         delete {tcoh.spawns.lobby}
  192.                                         stop
  193.                                 if {tcoh.spawns.lobby} is not set:
  194.                                         message "%{_prefix}% &cLobby spawn does not exist."
  195.                                         stop
  196.                
  197.                 if argument 1 is "join":
  198.                         if player has permission "tcoh.command.player":
  199.                                 if argument 2 is " ":
  200.                                         message "%{_prefix}% &aYou have joined the lobby."
  201.                                         teleport the player to {tcoh.spawns.lobby}
  202.                                         stop
  203.                                 if {tcoh.players.%argument 2%::%player%} is set:
  204.                                         send "<light red>You are already in the game!"
  205.                                         stop
  206.                                 set {tcoh.players.%argument 2%::%player%} to player
  207.                                 set gamemode of player to survival
  208.                                 set {tcoh.arena.%player%} to argument 2
  209.                                 add player to {tcoh.list.%{tcoh.arena.%player%}%::*}
  210.                                 add 1 to {tcoh.joinedtotal.%{tcoh.arena.%player%}%}
  211.                                 send "<light green>You joined the game"
  212.                                 if {tcoh.%{tcoh.arena.%player%}%.running} is not set:
  213.                                         teleport player to {tcoh.map.%{tcoh.arena.%player%}%.lobby}
  214.                                         send "<light green>Game didn't start yet"
  215.                                         {tcoh.%{tcoh.arena.%player%}%.counting} is not set
  216.                                         if {tcoh.joinedtotal.%{tcoh.arena.%player%}%} is more than or equal to 1: # Minimum player requirement is met.
  217.                                                 set {tcoh.%{tcoh.arena.%player%}%.counting} to true
  218.                                                 broadcast "<light blue>Starting game in 10 seconds"
  219.                                                 set {_seconds} to 10
  220.                                                 while {tcoh.joinedtotal.%{tcoh.arena.%player%}%} is more than or equal to 1: # Minimum player requirement is met.
  221.                                                         subtract 1 from {_seconds}
  222.                                                         wait 1 second
  223.                                                         if {_seconds} is more than 1:
  224.                                                                 send "<light blue>Starting game in %{_seconds}% seconds" to {tcoh.list.%{tcoh.arena.%player%}%::*}
  225.                                                         if {_seconds} is 1:
  226.                                                                 send "<light blue>Starting game in 1 second" to {tcoh.list.%{tcoh.arena.%player%}%::*}
  227.                                                         if {_seconds} is 0:
  228.                                                                 send "<light blue>Starting game!" to {tcoh.list.%{tcoh.arena.%player%}%::*}
  229.                                                                 execute console command "/CTF start"
  230.                                                                 set {tcoh.%argument 2%.running} to true
  231.                                                                 loop all players:
  232.                                                                         if {tcoh.list.%argument 2%::*} contains loop-player:
  233.                                                                                 teleport the loop-player to {tcoh.map.%{tcoh.arena.%loop-player%}%.Hunter}
  234.                                                                         message "%{_prefix}% &ePlease wait while we pick out herobrine."
  235.                                                                         wait 3 seconds
  236.                                                                         add loop-player to {tcoh.PickingGroup.%argument 2%::*}
  237.                                                                         set {_herobrine} to random element out of {tcoh.PickingGroup.%argument 2%::*}
  238.                                                                         teleport {_herobrine} to {tcoh.map.%{tcoh.arena.%loop-player%}%.Herobrine}
  239.                                                                         send "%{_prefix}% &a%{_herobrine}% &eis now the &cHerobrine&e." to {tcoh.list.%{tcoh.arena.%loop-player%}%::*}
  240.                                                                         send "%{_prefix}% Please choose your kit now..." to {tcoh.list.%{tcoh.arena.%loop-player%}%::*}
  241.                                                                         wait 30 seconds
  242.                                                                         send "%{_prefix}% Starting." to {tcoh.list.%{tcoh.arena.%loop-player%}%::*}
  243.                                                                         stop
  244.                                                 delete {tcoh.%{tcoh.arena.%player%}%.counting}
  245.                                         else:
  246.                                                 send "<light red>Waiting for more players to start"
  247.                                 else:
  248.                                         send "<light red>Game already started!"
  249.                        
  250.                 if argument 1 is "leave":
  251.                         if {tcoh.players.%{tcoh.arena.%player%}%::%player%} is not set:
  252.                                 send "<light red>You are not in a game!"
  253.                                 stop
  254.                         clear the player's inventory
  255.                         remove player from {tcoh.list.%{tcoh.arena.%player%}%::*}
  256.                         remove 1 from {tcoh.joinedtotal.%{tcoh.arena.%player%}%}
  257.                         delete {tcoh.players.%{tcoh.arena.%player%}%::%player%}
  258.                         teleport player to {tcoh.spawns.lobby}
  259.                         set maximum health of player to 10
  260.                         heal the player
  261.                         equip player with all air
  262.                         send "<light green>You left the game"
  263.                         if {tcoh.players.%{tcoh.arena.%player%}%::*} is less than 2:
  264.                                 {tcoh.%{tcoh.arena.%player%}%.running} is true
  265.                                 execute console command "/ctf stopgame"
  266.                        
  267.                 if argument 1 is "list":
  268.                         if player has permission "tcoh.command.staff":
  269.                                 message "%{_prefix}% &aArenas:"
  270.                                 if size of {tcoh.arenas::*} is 0:
  271.                                         message "%{_prefix}% - &c&l&oNONE"
  272.                                 else:
  273.                                         loop {tcoh.arenas::*}:
  274.                                                 message "%{_prefix}% - %loop-value%"
  275.                                         stop
  276.                                        
  277.                 if argument 1 is "countdown":
  278.                         if argument 2 is " ":
  279.                                 message "%{_prefix}% &cPlease pick a map name."
  280.                                 stop
  281.                         if {tcoh.map.%argument 2%} is not set:
  282.                                 message "%{_prefix}% &4%argument 2% &cis not a valid map."
  283.                                 stop
  284.                         if argument 2 is set:
  285.                                 if argument 3 is " ":
  286.                                         message "%{_prefix}% &cPlease pick a number."
  287.                                         stop
  288.                                 if argument 3 is set:
  289.                                         set {tcoh.settings.%argument 2%.countdown} to argument 3
  290.                                         message "%{_prefix}% &aCountdown has been set to: %argument 3%"
  291.                                         stop
  292.                                
  293.  
  294.                 if argument 1 is "enable":
  295.                         if player has permission "tcoh.command.admin":
  296.                                 if argument 2 is set:
  297.                                         if {tcoh.map.%argument 2%} is not set:
  298.                                                 send "%{_prefix}% &4%argument 2% &cis not a valid map."
  299.                                                 stop
  300.                                         if {tcoh.map.%argument 2%} is set:
  301.                                                 if {tcoh.map.%argument 2%} is true:
  302.                                                         message "%{_prefix}% &4%argument 2% &cis already enabled."
  303.                                                         stop
  304.                                                 if {tcoh.map.%argument 2%} is false:
  305.                                                         set {tcoh.map.%argument 2%} to true
  306.                                                         message "%{_prefix}% &2%argument 2% &ahas been enabled."
  307.                                                         set line 4 of block at {tcoh.map.SignLocation::%argument 2%} to "&5❂ Lobby ❂"
  308.                                                         stop
  309.                                        
  310.                 if argument 1 is "disable":
  311.                         if player has permission "tcoh.command.admin":
  312.                                 if argument 2 is set:
  313.                                         if {tcoh.map.%argument 2%} is not set:
  314.                                                 send "%{_prefix}% &4%argument 2% &cis not a valid map."
  315.                                                 stop
  316.                                         if {tcoh.map.%argument 2%} is set:
  317.                                                 if {tcoh.map.%argument 2%} is false:
  318.                                                         message "%{_prefix}% &4%argument 2% &cis already disabled."
  319.                                                         stop
  320.                                                 if {tcoh.map.%argument 2%} is true:
  321.                                                         set {tcoh.map.%argument 2%} to false
  322.                                                         message "%{_prefix}% &2%argument 2% &ahas been disabled."
  323.                                                         set line 4 of block at {tcoh.map.SignLocation::%argument 2%} to "&4DISABLED"
  324.                                                         stop
  325.                                                        
  326.                 if argument 1 is "info":
  327.                         if argument 2 is " ":
  328.                                 message "%{_prefix}% &cYou need to put a name for info you want."
  329.                                 stop
  330.                         if argument 2 is set:
  331.                                 if {tcoh.map.%argument 2%} is not set:
  332.                                         message "%{_prefix}% &4%argument 2%&c is not a valid map."
  333.                                         stop
  334.                                 if {tcoh.map.%argument 2%} is set:                             
  335.                                         message "&e&m##########&r &9%argument 2% &e&m##########"
  336.                                         if {tcoh.map.%argument 2%.Herobrine} is not set:
  337.                                                 message  "&6Herobrine spawn: &cNo"
  338.                                                
  339.                                         if {tcoh.map.%argument 2%.Herobrine} is set:
  340.                                                 message  "&6Herobrine spawn: &aYes"
  341.                                                
  342.                                         if {tcoh.map.%argument 2%.Hunter} is not set:
  343.                                                 message  "&6Hunter spawn: &cNo"
  344.                                                
  345.                                         if {tcoh.map.%argument 2%.Hunter} is set:
  346.                                                 message  "&6Hunter spawn: &aYes"
  347.                                                
  348.                                         if {tcoh.map.%argument 2%.Lobby} is not set:
  349.                                                 message  "&6Lobby spawn: &cNo"
  350.                                                
  351.                                         if {tcoh.map.%argument 2%.Lobby} is set:
  352.                                                 message  "&6Lobby spawn: &aYes"
  353.                                                
  354.                                         if {tcoh.map.%argument 2%} is not set:
  355.                                                 message "&6Type: &cDisabled"
  356.                                         else if {tcoh.map.%argument 2%} is false:
  357.                                                 message "&6Type: &cDisabled"
  358.                                                
  359.                                         if {tcoh.map.%argument 2%} is true:
  360.                                                 message "&6Type: &aEnabled"
  361.                                                
  362.                                         if {tcoh.settings.max player requirement} is not set:
  363.                                                 message "&6Max player size: &cNot set."
  364.                                                
  365.                                         if {tcoh.settings.max player requirement} is set:
  366.                                                 message "&6Max player size: &a%{tcoh.settings.max player requirement}%"
  367.                                                
  368.                                         if {tcoh.settings.min player requirement} is not set:
  369.                                                 message "&6Min player size: &cNot set."
  370.                                                
  371.                                         if {tcoh.settings.min player requirement} is set:
  372.                                                 message "&6Min player size: &a%{tcoh.settings.min player requirement}%"
  373.                                        
  374.                                         if {tcoh.settings.%argument 2%.countdown} is not set:
  375.                                                 message "&6Countdown time: &cNot set"
  376.                                        
  377.                                         if {tcoh.settings.%argument 2%.countdown} is set:
  378.                                                 message "&6Countdown time: &a%{tcoh.settings.%argument 2%.countdown}%"
  379.  
  380.                                         send "&e&m##############################"
  381.                                                
  382.                                                
  383.                 if argument 1 is "setmaxplayersize":
  384.                         if player has permission "tcoh.command.admin":
  385.                                 if argument 2 is set:
  386.                                         if argument 2 is "1" or "2" or "3" or "4" or "5" or "6" or "7" or "8" or "9" or "10" or "11" or "12" or "13" or "14" or "15":
  387.                                                 set {tcoh.settings.max player requirement} to argument 2
  388.                                                 message "%{_prefix}% &aMax size of maps has been set to: %{tcoh.settings.max player requirement}%"
  389.                                         else:
  390.                                                 message "%{_prefix}% &cMax size is only allowed to go up to 15 players."
  391.                                                
  392.                 if argument 1 is "setminplayersize":
  393.                         if player has permission "tcoh.command.admin":
  394.                                 if argument 2 is set:
  395.                                         if argument 2 is "1" or "2" or "3" or "4" or "5" or "6" or "7" or "8" or "9" or "10" or "11" or "12" or "13" or "14" or "15":
  396.                                                 set {tcoh.settings.min player requirement} to argument 2
  397.                                                 message "%{_prefix}% &aMin size of maps has been set to: %{tcoh.settings.min player requirement}%"
  398.                                         else:
  399.                                                 message "%{_prefix}% &cMin size is only allowed to go up to 15 players."
  400.                                                
  401.                 if argument 1 is "reset":
  402.                         if player has permission "tcoh.command.admin":
  403.                                 if target block is not a sign:
  404.                                         message "%{_prefix}% &4Error: &cTarget block required: &eSign&c."
  405.                                         message "%{_prefix}% &4Error: &cTarget block given: &e%target block%&c."
  406.                                         stop
  407.                                 if target block is a sign:
  408.                                         if argument 2 is " ":
  409.                                                 message "%{_prefix}% &cPlease pick the name of the map that is on the sign that you would like to reset."
  410.                                                 stop
  411.                                         if argument 2 is "?":
  412.                                                 message "%{_prefix}% &eThe reason we have this reset option is if the player list can not keep up with the actual count."
  413.                                                 stop
  414.                                         if argument 2 is set:
  415.                                                 if line 2 of target block is argument 2:
  416.                                                         message "%{_prefix}% &aNow resetting the sign for arena &2%argument 2%&a."
  417.                                                         message "%{_prefix}% &aThe arena &2%argument 2% &ais now reset."
  418.                                                         delete {tcoh.joinedtotal.%argument 2%}
  419.                                                         delete {tcoh.list.%argument 2%::*}
  420.                                                         delete {tcoh.map.SignLocation::%argument 2%}
  421.                                                         set line 3 of target block to "0/%{tcoh.settings.max player requirement}%"
  422.                                                         set line 4 of target block to "&5❂ Lobby ❂"
  423.                                                         stop
  424.                                                 if line 2 of target block is not argument 2:
  425.                                                         message "%{_prefix}% &4Error: &cLine on sign required: &e%line 2 of target block%&c."
  426.                                                         message "%{_prefix}% &4Error: &cLine of sign given: &e%argument 2%&c."
  427.                                                         stop
  428.                 if argument 1 is "setsign":
  429.                         if target block is not a sign:
  430.                                 message "%{_prefix}% &4Error: &cTarget block required: &eSign&c | &cTarget block given: &e%target block%&c."
  431.                                 stop
  432.                         if target block is a sign:
  433.                                 set {tcoh.map.SignLocation::%line 2 of target block%} to true
  434.                                 message "%{_prefix}% &aLocation of sign for arena &2%line 2 of target block%&a has been set."
  435.                                 stop