Jump to content

[help]Remote CP


r0llik
 Share

Recommended Posts

I have a problem with code below. Its so glitchy please help me to fix it/share with me another remote CP.

$Commandlink = "Some.txt/test.txt"
$tfile = "temp.txt"
While 1
if $lminutes = @MIN then
;nothing
Else
$tfile = InetGet($Commandlink, @ScriptDir & "" & $tfile)
$data = FileOpen($tfile)
$Command = FileReadLine($data,1)

$param1 = FileReadLine($data,2)
$param2 = FileReadLine($data,3)
$Lminutes = @MIN

;#####   Command Execution  
if $Command = "echo" Then
EndIf

if $Command = "alpha" Then

EndIf
  
if $Command = "test" Then
   MsgBox(0,"","Test.")
EndIf
  
InetClose($tfile)
FileClose($tfile)

EndIf
WEnd
Edited by r0llik
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...