Yoko

All sides of Injection
It is currently 2025-10-12 14:02:46

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2009-12-06 17:21:28 
Offline

Joined: 2009-02-09 17:12:23
Posts: 38
First of all, I installed ASM. Now When I execute this script -
Code:
Sub my.AddObject( name ) 
 If uo.Targeting Then
  uo.Say( chr( 27 ) )
 End If
 If uo.Waiting Then
  uo.CancelTarget()
 End If
 uo.AddObject( name )
 While uo.targeting()
  Wait( 100 )
 Wend
End Sub

- Shows up this message Variable undefined - UO.TARGETING
Should I use older ASM version or do something else?


Top
   
PostPosted: 2009-12-06 18:13:42 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
Quote:
Sub my.AddObject( name )
If uo.Targeting Then ; ()
uo.Say( chr( 27 ) )
End If
If uo.Waiting Then
uo.CancelTarget()
End If
uo.AddObject( name )
While uo.targeting()
Wait( 100 )
Wend
End Sub
Variable undefined - UO.TARGETING

UO.TARGETING()

_________________
Image
YokoInjection CodeSweeper
Ошибка "Unhandled exception in parser"
Стрелялка для олдов.


Top
   
PostPosted: 2009-12-07 11:29:43 
Offline
User avatar

Joined: 2007-11-01 19:09:30
Posts: 287
Location: Moscow
so you made errors:

Code:
Sub my.AddObject( name ) 
 If uo.Targeting() Then
  uo.Say( chr( 27 ) )
 End If
 If uo.Waiting() Then
  uo.CancelTarget()
 End If
 uo.AddObject( name )
 While uo.targeting()
  Wait( 100 )
 Wend
End Sub


most of built-in functions must be ended by brackets

_________________
**Выставляем отступы в скриптах*** ©Destruction
Feel the Power of Dark Side


Top
   
 Post subject:
PostPosted: 2009-12-07 15:59:26 
Offline

Joined: 2009-02-09 17:12:23
Posts: 38
I just didn't see! I took this scp from Destruction!


Last edited by Ever1x on 2009-12-07 17:54:25, edited 1 time in total.

Top
   
 Post subject:
PostPosted: 2009-12-07 17:06:54 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Yes, i was posted this with error.. Sorry.

Now it's fixed.

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited