User Control Panel
Advertisements

HELP US, HELP YOU!

Word Shout

 
Post new topic   Reply to topic    Bot Depot Forum Index -> Perl
View unanswered posts
Author Message
Micky G
Member
Member


Joined: 30 Dec 2003
Posts: 144

Reputation: 31.5Reputation: 31.5Reputation: 31.5

PostPosted: Fri Jan 02, 2004 12:02 pm    Post subject: Reply with quote

DO not scroll down if you are under 10!















I have a Code which shouts out swear words. Its a modified version of the wired bot's Docrypt. Heres the code --
Code:
sub mumble { <br />my $victim = shift; <br />my $msg = shift; <br /> <br />$msg =~ s/\/mumble //g; <br /> <br />$msg =~ s/a/*rude* off /ig;<br />$msg =~ s/b/Bastard /ig;<br />$msg =~ s/c/Wank /ig;<br />$msg =~ s/D/Cunt /ig;    <br />$msg =~ s/e/Wanker /ig;<br />$msg =~ s/f/Fucking /ig;<br />$msg =~ s/g/Git /ig;<br />$msg =~ s/h/Ho /ig;<br />$msg =~ s/i/BullShit /ig;<br />$msg =~ s/j/Shit /ig;<br />$msg =~ s/k/Dick /ig; <br />$msg =~ s/l/Cock /ig; <br />$msg =~ s/m/Fucker /ig; <br />$msg =~ s/n/Wanking Donkey Rapist /ig; <br />$msg =~ s/o/Slut /ig; <br />$msg =~ s/p/Hooker /ig; <br />$msg =~ s/q/Retard /ig; <br />$msg =~ s/*lazy*/Twat /ig; <br />$msg =~ s/s/Bollocks /ig; <br />$msg =~ s/t/Kangaroo Spunk /ig; <br />$msg =~ s/*lazy*/Shite Faced Rat /ig; <br />$msg =~ s/v/Minger /ig; <br />$msg =~ s/w/Willy Licker /ig; <br />$msg =~ s/x/Gay Boy /ig; <br />$msg =~ s/*lazy*/Fucking Cunt /ig; <br />$msg =~ s/z/CRAP /ig; <br />      <br />return $msg; <br /> <br />} <br />1;


But when i do - /mumble h It comes out as
Quote:
HBollocks lShite Faced Rat Kangaroo SpShite Faced Rat nk  


When it should come out as - "Ho" ??

It does this with all the letters! Sad
Back to top
Mojave
Almost An Agent
Almost An Agent


Joined: 01 Nov 2003
Posts: 1434

Reputation: 66.4

PostPosted: Fri Jan 02, 2004 12:18 pm    Post subject: Reply with quote

Haha! Now that's funny. Here's your problem...

It replaces h with Ho
Then it replaces the o in Ho with Slut
Then it replaces the S in HSlut with Bollocks
Then it replaces the t in the same way
Then it replaces two *lazy*'s the same way
And fortunately it ends there. You could almost get yourself into some nice infinite recursion if you try.

Get the problem??
Back to top
Micky G
Member
Member


Joined: 30 Dec 2003
Posts: 144

Reputation: 31.5Reputation: 31.5Reputation: 31.5

PostPosted: Fri Jan 02, 2004 12:23 pm    Post subject: Reply with quote

Yes, hmmm maybe i can do it from a diffrent angle. Yeah ill do that! Razz
Back to top
Micky G
Member
Member


Joined: 30 Dec 2003
Posts: 144

Reputation: 31.5Reputation: 31.5Reputation: 31.5

PostPosted: Fri Jan 02, 2004 12:24 pm    Post subject: Reply with quote

QUOTE(Mojave @ Jan 2 2004, 04:18 AM)

And fortunately it ends there. You could almost get yourself into some nice infinite recursion if you try.

Yes well, that happenes when i do /mumble a!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> Perl 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