  CP

SendMsg , , _
    
  :
    cp.SendMsg "main", "  ", false

SendPrivateMsg _, , _
    
  :
    cp.SendPrivateMsg "", "  ", false

SendUserMsg _, , _
  
  :
    cp.SendUserMsg "", "  ", false

AddEvent , _, __, 
   ""
  :
    0 - 
    1 - 
    2 - 
  :
    cp.AddEvent 1, true, false, "  "

SetTopic , 
  
  :
    cp.SetTopic "main", "  "

SendPicture , _
    
  :
    cp.SendPicture "main", "C:\pic.jpg"

SendPictureToPrivate _, _
    
  :
    cp.SendPicture "", "C:\pic.jpg"

LeaveChannel 
   
  :
    cp.LeaveChannel "main"

LeavePrivateChannel _
   
  :
    cp.LeavePrivateChannel ""

JoinChannel , ____, ___
    
  :
    cp.JoinChannel "main", false, false

SetRestriction , , _, __, _, _, _
 
   :
    0 -    
    1 -   
    2 -    
    3 -    
    4 -     
    5 -     
   :
    0 - IP-
    1 -  IP- (   : 192.168.0.0-192.168.0.255)
    2 - ID 
    3 -   ( )
    4 -   ( IP-)
    5 -   ( ID )
    6 -   (   IP-)
    7 -   (   ID )
    8 -   ( IP-  ID )
    9 -   (   IP-,  ID )
  :
    cp.SetRestriction "main", "", "", 60, 2, 3, true
    cp.SetRestriction "", "", "192.168.0.0", 60, 0, 0, true

SetGreeting , 
  
  :
    cp.SetGreeting "main", "  "

SetStatus , __, _, ____
 
  :
    cp.SetStatus " ", true, true, true

SetMyInfo , _, _, _, __, , _
    
  :
      -   50 
      -   25 
      -   350 
       -   350 
     -   1000 

           

      BMP, PNG  JPG         JPG.   GIF    81920 
  :
    cp.SetMyInfo 1, "", "00.00.0001", "", "", "", "C:\pic.jpg"

ClearChannel 
  
   ,      "&"
  :
    cp.ClearChannel "main"

ScanHL (), ___, _, __
  Half-Life    (Counter-Strike  .)
      :
    %addr% -  
    %name% -  
    %map% - 
    %pl% - - 
    %plmax% - . - 
    %mod% - 
    %pass% -  
  :
    cp.ScanHL "192.168.1.1, 192.168.1.2", "main", "", false
    cp.ScanHL "192.168.1.1, 192.168.1.2", "", "%addr% | %name% - %map% - %pl%/%plmax%", true

ScanHLPL (), ___, _, __
   Half-Life    (Counter-Strike  .)
      :
    %plname% -  
    %plscore% -  
    %pltime% -   
  :
    cp.ScanHL "192.168.1.1, 192.168.1.2", "main", "", false
    cp.ScanHL "192.168.1.1, 192.168.1.2", "", "%plname% - %plscore% - %pltime%", true

ScanCOD (), ___, _, __
  Call of Duty
      :
    %addr% -  
    %name% -  
    %map% - 
    %pl% - - 
    %plmax% - . - 
    %mod% - 
    %pass% -  
  :
    cp.ScanCOD "192.168.1.1, 192.168.1.2", "main", "", false
    cp.ScanCOD "192.168.1.1, 192.168.1.2", "", "%addr% | %name% - %map% - %pl%/%plmax%", true

ScanCODPL (), ___, _, __
   Call of Duty
      :
    %plname% -  
    %plscore% -  
    %pltime% -  
  :
    cp.ScanCOD "192.168.1.1, 192.168.1.2", "main", "", false
    cp.ScanCOD "192.168.1.1, 192.168.1.2", "", "%plname% - %plscore% - %pltime%", true

Ping , ___, __

  :
    cp.Ping "192.168.2.2", "main", false
    cp.Ping "192.168.2.2", "", true

GetIPByName _
 IP-    
  :
    cp.GetIPByName ""

GetNameByIP IP_
     IP-
  :
    cp.GetNameByIP "192.168.1.1"

GetUsers
      
   :
    0 -  
    1 - IP- 
    2 -  

       ,    
  :
    users = cp.GetUsers
    For i = 0 To UBound(users) Step 3
      name = users(i)
      ip = users(i+1)
      icon = users(i+2)
    Next

GetChannelUsers 
      
   :
    0 -  
    1 - IP- 
    2 -  

       ,    
  :
    users = cp.GetChannelUsers("main")
    For i = 0 To UBound(users) Step 3
      name = users(i)
      ip = users(i+1)
      icon = users(i+2)
    Next

GetChannels
       
   :
    0 -  
    1 -  

       ,    
  :
    ch = cp.GetChannels
    For i = 0 To UBound(ch) Step 2
      name = ch(i)
      topic = ch(i+1)
    Next

GetPrivateChannels
      
   :
    0 -  

       ,    
  :
    ch = cp.GetPrivateChannels
    For i = 0 To UBound(ch)
      name = ch(i)
    Next

GetUserInfo _
       
   :
    0 -   IP-
    1 -  
    2 - 
    3 -    
    4 -    
    5 -  
  :
    info = cp.GetUserInfo("")

GetChannelInfo 
      ,     
   :
    0 -  
    1 -   ,  
    2 -      
    3 - 
    4 -   
    5 -   
    6 -   
    7 -    
    :
    0 -  
    1 -   
    2 -  
    3 -  
    4 -  
    5 -   
    :
    0 -  
    1 -    
    :
    0 -   
    1 -     
     :
    0 -    
    1 -      
  :
    info = cp.GetChannelInfo("main")

GetRights _, 
      
   :
    0 -  
    1 -   
    2 -    
    3 -   
    4 -   
    5 -   
    6 -   
    7 -  IP-
    8 -    
    9 -    
    :
    0 -   
    1 -  
  :
    rights = cp.GetRights(4, "")
    rights = cp.GetRights(5, "main")

GetMyInfo
     
   :
    0 - 
    1 -  
    2 -  
    3 -  
    4 -   
    5 - 
  :
    info = cp.GetMyInfo

SetValue , 
   (       )
  :
    cp.SetValue "1", "test"

GetValue 
  
  :
    v = cp.GetValue("1")

DelValue 
  
  :
    cp.DelValue "1"

EventUserName
    

EventUserIP
 IP-   

EventUserIcon
     (0 - , 1 - , 2 - )

EventChannel
  

EventText
 / / 

PlaySound 
 wav       
  :
    cp.PlaySound "C:\sound.wav"
    cp.PlaySound ":sound1"

OpenSettings
   

MyName
   

MyIP
 IP-  

MyIcon
    (0 - , 1 - )

MyStatus
   

ActiveChannel
  

CommDataDir
      

PluginsDir
     

CommVersion
  

ServAddr
  



   :

  :
file = "C:\text.txt"
Set fso = CreateObject("Scripting.FileSystemObject")
'    ,   
Set f = fso.OpenTextFile(file, 1, False, -1)
' 
f.SkipLine
'  
f.Skip 6
'    
line = f.ReadLine
'  
chars = f.Read(6)
'   
text = f.ReadAll
f.Close

  :
file = "C:\text.txt"
Set fso = CreateObject("Scripting.FileSystemObject")
'       ,   
Set f = fso.OpenTextFile(file, 8, True, -1)
' 
f.Write "text"
'   
f.WriteLine "text"
'   
f.WriteBlankLines 2 
f.Close