Help Scripting

Ask for help

Moderators: Murderator+, Murderator

Post Reply
Nasepsc
Posts: 13
Joined: 2008-09-26 03:13:51

Help Scripting

Post 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 "
Nasepsc
Posts: 13
Joined: 2008-09-26 03:13:51

Post 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
Millerbeer
Posts: 247
Joined: 2008-09-12 05:07:34

Post 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.
Post Reply