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

/ / ---- Tailoring ----
/ / Taylor script Kutch, making patterns
drag 382, 318 837.484 2 / / take the two patterns and throw in a pack
wait 1s
drag 424,319 959,256 500 / / 500 take the tissue and throw in a pack
wait 1s
repeat 250 / / Repeat craft, a pattern of tissue = 2
send 4 / / button in assists to make patterns, be sure to set the Target Item Type
wait 4s / / delay for kraft
end_repeat
move 849,457
drag 849,457 432,368 all / / drag of the puck all the patterns
wait 1s
/ / 2 pattern, throw in a pack into the place from where it is going to spread,
/ / coordinates of the move must be takimizhe as the first coordinates of drag,
/ / so that the script does not strayed all that we throw in the pack is better to take the floor,
/ / script can be altered by Kraft to scroll the form to do this,
/ / change the number of repetitions, to rewrite the macro in assists, to change the delay of craft.




Добавлено через 57 секунд
And resist heling
: main
/ / repeat 2 / / sdes stavish hopping walls cast a healing itself if GM can four walls.
set # r 0
send F9 3500 / / CastSpel >> waitfortarget >> target selfl
/ / End_repeat

: heal
if hits <str
send End / / hilim itself can be replaced by a macro
set # r 0
wait 3600
goto heal
end_if

set # r # r + 1
wait 1000
if # r = 5 / / variable is responsible for the expectation of 5
/ / seconds, unless within that time the damage was not
/ / done, it is considered that the effect of Springfield
/ / terminated
goto medit
else
goto heal
end_if

: medit
if hits <str / / laganulo suddenly still, and Springfield is still
/ / deals damage, excess proverochka not prevent
goto heal
end_if
if mana <int
send Backspace / / macro meditation
wait 2500
goto medit
end_if

goto main
end_script






Добавлено через 2 минуты
/ / 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).
__________________
Welcome

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