ID:168956
 
browse(" <SCRIPT LANGUAGE="JavaScript"> </script> ")


Java Test.dm:14:error: JavaScript: missing comma ',' or right-paren ')'
Java Test.dm:14:error: JavaScript: expected end of statement
Java Test.dm:14:error: ): expected }
Java Test.dm:14:error: location of top-most unmatched {
Aye, this is easily fixable. See how it's closing out javascript?
browse({" <SCRIPT LANGUAGE="JavaScript"> </script> "})

Also, next time please describe what you need/want. =p
In response to Ol' Yeller
browse({" <SCRIPT LANGUAGE="JavaScript"> aim:goim?screenname=[src.name]&message=Hi,+Are+you+there? </script> "})



That is what im trying todo, but its not working.
In response to Strawgate
When I goto run the script I get a syntax error.
In response to Strawgate
Well, you can just skip the whole javascript process and just make a link to that.

Just have someone click a link, something like
<a href='aim:goim?screenname=[src.name]&message=Hi,+Are+you+there?'>[src.name]</a>


Or, if you're trying to make a verb that links to your name, the link() proc may work.

Just use something like
src<<link("aim:goim?screenname=[src.name]&message=Hi,+Are+you+there?")
In response to Ol' Yeller
Ol' Yeller wrote:
Aye, this is easily fixable. See how it's closing out javascript?
browse({" <SCRIPT LANGUAGE="JavaScript"> </script> "})


Meh, I really don't like to throw around brackets like that.
browse(" <SCRIPT LANGUAGE=\"JavaScript\"> </SCRIPT>")

It's not really important...and your way is probably neater... but yeah that's how I always do it. Like how sometimes to put a space in a verb name I might do:
mob/verb/This\ has\ three\ spaces()

...but that IS sloppy, and ugly. I only do that when I'm really bored.

One thing I do know that was ugly about your example was having SCRIPT in caps in the opening tag, and lower cased in the closing tag. Of course, that's just being picky.

Hiead
In response to CaptFalcon33035
I figured it out.