This isn't anywhere in WoWWiki, thought i should archive here first so I might try to implement my first thingy. This was up somewhere on european forum. Not sure it works though.
/script SetRaidTarget("target", index)
Found it somewhere in API changes.
Made me find [1] too : )