- script citizen_main -1,{ OnInit: setarray .map$,"payon","prontera","izlude"; setarray .itemid,501,502,503; .map_size = getarraysize( .map$ ); while ( .@i < .map_size ) setmapflag .map$[.@i++],mf_loadevent; end; OnPCLoadMapEvent: .@map$ = strcharinfo(3); while ( .@i < .map_size ) { if ( .@map$ = .map$[.@i] ) if ( !countitem( .itemid[.@i] ) ) { mes "You're not the citizen of this town."; close2; warp "SavePoint",0,0; break; } .@i++; } end; }