Mac OS X Hints shows that with 10.4 you can create an on run argv AppleScript handler to retrieve extra arguments that are passed to osascript.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed