Making it required still not working. See attached file thanks!
Edited Code:
- script thirds -1,{ /*----------------------------------------------------- Function: colour() ------------------------------------------------------- Description: Colours the defined string. ------------------------------------------------------- Usage: colour("<colour hex>", "<string>"); -----------------------------------------------------*/ function colour { return "^"+ getarg(0) + getarg(1) +"^000000"; } /*----------------------------------------------------- Configuration -----------------------------------------------------*/ OnInit: .trans = 1; // Transcend? 0 = no, 1 = yes (default: 1) // Job names setarray .job_name$[0], "Rune Knight", "Warlock", "Arch Bishop", "Ranger", "Mechanic", "Guillotine Cross", "Royal Guard", "Sorcerer", "Sura", "Minstrel/Wanderer", "Genetic", "Shadow Chaser"; // Job IDs setarray .job_id[0], Job_Rune_Knight, Job_Warlock, Job_Arch_Bishop, Job_Ranger, Job_Mechanic, Job_Guillotine_Cross, Job_Royal_Guard, Job_Sorcerer, Job_Sura, Job_Minstrel, Job_Genetic, Job_Shadow_Chaser; // Job IDs (Trans) setarray .job_id_t[0], Job_Rune_Knight_T, Job_Warlock_T, Job_Arch_Bishop_T, Job_Ranger_T, Job_Mechanic_T, Job_Guillotine_Cross_T, Job_Royal_Guard_T, Job_Sorcerer_T, Job_Sura_T, Job_Minstrel_T, Job_Genetic_T, Job_Shadow_Chaser_T; end; /*----------------------------------------------------- Script -----------------------------------------------------*/ OnPCLoginEvent: if(auto_third) { end; } do { mes "[Welcome to HelloRO "+ strcharinfo(0) +"]"; prompt implode(.job_name$, ":"), -; .@index = @menu - 1; switch(select("Confirm - ["+ colour("008800", .job_name$[.@index]) +"]:Change selection:"+ colour("FF0000", "End session"))) { case 1: jobchange (.trans ? .job_id_t[.@index] : .job_id[.@index]); /*----------------------------------------------------- Job Change Settings -----------------------------------------------------*/ BaseLevel = 150; // Max base level JobLevel = 70; // Max job level skill NV_BASIC, 9, 0; // Level 9 Basic Skill SkillPoint = 187; // 49 First, 69 Trans, 69 Third /*---------------------------------------------------*/ if (.trans) { StatusPoint += 100; } auto_third = 1; close; case 2: @menu = 255; break; case 3: close; }} while (@menu == 255); }