Where is error ?

Ask for help

Moderators: Murderator+, Murderator

Post Reply
Mazer
Posts: 125
Joined: 2007-11-13 00:39:14

Where is error ?

Post by Mazer »

Code: Select all

sub qw12()
VAR Kirka = '0x0E85'
VAR MaxVes = 430 
VAR ms1 = "There is no ore"
VAR ms2 = "You can't use"
VAR ms3 = "You put "
VAR ms4 = "You loosen some rocks"
VAR ms5 = "location"
VAR ms6 = "Try mining"
VAR ms7 = "You can't see that"
     repeat
        UO.DeleteJournal()
        wait(300)
        UO.WaitTargetTile( 1, STR( UO.GetX() + 1 ), STR( UO.GetY() + 0 ), 0)
        UO.UseType( Kirka )
        repeat
           wait(300)
        until UO.InJournal(ms1) OR UO.InJournal(ms2) OR UO.InJournal(ms3) OR UO.InJournal(ms4) OR UO.InJournal(ms5) OR UO.InJournal(ms6) OR UO.InJournal(ms7)
        If UO.Weight > MaxVes Then
           UO.Print(" owerweight " )
           return
        Endif
     until NOT UO.InJournal(ms4)
  next
next
 UO.Press(34)
 uo.Print('End')
endsub


i edited one script i found here i just wan to make it mine only one time if not sucses to try again until ONE SUCSES thats all. cant find error
Scripts Writer
Posts: 2259
Joined: 2005-04-19 18:00:29
Location: Московская область
Contact:

Post by Scripts Writer »

where is for/for?
Mazer
Posts: 125
Joined: 2007-11-13 00:39:14

Post by Mazer »

Dont understand :/
Destruction
Junior Expert
Posts: 3221
Joined: 2004-06-24 22:08:56

Post by Destruction »

for ...
...
next


where in you script highlighed fragment?
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.
Telegram: @tatikom
Post Reply