You can try this
set .@time,gettimetick(1);
if( .@time1 < #GOLDROOM_CD1 ){
mes "[ ^C6A518Gold Room Assistant^000000 ]";
mes "You can only re-enter after ^FF0000"+#GOLDROOM_CD1+"^000000 seconds.";
mes "Time Gold Room : "+#GOLDROOM_CD1;
close;
cutin "",255;
end;
}
else if (Zeny < .zeny) {
mes "[ ^C6A518Gold Room Assistant^000000 ]";
mes "Sorry, but you can't enter the room.";
close2;
cutin "",255;
end;
}
else {
set #GOLDROOM_CD1,( .@time1 + ( 3600 * 12 ) ); // 12 hours cooldown.
deltimer strnpcinfo(3)+"::OnKick";
}
Zeny -= .zeny;
warp "ordeal_1-2",151,154;
end;
Screen Shot