Yoko

All sides of Injection
It is currently 2025-12-08 21:33:50

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Parse error
PostPosted: 2007-11-18 21:06:28 
Offline
User avatar

Joined: 2007-09-20 23:45:58
Posts: 13
Ошибка Parse error пишет при запуске любого скрипт !Что мне делать?


Top
   
 Post subject:
PostPosted: 2007-11-18 21:14:03 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Ковычку или скобку не закрыл


Top
   
 Post subject:
PostPosted: 2007-11-18 21:18:39 
Offline
User avatar

Joined: 2007-09-20 23:45:58
Posts: 13
в скрипте?если да то вот пример

sub AutoMove2()
; Àâòîìàòè÷åñêîå ïåðåêëàäûâàíèå íåêó÷êóþùèõñÿ ïðåäìåòîâ îäíîãî òèïà è öâåòà
; èç îäíîãî êîíòåéíåðà â äðóãîé. Îñóùåñòâëÿåòñÿ äðàã íà êîíòåéíåð.
; v.1.05b (c) Edred
;
VAR MyPause = 600
VAR Type1, Color1, s, n, SerStopka, SumCol = 0, Howmany='200'
UO.Print( 'Select sending container' )
UO.Exec('addobject TmpCont1')
While UO.Targeting()
Wait(100)
Wend
UO.Print( 'Select targeting container' )
UO.Exec('addobject TmpCont2')
While UO.Targeting()
Wait(100)
Wend
UO.Print( 'Select type for move' )
UO.Exec('addobject TmpObj1')
While UO.Targeting()
Wait(100)
Wend
Type1 = UO.GetGraphic( 'TmpObj1' )
Color1 = UO.GetColor( 'TmpObj1' )
While UO.Targeting()
Wait(100)
Wend

If Howmany == '' Then
UO.Print( 'Invalid count of objects!' )
return
Endif
repeat
UO.FindType( Type1, Color1, 'TmpCont1' )
If UO.FindCount() > 0 Then
UO.MoveItem( 'finditem', '0', 'TmpCont2' )
Wait( MyPause )

SumCol = SumCol + 1
If SumCol == val(Howmany) Then
UO.Print( 'Script finished' )
return
Endif
Else
UO.Print( 'Script finished' )
return
Endif
until False
end sub

пишет туже ошибку


Top
   
 Post subject:
PostPosted: 2007-11-18 21:32:38 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Во всём файле


Top
   
 Post subject:
PostPosted: 2007-11-18 21:38:55 
Offline
User avatar

Joined: 2007-09-20 23:45:58
Posts: 13
а понел !спс,Ошибка исправлена


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:  
cron
Powered by phpBB® Forum Software © phpBB Limited