on *:TEXT:!moveto *:#: { if (%gamestart == yes) && (%hidden. [ $+ [ $nick ] ] == yes) && (%player. [ $+ [ $nick ] ] == alive) { notice $nick You cannot move while hidden } else { if (%player. [ $+ [ $nick ] ] == dead) { notice $nick You are dead. Wait for the next round to start to play again. } else { if (%gamestart == yes) && (%player. [ $+ [ $nick ] ] == $null) && (%gamejoin == on) && (%player. [ $+ [ $nick ] ] == alive) { notice $nick You are not in a game. Type !joingame to join the current game } else { if ($2 == courtyard) && (%location. [ $+ [ $nick ] ] != courtyard) && (%player. [ $+ [ $nick ] ] != $null) (%player. [ $+ [ $nick ] ] == alive) { set %location. [ $+ [ $nick ] ] courtyard notice $nick You have moved to the courtyard } else { if ($2 == courtyard) && (%location. [ $+ [ $nick ] ] == courtyard) && (%player. [ $+ [ $nick ] ] != $null) && (%player. [ $+ [ $nick ] ] == alive) { notice $nick You are already at the courtyard } else { if ($2 == detention) && (%location. [ $+ [ $nick ] ] != detention) && (%player. [ $+ [ $nick ] ] != $null) && (%player. [ $+ [ $nick ] ] == alive) { set %location. [ $+ [ $nick ] ] detention notice $nick You have moved to the detention hall } else { if ($2 == detention) && (%location. [ $+ [ $nick ] ] == detention) && (%player. [ $+ [ $nick ] ] != $null) && (%player. [ $+ [ $nick ] ] == alive) { notice $nick You are already at the detention hall } else { if ($2 == reception) && (%location. [ $+ [ $nick ] ] != reception) && (%player. [ $+ [ $nick ] ] != $null) && (%player. [ $+ [ $nick ] ] == alive) { set %location. [ $+ [ $nick ] ] reception notice $nick You have moved to the reception area } else { if ($2 == reception) && (%location. [ $+ [ $nick ] ] == reception) && (%player. [ $+ [ $nick ] ] != $null) && (%player. [ $+ [ $nick ] ] == alive) { notice $nick You are already at the reception area else { if (%gamestart == yes) && (%player. [ $+ [ $nick ] ] == $null) && (%gamejoin == off) { notice $nick You are not in a game. There is currently a game in progress. } } } } } } } } } } } }