viewing paste Unknown #16032 | Text

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
prontera,150,193,4      script  Instajobnlevel  785,{
 
Main_Menu:
        switch ( select ( "First Job","Second Job","Extended Job","Baby Job","Cancel")) {
                case 1:
                                mes "[ ^ff0000 "+.names$+"  ^000000]","Tell me your desired Class.";
                                switch(select("^0000ff - Swordman^000000","^0000ff - Magician^000000","^0000ff - Archer^000000","^0000ff - Acolyte^000000","^0000ff - Merchant^000000","^0000ff - Thief^000000","^FF0000Back^000000")) {
                                        case 1:    callsub Job_Changing,1,255,120,60,"All";
                                        case 2:    callsub Job_Changing,2,255,120,60,"All";
                                        case 3:    callsub Job_Changing,3,255,120,60,"All";
                                        case 4:    callsub Job_Changing,4,255,120,60,"All";
                                        case 5:    callsub Job_Changing,5,255,120,60,"All";
                                        case 6:    callsub Job_Changing,6,255,120,60,"All";
                                        case 7:    next; goto Main_Menu;
                        }
                case 2:
                                mes "[ ^ff0000 "+.names$+"  ^000000]","Tell me your desired Class.";
                                switch(select("^0000ff - Knight^000000","^0000ff - Priest^000000","^0000ff - Wizard^000000","^0000ff - Blacksmith^000000","^0000ff - Hunter^000000","^0000ff - Assassin^000000","^0000ff - Crusader^000000","^0000ff - Monk^000000","^0000ff - Sage^000000","^0000ff - Rogue^000000","^0000ff - Alchemist^000000",( Sex == 1 )?"":"^0000ff - Dancer^000000",( Sex == 0 )?"":"^0000ff - Bard^000000","^FF0000Back^000000")) {
                                        case 1:    callsub Job_Changing,7,255,120,110,"All";
                                        case 2:    callsub Job_Changing,8,255,120,110,"All";
                                        case 3:    callsub Job_Changing,9,255,120,110,"All";
                                        case 4:    callsub Job_Changing,10,99,120,110,"All";
                                        case 5:    callsub Job_Changing,11,255,50,110,"All";
                                        case 6:    callsub Job_Changing,12,255,120,110,"All";
                                        case 7:    callsub Job_Changing,14,255,120,110,"All";
                                        case 8:    callsub Job_Changing,15,255,120,110,"All";
                                        case 9:    callsub Job_Changing,16,255,120,110,"All";
                                        case 10:    callsub Job_Changing,17,255,120,110,"All";
                                        case 11:    callsub Job_Changing,18,255,120,110,"All";
                                        case 12:    callsub Job_Changing,20,255,120,110,"All";
                                        case 13:    callsub Job_Changing,19,255,120,110,"All";
                                        case 14:    next; goto Main_Menu;
                        }    
                case 3:
                                mes "[ ^ff0000 "+.names$+"  ^000000]","Tell me your desired Class.";
                                switch(select("^0000ff - Super Novice^000000","^0000ff - Gunslinger^000000","^0000ff - Ninja^000000","^0000ff - Takewon^000000","^0000ff - Star Gladiator^000000","^0000ff - Soul Linker^000000","^FF0000Back^000000")) {
                                        case 1:    callsub Job_Changing,23,255,120,110,"All";
                                        case 2:    callsub Job_Changing,24,255,120,600,"All";
                                        case 3:    callsub Job_Changing,25,255,120,60,"All";
                                        case 4:    callsub Job_Changing,4046,255,120,60,"All";
                                        case 5:    callsub Job_Changing,4047,255,120,110,"All";
                                        case 6:    callsub Job_Changing,4049,255,120,110,"All";
                                        case 7:    next; goto Main_Menu;
                        }    
                case 4:
                                mes "[ ^ff0000 "+.names$+"  ^000000]","Tell me your desired Class.";
                                switch(select("^0000ff - Baby Swordman^000000","^0000ff - Baby Magician^000000","^0000ff - Baby Archer^000000","^0000ff - Baby Acolyte^000000","^0000ff - Baby Merchant^000000","^0000ff - Baby Thief^000000","^0000ff - Baby Knight^000000","^0000ff - Baby Priest^000000","^0000ff - Baby Wizard^000000","^0000ff - Baby Blacksmith^000000","^0000ff - Baby Hunter^000000","^0000ff - Baby Assassin^000000","^0000ff - Baby Crusader^000000","^0000ff - Baby Monk^000000","^0000ff - Baby Sage^000000","^0000ff - Baby Rogue^000000","^0000ff - Baby Alchemist^000000",( Sex == 1 )?"":"^0000ff - Baby Dancer^000000",( Sex == 0 )?"":"^0000ff - Baby Bard^000000","^0000ff - Super Baby^000000","^FF0000Back^000000")) {            
                                        case 1:    callsub Job_Changing,4024,255,120,60,"All";
                                        case 2:    callsub Job_Changing,4025,255,120,60,"All";
                                        case 3:    callsub Job_Changing,4026,255,120,60,"All";
                                        case 4:    callsub Job_Changing,4027,255,120,60,"All";
                                        case 5:    callsub Job_Changing,4028,255,120,60,"All";
                                        case 6:    callsub Job_Changing,4029,255,120,60,"All";
                                        case 7:    callsub Job_Changing,4030,255,120,110,"All";
                                        case 8:    callsub Job_Changing,4031,255,120,110,"All";
                                        case 9:    callsub Job_Changing,4032,255,120,110,"All";
                                        case 10:    callsub Job_Changing,4033,255,120,110,"All";
                                        case 11:    callsub Job_Changing,4034,255,120,110,"All";
                                        case 12:    callsub Job_Changing,4035,255,120,110,"All";
                                        case 13:    callsub Job_Changing,4037,255,120,110,"All";
                                        case 14:    callsub Job_Changing,4038,255,120,110,"All";
                                        case 15:    callsub Job_Changing,4039,255,120,110,"All";
                                        case 16:    callsub Job_Changing,4040,255,120,110,"All";
                                        case 17:    callsub Job_Changing,4041,255,120,110,"All";
                                        case 18:    callsub Job_Changing,4043,255,120,110,"All";
                                        case 19:    callsub Job_Changing,4042,255,120,110,"All";
                                        case 20:    callsub Job_Changing,4045,255,120,110,"All";
                                        case 21:    next; goto Main_Menu;
                        }
                case 5:
                                close;
                        }
                end;
Job_Changing:
        mes " ","Job Change to: ^ff0000"+jobname(getarg(0))+"^000000 ?";
        if ( select ( "- Yes","- No" ) == 2) close;
                ResetSkill;
                ResetStatus;
                set SkillPoint,0;
                percentheal 100,100;
                jobchange getarg(0);
                atcommand "@allskills";
                set JobLevel, getarg(2);
                set BaseLevel, getarg(1);
                set SkillPoint,getarg(3);
                announce "[ iRO ]: "+strcharinfo(0)+" has changed to "+jobname(getarg(0))+" job.",bc_self|bc_blue;
                callsub Get_Platinum;
                close;
               
Get_Platinum:
        skill 142,1,0;
        switch(BaseClass) {
                case 0: if (Class !=23) skill 143,1,0; break;
                case 1: skill 144,1,0; skill 145,1,0; skill 146,1,0; break;
                case 2: skill 157,1,0; break;
                case 3: skill 147,1,0; skill 148,1,0; break;
                case 4: skill 156,1,0; break;
                case 5: skill 153,1,0; skill 154,1,0; skill 155,1,0; break;
                case 6: skill 149,1,0; skill 150,1,0; skill 151,1,0; skill 152,1,0; break;
                default: break;
    }
        switch(BaseJob) {
                case 7: skill 1001,1,0; break;
                case 8: skill 1014,1,0; break;
                case 9: skill 1006,1,0; break;
                case 10: skill 1012,1,0; skill 1013,1,0; break;
                case 11: skill 1009,1,0; break;
                case 12: skill 1003,1,0; skill 1004,1,0; break;
                case 14: skill 1002,1,0; break;
                case 15: skill 1015,1,0; skill 1016,1,0; break;
                case 16: skill 1007,1,0; skill 1008,1,0; skill 1017,1,0; skill 1018,1,0; skill 1019,1,0; break;
                case 17: skill 1005,1,0; break;
                case 18: skill 238,1,0; break;
                case 19: skill 1010,1,0; break;
                case 20: skill 1011,1,0; break;
                default: break;
        }
        return;
OnInit:
        query_sql("SELECT `name` from `char` WHERE `char_id` = 1",.names$);
        end;
}
Viewed 276 times, submitted by unknown.