1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | prontera,155,181,5 script Sample 757,{ if( Gained ){ mes "You have take this."; }else{ switch( Class ){ Case 4060: set .@ItemID,5746; break; Case 4061: set .@ItemID,5746; break; // Case <ClassID>: set .@ItemID,<itemID>; break; default: mes "You are not 3rd Job Class."; break; } if( .@ItemID ){ getitem .@ItemID,1; mes "You have gained "+getitemname( .@ItemID )+" for changing to 3rd Job Class."; } } close; } |