I would guess from trying it myself. The Setmood is not a command in the game.
I did some hunting and found this,.
help Lists the cheats in the game disableSnappingToSlotsOnAlt [on|off] When on, objects will not snap to slots while holding ALT. enablellamas [on|off] Toggles Llama Mode fadeObjects [on|off] Toggles whether objects fade when the camera gets close to them fps [on|off] Toggles the frame rate display in the upper right corner of the screen fullscreen [on|off] Toggles between fullscreen and windowed modes hideHeadlineEffects [on|off] Removes all plumbbobs and thought balloons above Sims kaching Adds $1,000 to active household funds maptags [on|off] Toggles map tags on and off. This is most noticeable in Map View motherlode Adds $50,000 to active household funds quit Exits the game recordvideo [small|medium|large] [low|moderate|high|max] Starts recording video with specified size and quality RerollQuests - Re-randomizes the available quests ShellState [cutaway|full|hide] Sets buildings shell visibility slowMotionViz <0-8> - Puts visuals in siow motion. 0 = normal, 8 = slowest speed <0-4> Sets game speed. 0 = paused, 4 = ultra speed through current action
after I did help to find commands. There is no setmood commands at all.
You have to enable the Testing Cheats in the "Commands.ini" at (Default: C:\Program Files\Electronic Arts)\The Sims Medieval\GameData\Shared\NonPackaged\Ini) first.
Open it with an Editor and change "TestingCheatsEnabled=0" to "TestingCheatsEnabled=1"
Then the console has some more commands and u can edit some things by holding Crtl + Shift and clicking on it. When u do that with you hero u can change his lvl. When u do it with some Sim u can make him your Friend or best friend... :-)
All times are (GMT -08:00) Pacific Time (US & Canada). Current time is 4:10:04 AM