Page 1 of 1

Help Scripting

Posted: 2008-09-28 21:12:49
by Nasepsc
hey i check out this scripting help post

http://66.163.168.225/babelfish/transla ... 1&.intl=us

i copyd the giving example and saved it in notepad under talk.sc
i load it in injection
when i click run function
i get " Line 1: prsae error "

Posted: 2008-09-28 21:48:08
by Nasepsc
heres the code if u needed it

Code: Select all

sub Of myMessage () 
   VAR of mymessage1 = “Hello, Shard! ”, mymessage2 = “the I go!” 
   MySay (mymessage1) 
   MySay (mymessage2) 
endsub 

sub Of mySay (myparam) 
   UO.Say (myparam) 
   wait (1000) 
endsub
thanks guys

Posted: 2008-09-29 02:36:58
by Millerbeer

Code: Select all

sub  myMessage () 
   VAR mymessage1 = “Hello, Shard! ”, mymessage2 = “the I go!” 
   MySay (mymessage1) 
   MySay (mymessage2) 
endsub 

sub mySay (myparam) 
   UO.Say (myparam) 
   wait (1000) 
endsub
Preposition "of" was added by translator.