Totally useless "code"

By Shadow_Knight on Oct 02, 2004

This snippet,in my opinion, is totally useless. Basically, it's for a bot. It will use the $encode command to encode a message, then use the $decode command to decipher it. Here is an example: I (Shadow_Knight) PM my bot (Shadow-Bot-) and type the message ' !encode hi there! '. The bot will give you a message like this: aGkgdGhlcmUh. Next, you go into a channel (one that your bot is in) and type !code aGkgdGhlcmUh. The bot will then type into the channel ' Hi there! '.

Note: I used the mime command to make sure that there are no errors when using $decode, and that you must PM your bot to use the !encode command. Also note that when the bot gives you an encoded message (like the one above), it is easier to copy and paste it then type it in :). And last, note that i used the variable %master so the bot will identify only to my nick, so that only i can use it. You can either put the variable %master YOUR-NICK-HERE into the Variabes section, or change all the %master in the script to your Nickname. Have fun!!

on *:TEXT:!encode*:?:{ if ($nick == %master) { /msg %master $encode($2- $+ ,m) 
  }
}
on *:TEXT:!code*:#:{ if ($nick == %master) { /msg $chan $decode($2- $+ ,m)
  }
} 

Comments

Sign in to comment.
Shadow_Knight   -  Oct 17, 2004

just something fun to do

 Respond  
LIQUID_NiTrO   -  Oct 17, 2004

why submit it if it\'s useless?

 Respond  
Shadow_Knight   -  Oct 02, 2004

sorry about that..i pressed ENTER instead of TAB so that it entered a blank code..lol

 Respond  
xDaeMoN   -  Oct 02, 2004

The name says it all. A blank \"code\" is totally useless. :P lolz

 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.