I want to create a script but I don't know how start and if its possible, use something like bbcode with [ img ] url [ / img ] and show the image on the conversation!
Obviusly both (me and the other contact) need to have that script
Not possible, AFAIK. Scripting can't show images in the conversation window like that. Either you'll just have to share a link, or use the photo sharing feature.