Тема: Macros
Показать сообщение отдельно
Re: Macros
Старый 04.02.2012, 14:33   #10
LanceR
Mystical Hero
 
Аватар для LanceR
 
Регистрация: 12.01.2010
Адрес: [frozen]
Сообщений: 1,057
Репутация: 13 [+/-]
на правильном пути, пока что (от 5 до 15)
LanceR на правильном пути, пока что (от 5 до 15)
Чар: Burning
Гильдия: [frozen]
По умолчанию Re: Macros

/ / Taming

set $ btnRel F6 / / button with say + all_release in the client
set $ btnUse F12 / / button with the Object / LastTarget in assists with a staff UseItemType
set # k 10 / / number of obtamlivaemyh skotinok
set # korm 0 / / if you need to run the script put a feeding beasts. if not 0.
set # kb 5 / / number of the flow of the script feeding beasts
set # blEda 0 / / if you need to feed yourself, then put 1, otherwise 0
set $ btnEat M / / button in the client LastObject
set # eda 123456789 / / ID of a meal for themselves
set # lag 2000000 / / time forgetting the beast master


set% arr [1] 1273244 / / ID'shniki skotinok
set% arr [2] 1325790
set% arr [3] 1237673
set% arr [4] 1138080
set% arr [5] 1226926
set% arr [6] 1278290
set% arr [7] 1267169
set% arr [8] 1311898
set% arr [9] 29,713
set% arr [10] 1088780

/ / --------------------------------

set # zh # k +1
set $ remember remembers
set $ success accept
set $ tamed already tame
set $ failed fail
set $ hungry hungry
set $ far far away
set $ skill changed
set $ wait you must wait
set $ cant see the target


: Loop
set # a 1

while # a <# zh
if # blEda = 1
set lastobjectid # eda
send $ btnEat
end_if
send $ btnRel / / say all release
set lasttargetid% arr [# a]
set # q 0
: Repeat
set # q # q +1
if # q> 100 / / Tamim until recently, but just in case
goto next
end_if
set # i 0
send $ btnUse
wait 1000
if lastmsg already
goto next
end_if
say zZverushka # a, attempt # q, time timer
while_not lastmsg $ success
if (lastmsg $ failed) or (# i> 3)
goto repeat
end_if
repeat 10
if (lastmsg old) or (lastmsg Loved) or (lastmsg again) or (lastmsg return)
send {Tab}
say Zhdems
wait 25s
goto repeat
end_if
wait 200
end_repeat
if (lastmsg = $ wait) or (lastmsg = $ cant) or (lastmsg = $ hungry) or (lastmsg = $ skill) or (lastmsg = $ remember) or (lastmsg = $ tamed) or (lastmsg = $ far)
goto next
end_if
set # i # i +1
end_while
: Next
set # a # a +1
if # a = 2
set timer
end_if
end_while
while timer <# lag
wait 20s
set # k # lag - timer
Wait say # k
end_while
if # korm = 1
start_script # kb
wait 10s
end_if
goto loop


/ / Change the button / Hold / idshniki at the top of the script. In the main part is not to delve
/ / Required. Be sure to put the check in the client options at the top right tab at the
/ / Line of TAB. A script can tamit, change sticks, eat, feed, and wait as
/ / As you need (and no more than necessary).






Добавлено через 1 минуту
-------Veterenary----------
----------------------------
/ / Take out a strip of life of the horse, beat half life in the middle (where necessary on a black life is not), we take the coordinates and color
if 358, 228 15,514,993 / / 358, 228 - the coordinates of the black strip in the middle with the lives of 15,514,993 - the color of the point
repeat 7 / / treat the 7 time (need to put a gallop to almost full recovery of the horse)
say all stop
send f2 / / SW target an item taips bandages on his horse, shield and weapons in the hands of
wait 2000
end_repeat
else
say all stop
send f3 / / Attack Fins
wait 1000
end_if

/ / Bindi as a button in Assists and client, to take the position and color of a point, to change an item on the skid skid taips an item described above in this thread.

Option 2

send f2 / / Assists in bandages on his horse, the horse dagger (dagger bandages and an item on the Taipei)
wait 2700
if lastmsg Do you wanna make a mummy?
send q / / ataklast
wait 2000
send enter
wait 100
say all stop
end_if
------------





Добавлено через 5 минут
----Recol "Pilot"-----
-----------------------
set # runaid <id rune> / / Id runes

set lasttargetid # runaid
send F7 / / CastSpell -> Recall - WaitForTarget - LastTarget
end_script

Bind in the options on the F7 CastSpell -> Recall - WaitForTarget - LastTarget

After that, in the pilot, in the "More", click on Edit HotKeys, and put on the script button, which will start squeaking.
__________________
Welcome

Последний раз редактировалось LanceR; 04.02.2012 в 14:40.. Причина: Добавлено сообщение
LanceR вне форума   Ответить с цитированием