Ok first off, use PHP code thing next time

. Now, sertlevel2 must be done serverside so instead of exit(), use a trigger to serverside saying "warp" or similar. Also, you only need 1 //#CLIENTSIDE per script. Structure like this for GS2:
PHP Code:
function onActionServerSide()
{
//Stuff
}
//#CLIENTSIDE
function onActionClientSide()
{
//Stuff
}
function onCreated()
this.chat = "Yay! ^-^";
or
PHP Code:
if (actionserverside)
{
//stuff
}
//#CLIENTSIDE
if (created)
{
say2 yay!;
}