prontera,155,150,4 script Cakering Instance#a 89,{ .@md_name$ = "Cakering Instance"; .@instance = instance_create( .@md_name$, getcharid( 3 ), IOT_CHAR); if( .@instance < 0 ) { dispbottom "Instance Failed."; end; } dispbottom "^0000ff" + .@md_name$ + "^000000- Attempting to create Cakering Instance."; if( instance_attachmap("1@cake",.@instance) == "" ) { // if( !instance_attachmap( "yuno_fild02", .@instance, 1, "1@cake" ) ) { instance_destroy( .@instance ); dispbottom "Failed to attach yuno_fild02 as a map!"; end; } if( instance_attachmap("2@cake",.@instance) == "" ) { // if( !instance_attachmap( "kh_vila", .@instance, 1, "2@cake" ) ) { instance_destroy( .@instance ); dispbottom "Failed to attach 2@cake as a map!"; end; } dispbottom "^0000ff" + .@md_name$ + " attempt successful!"; instance_set_timeout( 3600, 300, .@instance ); instance_init( .@instance ); warp instance_mapname( "1@cake", .@instance ), 92,189; //callfunc ("OnCakeStart"); // warp instance_mapname( "1@cake", .@instance ), 92, 189; } function script OnCakeStart { if(instance_id()) { warp instance_mapname( "1@cake", .@instance ), 92,189; } end; }