Нужен скрипт:
Стоищ в данжене и как только какойто игрок приходет то сразу вилетает что-то чтоб я знал что туда кто либо прищол, звук или ерор какойто.
За ранное спасибо.
Данж
Moderators: Murderator+, Murderator
Данж
It's t1m3 to pvp....
Play hard Go pro
Play hard Go pro
Code: Select all
sub main()
repeat
if UO.InJournal('attacking you') then
uo.playwav("C:\1.wav")
UO.TextOpen()
UO.TextPrint('Тебя аттачили в '+Time)
else
Return
end_if
until UO.Dead()
end sub
Design, webdev, coding, c#, php, asp.net, xml, perl, sql, ajax, drawing, illustrating, restoration, photo, photoshop, schedule, pron, guitar, lead-guitar, js, jsp, java, dom, html, *nix, struts, cs, etc
-
Destruction
- Junior Expert
- Posts: 3221
- Joined: 2004-06-24 22:08:56
Гост в вармод оф.. ну конечно3Jlo6Hblu' u0ry®T wrote:Писал на ходу, не тестилCode: Select all
sub main() repeat if UO.InJournal('attacking you') then uo.playwav("C:\1.wav") UO.TextOpen() UO.TextPrint('Тебя аттачили в '+Time) else Return end_if until UO.Dead() end subСкрипт работает по принципу если тебя атачили то он проигрывает трек и записывает в окно когда тебя атачили
Тут надо иначе:
1. Ищем по типу игроков.
2. Если найдено - алертим
Code: Select all
; основная функция палева
Sub AlertTime()
var male = "0x0000" ; мужской персонаж
var female = "0x0000" ; женский персонаж
repeat
uo.FindType( male, "-1", "ground" )
If Not uo.FindCount() Then
uo.FindType( female, "-1", "ground" )
End If
If uo.FindCount() Then
uo.TextPrint( "Приходил некто по имени " + uo.getName( "finditem" ) )
uo.Ignore( "finditem" )
End If
wait( 500 )
until false
End SubPS: 1 игрок = 1 палево, второй раз не пропалит. Так, что не забывай временами делать ,ignorereset.
Можно конечно автоматизировать, но скрипт несколько разрастётся.
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
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
-
Destruction
- Junior Expert
- Posts: 3221
- Joined: 2004-06-24 22:08:56
Это не важно.3Jlo6Hblu' u0ry®T wrote:Моя версия не на госта
Спорим, я могу тебя убить и этой надписи не появится?)
Просто надо иметь в меру ровные руки, чтобы убивать тихо.
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
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