User Control Panel
Advertisements

HELP US, HELP YOU!

Leet Translator (Advanced one with ascii symbols?)

 
Post new topic   Reply to topic    Bot Depot Forum Index -> Commands
View unanswered posts
Author Message
mat007
Almost An Agent
Almost An Agent


Joined: 12 Jan 2004
Posts: 1375

Reputation: 15.8Reputation: 15.8
votes: 2

PostPosted: Fri Apr 01, 2005 7:27 pm    Post subject: Reply with quote

Its better then just the leet numbers Razz

Code:
sub cmd_leet {<br />   my ($sock, $msg, $email, $colour, $friendlyname) = @_;<br />   if($msg) {<br />  my @string = split(//, lc($msg));<br />  my $leets = { a => 4,<br />         b => B,<br />         c => C,<br />         d => '|)',<br />         e => 3,<br />         f => F,<br />         g => G,<br />         h => '|-|',<br />         i => 1,<br />         j => j,<br />         k => '|<',<br />         l => '|_',<br />         m => '|\/|',<br />         n => '|\|',<br />         o => 0,<br />         p => P,<br />         q => Q,<br />         v => '\/',<br />         w => '\/\/'};<br />  foreach $letter (@string) {<br />     if(exists $leets->{$letter}) {<br />    $msg =~ s/$letter/$leets->{$letter}/;<br />     }<br />  }<br />  return SendMsg($sock, $msg);<br />   } else {<br />  ######################<br />  # Replace..<br />  # ErrorMsg($sock, "!Leet <Text> (IE: !Leet me and you)");<br />   }<br />}
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Fri Apr 01, 2005 7:32 pm    Post subject: Reply with quote

That's cool. B)

Though in some fonts the symbols make no sense. Razz Like, if you're talking Arial, then [) is better then |) (like this: [) see what I mean?)

_________________
Current Site (2008) http://www.cuvou.com/
Back to top
mat007
Almost An Agent
Almost An Agent


Joined: 12 Jan 2004
Posts: 1375

Reputation: 15.8Reputation: 15.8
votes: 2

PostPosted: Fri Apr 01, 2005 7:51 pm    Post subject: Reply with quote

Ahh yes Razz maybe soon wene my bellys not so full of pizza ill make one that supports multi font Razz
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> Commands All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group