===== MoodleScript: MOVE COURSE ===== ===== MoodleScript Script Engine ===== === Effect === Moves courses into a target category. === Syntax === MOVE COURSE TO [IF EXISTS] === Examples === MOVE COURSE current TO idnumber:"MY_CAT" MOVE COURSE current TO idnumber:"MY_NEW_CAT" IF EXISTS === Specific attributes === * **courseidentifier**: A course identifier. * **categoryidentifier**: A course category identifier. === Other defaults === None [[:local:moodlescript:languagespecification|Back to the language index]] - [[:local:moodlescript|Back to the component index]]