Yoko

All sides of Injection
It is currently 2025-12-26 08:12:42

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: lockpicking
PostPosted: 2005-08-24 19:24:48 
Offline

Joined: 2005-08-14 17:53:47
Posts: 7
помогите написать скрипт на локпик..
надо:
1) закрыть ключом шкатулку
2) использовать отмычку на шкатулке
при удачном использовании локпика повторить пункты 1 -> 2
при неудачном использовании локпика повторить пункт 2
заранее благодарен


Top
   
 Post subject:
PostPosted: 2005-08-24 19:29:55 
Offline
Expert!
User avatar

Joined: 2005-01-15 19:15:05
Posts: 791
Location: Dragon World
Вот что-то нарыл...
На шарде где я играю этот скилл не работает, так что не тестил.
Code:
sub main()
while not UO.dead()
start:
uo.DeleteJournal()
while not uo.InJournal("lock it")
uo.exec("usetype key") #прописываем ключ
uo.exec("waittargettype 'sunduk'") #прописываем Сундук
wait(3000)
wend
while not uo.InJournal("nlocked")
uo.usetype("lp") #прописываем LockPicking
uo.exec("waittargetlast")
wait(5000)
if uo.InJournal("appear") then
goto start
endif
wend
wend
end sub


Top
   
 Post subject:
PostPosted: 2005-08-24 19:38:32 
Offline

Joined: 2005-08-14 17:53:47
Posts: 7
хм.. скрипт открывает -> закрывает шкатулку и всё =\ счас попробую подправить


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 6 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