Yeah you are right is just I'm reaaaaaaaaaaaally bad at coding or scripting, that's why I use only call commands
Thank you so much for taking time to reply and sharing your script, the only problem I found is that the new created camera is in P 0,0,0 and R 0,-90,0 and I as trying to create the camera exactly where I'm looking at in the viewport, as it works in my call command thingy.
Cheers,
Juan