mIRC Home    About    Download    Register    News    Help

Print Thread
#113968 10/03/05 09:12 PM
Joined: Mar 2005
Posts: 1
D
Dead6re Offline OP
Mostly harmless
OP Offline
Mostly harmless
D
Joined: Mar 2005
Posts: 1
I code mIRC files, and make bots that read and display things from log files. I would like to release my bot to the public so they could use it, but theres one thing stopping me.

mIRC doesn't support any file encryption of the scripts you can make. I would like to have the option in mIRC to "compile" your scripts so that cannot be changed. I often include a version command, and would not like it to be changed, but since i can encrypt the file, i have no means to do so.

So, I was wondering if mIRC could include file encryption in a later release.

Thanks, Dead6re

#113969 10/03/05 09:29 PM
Joined: Feb 2005
Posts: 681
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Feb 2005
Posts: 681
Oh man, this subject has been debated to death.
Do a search for it and expand it to 5 years or whatever.
I totally disagree with this suggestion, mIRC scripting is
open source, and should remain exactly that. There is
one sure way for you to keep your scripts safe, do
not release them, keep them for yourself, simple as that.

#113970 10/03/05 10:10 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
In fact he could print them off, delete the electronic copy, and bury them in a shoe book in the back yard, And they would still be more likely to get used than if he encrypted them smile

#113971 12/03/05 03:09 AM
Joined: Aug 2004
Posts: 147
N
Vogon poet
Offline
Vogon poet
N
Joined: Aug 2004
Posts: 147
The best way to prevent someone from ripping your code is to made it so hard to follow that the person can tell what you are doing, a good way to do that is to do something like this:
Code:
alias myalias {
  var %cats = 5,%dogs = 17,%birds = 2783
  while (%cats <= %birds) {
    myalias.cats %cats %dogs %birds
    inc %cats %dogs
  }
  var %birds = $calc(%cats * %dogs / %birds)
  echo -a %birds
}
alias myalias.cats {
  var %birds = $1,%cats = $2,%dogs = $3
  while (1 <= %dogs) {
    dec %dogs %birds
  }
  echo -a %dogs
}

That code was easy to read right? But if I do this it makes it nearly impossible to follow!
Code:
alias myalias {
  var %O000000OO0 = 5,%O000000O0O = 17,%0O0O0OO0O0 = 2783
  while (%O000000OO0 <= %0O0O0OO0O0) {
    O0000O00O0 %O000000OO0 %O000000O0O %0O0O0OO0O0
    inc %O000000OO0 %O000000O0O
  }
  var %0O0O0OO0O0 = $calc(%O000000OO0 * %O000000O0O / %0O0O0OO0O0)
  echo -a %0O0O0OO0O0
}
alias O0000O00O0 {
  var %0OOO00O0OO = $1,%0OO0OO00O0 = $2,%0O0O0O0OO0 = $3
  while (1 <= %0O0O0O0OO0) {
    dec %0O0O0O0OO0 %0OOO00O0OO 
  }
  echo -a %0O0O0O0OO0
}

Just be sure to do this _after_ you are done writing the script, and be sure to save an orginal copy. Oh yeah, don't be surprised if your scripts don't get submitted places if you do this, because it's a very lame thing to do.

#113972 20/03/05 02:39 AM
Joined: Sep 2004
Posts: 40
U
Ameglian cow
Offline
Ameglian cow
U
Joined: Sep 2004
Posts: 40
You could always learn VB or C++ then make the script in that language, then release it, i have a few friends making their own irc client.

us3rX


Link Copied to Clipboard