Send a SMS with Applescript?

Have Anybody a Applescript so send a SMS from the Mac with iMessage (El Captain/Yosemite)?

I search for a script to dictation "Send a SMS to “Name” and a i dictation or write the text (in a display dialog?) … and the script send this message to my buddy and speak to me like Siri

Thanks!

laraza

That Nobody helps me… i search and search …
and i found it…


set message to the text returned of (display dialog "What would you like to send?" default answer "")
tell application "Messages"
	send message to buddy "PHONE NUMBER" of service "SMS"
end tell
delay 5

tell application "Messages" to quit