/check_coms OR $check_coms - Forum
Friday, 09 Dec 2016, 16:27:01
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_coms OR $check_coms (Checking if your Operating System support COMS)
/check_coms OR $check_coms
^WeStDate: Saturday, 06 Sep 2014, 17:57:41 | Message # 1
ULTRA MEMBER
Group: Administrators
Messages: 13
Awards: 0
Reputation: 0
Status: Offline
USAGE: $check_coms or /check_coms

EXAMPLE: //echo CHECK: $check_coms
EXAMPLE 2: /check_coms

Code
alias check_coms {
   var %c = CheckCOMS
   if ($com(%c)) { .comclose %c }
   .comopen %c WbemScripting.SWbemLocator
   if ($isid) {  
     if (!$com(%c)) { return 1 }
     elseif ($com(%c)) { .comclose %c | return 0 }
   }
   if (!$isid) {  
     if (!$com(%c)) { var %error = $input(Your Operating System does NOT support $qt(COMS) $+ .,hodb,Error) }
     elseif ($com(%c)) { .comclose %c }
   }
}


- Thanks!


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


Website builderuCoz