Code Talk

By samcobra on Dec 12, 2004

Now, say you're waiting around with some friends in a chatroom. And you want to say something and have some fun in the channel. Well, say the other people in the channel are scripting n00bs. Well... what you do is::> talk in code! My script uses the mime encoding. Its quite simple, actually.

Just get both you and your buddy to load it up
then you can use codes to talk. Just type /codon to start talking in code
Use `decodon to start decoding your friend's codes.

on *:input:*: {
  if ($1 == `codoff) {
    set %code off
    echo $active 7,2 You are no longer speaking in CODE!!
    amsg 7,2 $me $+ 's code is now OFF! (samcobra script!)
    haltdef
  }
  if ($1 == `decodon) {
    set %decode on
    var %enigma $$?="Which nick's comments do you want to decode?"
    msg %enigma 7,2 Your code is being deciphered by $me (samcobra script!)
    echo $active 7,2 You are now decoding %enigma $+ 's coded messages!
    if (%enigma !isin %dcnick) {
      set %dcnick $instok(%dcnick,%enigma,$calc($numtok(%dcnick,32)+1),32)
    }     
    haltdef
  }
  if ($1 == `decodoff) {
    set %decode off
    var %enigmatic $$?="Which nick's comments won't you decode?"
    msg %enigmatic 7,2 Your code is no longer being deciphered by $me (samcobra script!)
    echo $active 7,2 You will no longer be able to understand %enigmatic $+ 's coded messages!
    if (%enigmatic isin %dcnick)  {
      set %dcnick $remtok(%dcnick,%enigmatic,1,32)
    }
    haltdef
  }
  elseif ( %code == on ) && (/ !isin $1) {
    say $encode($1-,m) 
    echo $active 7,2 $1- 
    haltdef
  }
}

on *:text:*:*: {
  if (%decode == on) && ($nick isin %dcnick) {
    echo $active 7,2 < $+ $nick $+ > $decode($1-,m)
  }
}

menu server,active,nicklist,status,query,channel {
  Toggle Decoding: decoding
}

alias decoding {
  if (%decode == off) { set %decode on }
  elseif (%decode == on) { set %decode off }
  echo $active 7,2 Decoding is now set to %decode
}

alias codon { 
  set %code on 
  echo $active 7,2 You will now speak in CODE!!
  amsg 7,2 $me $+ 's code is now ON! please pm me to find out what it is! (samcobra script!)
  haltdef
}

Comments

Sign in to comment.
brottor   -  Aug 14, 2005

or you could always query=\

 Respond  
LIQUID_NiTrO   -  Jan 01, 2005

And my dog could break this \"encryption\". What makes you think that Joe Schmoe who is trying to intercept these messages won\'t try using the $decode identifier on it?

 Respond  
Da_DoN   -  Dec 16, 2004

samcobra, this is a nice script, most people don\'t like using it because it\'s like to complicating and confusing, i would recomend this to any 1337 talker :P

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.