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: 624
Function: getPaste
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/system/core/Exceptions.php:271)
Filename: view/download.php
Line Number: 2
Backtrace:
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/themes/geocities/views/view/download.php
Line: 2
Function: header
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/core/MY_Loader.php
Line: 173
Function: include
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/core/MY_Loader.php
Line: 43
Function: _ci_load
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 625
Function: view
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/system/core/Exceptions.php:271)
Filename: view/download.php
Line Number: 3
Backtrace:
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/themes/geocities/views/view/download.php
Line: 3
Function: header
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/core/MY_Loader.php
Line: 173
Function: include
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/core/MY_Loader.php
Line: 43
Function: _ci_load
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 625
Function: view
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once
# Commands
command /tcoh [] [] []:
trigger:
set {_prefix} to value "TCOH.Settings.Prefix" pulled from "TCOH/Config"
if argument 1 is " ":
if player has permission "tcoh.command.player":
set {_prefix} to value "TCOH.Settings.Prefix" pulled from "TCOH/Config"
message "&c===== &eThe Conquering Of Herobrine &c====="
message "%{_prefix}% Version &a{@version} &7by &aBartlettRock &7and &aGeekWithAChick"
message "%{_prefix}% Type /tcoh help &7<&aplayer &7| &astaff &7| &aadmin&7> for command information."
stop
if argument 1 is "updatecheck":
set {_prefix} to value "TCOH.Settings.Prefix" pulled from "TCOH/Config"
if player has permission "tcoh.versioncheck":
set {TCOH.NewVersion} to text from url "http://bartlettrock.freeost.com/version.txt"
if {TCOH.NewVersion} is "{@version}":
message "%{_prefix}% &cYour version is up to date."
stop
if {TCOH.NewVersion} is not "{@version}":
message ""
message "%{_prefix}% &cTCOH is out of date! Your version is &6{@version} &cand the newest version is &6%{TCOH.NewVersion}%&c."
message ""
if argument 1 is "help":
if argument 2 is " ":
if player has permission "tcoh.command.player":
message "&9------ &9&l[&6&lTCOH&9&l] &r&3Player Commands &9------"
message "%{_prefix}% /tcoh join - Join the lobby"
message "%{_prefix}% /tcoh leave - Leaves the game"
message "%{_prefix}% /tcoh spectate - Spectate a running arena"
message "%{_prefix}% /tcoh list - List all players in the arena you are playing in"
message "%{_prefix}% /tcoh vote - &cTO BE IMPLEMENTED"
stop
if argument 2 is "player":
if player has permission "tcoh.command.player":
message "&9------ &9&l[&6&lTCOH&9&l] &r&3Player Commands &9------"
message "%{_prefix}% /tcoh join - Join the lobby"
message "%{_prefix}% /tcoh leave - Leaves the game"
message "%{_prefix}% /tcoh spectate - Spectate a running arena"
message "%{_prefix}% /tcoh list - List all players in the arena you are playing in"
message "%{_prefix}% /tcoh vote - &cTO BE IMPLEMENTED"
stop
if argument 2 is "staff":
if player has permission "tcoh.command.staff":
message "&9------ &9&l[&6&lTCOH&9&l] &r&3Staff Commands &9------"
message "%{_prefix}% /tcoh enable - Enable arena "
message "%{_prefix}% /tcoh diable - Disable arena "
stop
if argument 2 is "admin":
if player has permission "tcoh.command.admin":
message "&9------ &9&l[&6&lTCOH&9&l] &r&3Admin Commands &9------"
message "%{_prefix}% /tcoh listarenas - List all available arenas"
message "%{_prefix}% /tcoh setlobbyspawn - Set the lobby spawnpoint"
message "%{_prefix}% /tcoh delspawn - Delete a spawn for the given arena id"
message "%{_prefix}% /tcoh setspawn - Set a spawn for the given arena id"
message "%{_prefix}% /tcoh createarena &m&r&7 - Creates a arena with a given size (Default: 100)"
message "%{_prefix}% /tcoh deletearena - Delete a arena"
stop
if argument 1 is "createarena":
if player has permission "tcoh.command.admin":
if argument 2 is " ":
message "%{_prefix}% &cPlease pick a arena name."
stop
if argument 2 is set:
if {tcoh.map.%argument 2%} is set:
message "&cThe arena &4%argument 2% &cis already set. Please delete the arena with '/tcoh deletearena %argument 2%'"
stop
if {tcoh.map.%argument 2%} is not set:
message "%{_prefix}% &aArena &2%argument 2% &ahas been created."
set {tcoh.map.%argument 2%} to true
add argument 2 to {tcoh.arenas::*}
stop
if argument 1 is "deletearena":
if player has permission "tcoh.command.admin":
if argument 2 is " ":
message "%{_prefix}% &cPlease pick a arena name."
stop
if argument 2 is set:
if {tcoh.map.%argument 2%} is set:
delete {tcoh.map.%argument 2%}
remove argument 2 from {tcoh.arenas::*}
message "%{_prefix}% &a%argument 2% has been deleted."
stop
if {tcoh.map.%argument 2%} is not set:
message "%{_prefix}% &cYou can not delete an arena that does not exist."
stop
if argument 1 is "setspawn":
if player has permission "tcoh.command.admin":
if argument 2 is " ":
message "%{_prefix}% &aPlease choose a map to set the spawn for."
stop
if argument 2 is set:
if {tcoh.map.%argument 2%} is not set:
message "%{_prefix}% &4%argument 2%&c is not a valid map."
stop
if argument 3 is " ":
message "%{_prefix}% &cPlease choose &4Herobrine &cor &4Hunter &cor &4Lobby&c&c."
stop
if argument 3 is "herobrine":
if {tcoh.map.%argument 2%.Herobrine} is set:
message "%{_prefix}% &2%argument 3% &aspawn for &2%argument 2% &ais already set. Please delete the spawn with '/tcoh delspawn %argument 2% %argument 3%'"
stop
if {tcoh.map.%argument 2%.Herobrine} is not set:
set {tcoh.map.%argument 2%.Herobrine} to location of player
message "%{_prefix}% &aSpawn type &2%argument 3% &ahas been set."
stop
if argument 3 is "hunter":
if {tcoh.map.%argument 2%.Hunter} is set:
message "%{_prefix}% &2%argument 3% &aspawn for &2%argument 2% &ais already set. Please delete the spawn with '/tcoh delspawn %argument 2% %argument 3%'"
stop
if {tcoh.map.%argument 2%.Hunter} is not set:
set {tcoh.map.%argument 2%.Hunter} to location of player
message "%{_prefix}% &aSpawn type &2%argument 3% &ahas been set."
stop
if argument 3 is "lobby":
if {tcoh.map.%argument 2%.Lobby} is set:
message "%{_prefix}% &2%argument 3% &aspawn for &2%argument 2% &ais already set. Please delete the spawn with '/tcoh delspawn %argument 2% %argument 3%'"
stop
if {tcoh.map.%argument 2%.Lobby} is not set:
set {tcoh.map.%argument 2%.Lobby} to location of player
message "%{_prefix}% &aSpawn type &2%argument 3% &ahas been set."
stop
else:
message "%{_prefix}% &cPlease choose &4Herobrine &cor &4Hunter &cor &4Lobby&c&c."
stop
if argument 1 is "delspawn":
if player has permission "tcoh.command.admin":
if argument 2 is " ":
message "%{_prefix}% &aPlease choose a map to delete the spawn for."
stop
if argument 2 is set:
if {tcoh.map.%argument 2%} is not set:
message "%{_prefix}% &4%argument 2%&c is not a valid map."
stop
if argument 3 is " ":
message "%{_prefix}% &cPlease choose &4Herobrine &cor &4Hunter &cor &4Lobby&c&c."
stop
if argument 3 is "herobrine":
if {tcoh.map.%argument 2%.Herobrine} is not set:
message "%{_prefix}% &4%argument 3% &cspawn for &4%argument 2% &cis not set."
stop
if {tcoh.map.%argument 2%.Herobrine} is set:
delete {tcoh.map.%argument 2%.Herobrine}
message "%{_prefix}% &aSpawn type &2%argument 3% &ahas been deleted."
stop
if argument 3 is "hunter":
if {tcoh.map.%argument 2%.Hunter} is not set:
message "%{_prefix}% &4%argument 3% &cspawn for &4%argument 2% &cis not set."
stop
if {tcoh.map.%argument 2%.Hunter} is set:
delete {tcoh.map.%argument 2%.Hunter}
message "%{_prefix}% &aSpawn type &2%argument 3% &ahas been deleted."
stop
if argument 3 is "lobby":
if {tcoh.map.%argument 2%.Lobby} is not set:
message "%{_prefix}% &4%argument 3% &cspawn for &4%argument 2% &cis not set."
stop
if {tcoh.map.%argument 2%.Lobby} is set:
delete {tcoh.map.%argument 2%.Lobby}
message "%{_prefix}% &aSpawn type &2%argument 3% &ahas been deleted."
stop
else:
message "%{_prefix}% &cPlease choose &4Herobrine &cor &4Hunter &cor &4Lobby&c."
stop
if argument 1 is "setlobbyspawn":
if player has permission "tcoh.command.admin":
if {tcoh.spawns.lobby} is set:
message "%{_prefix}% &cLobby spawn is already set. Please delete it with '/tcoh dellobbyspawn'"
stop
if {tcoh.spawns.lobby} is not set:
message "%{_prefix}% &aLobby spawn has been set."
set {tcoh.spawns.lobby} to location of player
stop
if argument 1 is "dellobbyspawn":
if player has permission "tcoh.command.admin":
if {tcoh.spawns.lobby} is set:
message "%{_prefix}% &aLobby spawn has been deleted."
delete {tcoh.spawns.lobby}
stop
if {tcoh.spawns.lobby} is not set:
message "%{_prefix}% &cLobby spawn does not exist."
stop
if argument 1 is "join":
if player has permission "tcoh.command.player":
if argument 2 is " ":
message "%{_prefix}% &aYou have joined the lobby."
teleport the player to {tcoh.spawns.lobby}
stop
if {tcoh.players.%argument 2%::%player%} is set:
send "You are already in the game!"
stop
set {tcoh.players.%argument 2%::%player%} to player
set gamemode of player to survival
set {tcoh.arena.%player%} to argument 2
add player to {tcoh.list.%{tcoh.arena.%player%}%::*}
add 1 to {tcoh.joinedtotal.%{tcoh.arena.%player%}%}
send "You joined the game"
if {tcoh.%{tcoh.arena.%player%}%.running} is not set:
teleport player to {tcoh.map.%{tcoh.arena.%player%}%.lobby}
send "Game didn't start yet"
{tcoh.%{tcoh.arena.%player%}%.counting} is not set
if {tcoh.joinedtotal.%{tcoh.arena.%player%}%} is more than or equal to 1: # Minimum player requirement is met.
set {tcoh.%{tcoh.arena.%player%}%.counting} to true
broadcast "Starting game in 10 seconds"
set {_seconds} to 10
while {tcoh.joinedtotal.%{tcoh.arena.%player%}%} is more than or equal to 1: # Minimum player requirement is met.
subtract 1 from {_seconds}
wait 1 second
if {_seconds} is more than 1:
send "Starting game in %{_seconds}% seconds" to {tcoh.list.%{tcoh.arena.%player%}%::*}
if {_seconds} is 1:
send "Starting game in 1 second" to {tcoh.list.%{tcoh.arena.%player%}%::*}
if {_seconds} is 0:
send "Starting game!" to {tcoh.list.%{tcoh.arena.%player%}%::*}
execute console command "/CTF start"
set {tcoh.%argument 2%.running} to true
loop all players:
if {tcoh.list.%argument 2%::*} contains loop-player:
teleport the loop-player to {tcoh.map.%{tcoh.arena.%loop-player%}%.Hunter}
message "%{_prefix}% &ePlease wait while we pick out herobrine."
wait 3 seconds
add loop-player to {tcoh.PickingGroup.%argument 2%::*}
set {_herobrine} to random element out of {tcoh.PickingGroup.%argument 2%::*}
teleport {_herobrine} to {tcoh.map.%{tcoh.arena.%loop-player%}%.Herobrine}
send "%{_prefix}% &a%{_herobrine}% &eis now the &cHerobrine&e." to {tcoh.list.%{tcoh.arena.%loop-player%}%::*}
send "%{_prefix}% Please choose your kit now..." to {tcoh.list.%{tcoh.arena.%loop-player%}%::*}
wait 30 seconds
send "%{_prefix}% Starting." to {tcoh.list.%{tcoh.arena.%loop-player%}%::*}
stop
delete {tcoh.%{tcoh.arena.%player%}%.counting}
else:
send "Waiting for more players to start"
else:
send "Game already started!"
if argument 1 is "leave":
if {tcoh.players.%{tcoh.arena.%player%}%::%player%} is not set:
send "You are not in a game!"
stop
clear the player's inventory
remove player from {tcoh.list.%{tcoh.arena.%player%}%::*}
remove 1 from {tcoh.joinedtotal.%{tcoh.arena.%player%}%}
delete {tcoh.players.%{tcoh.arena.%player%}%::%player%}
teleport player to {tcoh.spawns.lobby}
set maximum health of player to 10
heal the player
equip player with all air
send "You left the game"
if {tcoh.players.%{tcoh.arena.%player%}%::*} is less than 2:
{tcoh.%{tcoh.arena.%player%}%.running} is true
execute console command "/ctf stopgame"
if argument 1 is "list":
if player has permission "tcoh.command.staff":
message "%{_prefix}% &aArenas:"
if size of {tcoh.arenas::*} is 0:
message "%{_prefix}% - &c&l&oNONE"
else:
loop {tcoh.arenas::*}:
message "%{_prefix}% - %loop-value%"
stop
if argument 1 is "countdown":
if argument 2 is " ":
message "%{_prefix}% &cPlease pick a map name."
stop
if {tcoh.map.%argument 2%} is not set:
message "%{_prefix}% &4%argument 2% &cis not a valid map."
stop
if argument 2 is set:
if argument 3 is " ":
message "%{_prefix}% &cPlease pick a number."
stop
if argument 3 is set:
set {tcoh.settings.%argument 2%.countdown} to argument 3
message "%{_prefix}% &aCountdown has been set to: %argument 3%"
stop
if argument 1 is "enable":
if player has permission "tcoh.command.admin":
if argument 2 is set:
if {tcoh.map.%argument 2%} is not set:
send "%{_prefix}% &4%argument 2% &cis not a valid map."
stop
if {tcoh.map.%argument 2%} is set:
if {tcoh.map.%argument 2%} is true:
message "%{_prefix}% &4%argument 2% &cis already enabled."
stop
if {tcoh.map.%argument 2%} is false:
set {tcoh.map.%argument 2%} to true
message "%{_prefix}% &2%argument 2% &ahas been enabled."
set line 4 of block at {tcoh.map.SignLocation::%argument 2%} to "&5❂ Lobby ❂"
stop
if argument 1 is "disable":
if player has permission "tcoh.command.admin":
if argument 2 is set:
if {tcoh.map.%argument 2%} is not set:
send "%{_prefix}% &4%argument 2% &cis not a valid map."
stop
if {tcoh.map.%argument 2%} is set:
if {tcoh.map.%argument 2%} is false:
message "%{_prefix}% &4%argument 2% &cis already disabled."
stop
if {tcoh.map.%argument 2%} is true:
set {tcoh.map.%argument 2%} to false
message "%{_prefix}% &2%argument 2% &ahas been disabled."
set line 4 of block at {tcoh.map.SignLocation::%argument 2%} to "&4DISABLED"
stop
if argument 1 is "info":
if argument 2 is " ":
message "%{_prefix}% &cYou need to put a name for info you want."
stop
if argument 2 is set:
if {tcoh.map.%argument 2%} is not set:
message "%{_prefix}% &4%argument 2%&c is not a valid map."
stop
if {tcoh.map.%argument 2%} is set:
message "&e&m##########&r &9%argument 2% &e&m##########"
if {tcoh.map.%argument 2%.Herobrine} is not set:
message "&6Herobrine spawn: &cNo"
if {tcoh.map.%argument 2%.Herobrine} is set:
message "&6Herobrine spawn: &aYes"
if {tcoh.map.%argument 2%.Hunter} is not set:
message "&6Hunter spawn: &cNo"
if {tcoh.map.%argument 2%.Hunter} is set:
message "&6Hunter spawn: &aYes"
if {tcoh.map.%argument 2%.Lobby} is not set:
message "&6Lobby spawn: &cNo"
if {tcoh.map.%argument 2%.Lobby} is set:
message "&6Lobby spawn: &aYes"
if {tcoh.map.%argument 2%} is not set:
message "&6Type: &cDisabled"
else if {tcoh.map.%argument 2%} is false:
message "&6Type: &cDisabled"
if {tcoh.map.%argument 2%} is true:
message "&6Type: &aEnabled"
if {tcoh.settings.max player requirement} is not set:
message "&6Max player size: &cNot set."
if {tcoh.settings.max player requirement} is set:
message "&6Max player size: &a%{tcoh.settings.max player requirement}%"
if {tcoh.settings.min player requirement} is not set:
message "&6Min player size: &cNot set."
if {tcoh.settings.min player requirement} is set:
message "&6Min player size: &a%{tcoh.settings.min player requirement}%"
if {tcoh.settings.%argument 2%.countdown} is not set:
message "&6Countdown time: &cNot set"
if {tcoh.settings.%argument 2%.countdown} is set:
message "&6Countdown time: &a%{tcoh.settings.%argument 2%.countdown}%"
send "&e&m##############################"
if argument 1 is "setmaxplayersize":
if player has permission "tcoh.command.admin":
if argument 2 is set:
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":
set {tcoh.settings.max player requirement} to argument 2
message "%{_prefix}% &aMax size of maps has been set to: %{tcoh.settings.max player requirement}%"
else:
message "%{_prefix}% &cMax size is only allowed to go up to 15 players."
if argument 1 is "setminplayersize":
if player has permission "tcoh.command.admin":
if argument 2 is set:
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":
set {tcoh.settings.min player requirement} to argument 2
message "%{_prefix}% &aMin size of maps has been set to: %{tcoh.settings.min player requirement}%"
else:
message "%{_prefix}% &cMin size is only allowed to go up to 15 players."
if argument 1 is "reset":
if player has permission "tcoh.command.admin":
if target block is not a sign:
message "%{_prefix}% &4Error: &cTarget block required: &eSign&c."
message "%{_prefix}% &4Error: &cTarget block given: &e%target block%&c."
stop
if target block is a sign:
if argument 2 is " ":
message "%{_prefix}% &cPlease pick the name of the map that is on the sign that you would like to reset."
stop
if argument 2 is "?":
message "%{_prefix}% &eThe reason we have this reset option is if the player list can not keep up with the actual count."
stop
if argument 2 is set:
if line 2 of target block is argument 2:
message "%{_prefix}% &aNow resetting the sign for arena &2%argument 2%&a."
message "%{_prefix}% &aThe arena &2%argument 2% &ais now reset."
delete {tcoh.joinedtotal.%argument 2%}
delete {tcoh.list.%argument 2%::*}
delete {tcoh.map.SignLocation::%argument 2%}
set line 3 of target block to "0/%{tcoh.settings.max player requirement}%"
set line 4 of target block to "&5❂ Lobby ❂"
stop
if line 2 of target block is not argument 2:
message "%{_prefix}% &4Error: &cLine on sign required: &e%line 2 of target block%&c."
message "%{_prefix}% &4Error: &cLine of sign given: &e%argument 2%&c."
stop
if argument 1 is "setsign":
if target block is not a sign:
message "%{_prefix}% &4Error: &cTarget block required: &eSign&c | &cTarget block given: &e%target block%&c."
stop
if target block is a sign:
set {tcoh.map.SignLocation::%line 2 of target block%} to true
message "%{_prefix}% &aLocation of sign for arena &2%line 2 of target block%&a has been set."
stop