[Request] AutoIt3 Script
Featured Replies
Сейчас на странице 0
- Нет пользователей, просматривающих эту страницу
A better way to browse. Learn more.
A full-screen app on your home screen with push notifications, badges and more.
Используя этот сайт, вы соглашаетесь Условия использования.
I'm requesting a server script that auto restarts the server on crashes, etc. Before on Alteriwnet they had a AutoIt3 script that restarts b3 and the server. I'm just requesting a script just like that one. Thank You.
EDIT**: I still have the scripts from my old servers but It doesn't work. Can someone fix it up or something?
$path="C:\iSnipe\LanuchIw4m.exe" $path1="C:\iSnipe\b3\b3_run.exe" $tick=20 $tick1=18 $tick2=3 $tick3=6 If Not FileExists($path) Then Exit $executable=StringRegExp($path, ".*\\(.*\.exe)",1) If @error Then Exit $executable=$executable[0] While 1 If ProcessExists($executable) Then Sleep($tick2*1000) Else ProcessClose("b3_run.exe") Sleep($tick2*1000) Run(@ComSpec & " /c " & "C:\iSnipe\iSnipe.lnk", @TempDir, @SW_HIDE) Sleep($tick3*1000) If WinExists("Set Optimal Settings") Then WinActivate("Set Optimal Settings") Send ("{RIGHT}") Sleep (1000) Send ("{ENTER}") EndIf Sleep($tick1*2750) Run($path1) EndIf WEnd