/check_run OR $check_run - Forum
Friday, 09 Dec 2016, 16:27:09
Welcome on westor (^WeSt) website!
Welcome NOT MEMBER | RSS
[ New messages · Members · Forum rules · Search · RSS ]
Page 1 of 11
Forum moderator: ^WeSt 
Forum » General » mIRC Codes » /check_run OR $check_run (Checking if your Operating System support RUN command.)
/check_run OR $check_run
^WeStDate: Saturday, 06 Sep 2014, 18:02:06 | Message # 1
ULTRA MEMBER
Group: Administrators
Messages: 13
Awards: 0
Reputation: 0
Status: Offline
USAGE: $check_run or /check_run

EXAMPLE: //echo CHECK: $check_run
EXAMPLE 2: /check_run


Code
alias check_run {
   var %f = $mircdirdownloads\test-run.bat
   if (!$isdir($mircdirdownloads)) { mkdir downloads }
   if ($isfile(%f)) { .remove $qt(%f) }
   write -c $qt(%f) @echo off
   .timer[REMOVE_FILE] -o 1 2 check_run_clean
   run -nh $qt(%f)
   return 0
   :error
   reseterror  
   if ($isid) { return 1 }
   elseif (!$isid) { var %error = $input(You Operating System does NOT support $qt(/RUN) commands.,hodb,Error) }
}

alias check_run_clean {
   var %f = $mircdirdownloads\test-run.bat
   if ($isfile(%f)) { .remove $qt(%f) }
}


- Thanks!


I Would Like To Kiss You But I Cant Tell Me Why Not My Baby ? ? ?
 
Forum » General » mIRC Codes » /check_run OR $check_run (Checking if your Operating System support RUN command.)
Page 1 of 11
Search:


Website builderuCoz