If you want to play around with it yourself then the script you're after would be something like this...
Code:
monitor_event ShortcutTriggered ShortcutTriggered radar dec_scale
give_everything_to_faction egypt turks true
terminate_monitor
end_monitor
This goes into campaign_script.txt and is not save game compatible.
Play as Eriador and then press F3 anytime to trigger it: they will now own all High Elves regions and possibly some of their generals etc.
"true" shows a "faction destroyed" message; "false" does not.
Of course, F3 is just for testing. Proper conditions would need to be used in the real thing.
If you want help with it then probably best to create a thread here. The folks there - including myself - are happy to help.