@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<0> !help
<0> hello?
<1> !with what?
<0> i used to run a bot on perl, but i forgot how to load it up
<0> i just need some help w/ that
<1> load it?
<1> you mean, launch it?
<0> launch, load.. yea
<1> perl file.pl
<0> thats all i type
<1> yeah
<0> lol
<0> ok



<0> hold up
<1> just replace file.pl with whatever the bot's perl file is called
<0> well i just downloaded activestate
<0> is that what i want?
<1> activeperl?
<0> yea, my bad
<0> i just remember it being easier than this..
<1> you're on windows now, i'm guessing - was it on a different os last time?
<0> nope
<0> on win before too
<1> huh
<1> well, that's the way to do it on windows
<1> install active perl, then type perl filename.pl in a command prompt
<0> isnt there a .pm file
<0> man i am confused
<1> pm = perl module
<1> not the bot itself
<0> ok, what is the command prompt file i should be looking for
<0> cause there is soooooo much **** in the perl file
<1> well, cd to the bot's directory and type dir *.pl
<0> cd?
<1> change directory...
<0> i have a bot but its all .pm files
<1> there should be a pl file somewhere in that folder
<1> search it
<0> none
<1> hmm
<1> check the readme file then
<0> #!/usr/local/bin/perl5
<0> #----------------------------------------------------------------------------
<0> $botname = 'LaZY';
<0> $botnick = $botname . 'BoT';
<0> $botusermode = '+i';
<0> $oldbotnick = 'not' . $botnick;
<0> $botwantnick = $botnick;
<0> $cmdchar = '!';
<0> $botchan = '#THe_WooD';
<0> would it have that info
<1> not necessarily, that could be the config file
<0> got a pl.bak
<1> a backup file?
<1> huh
<1> what type of bot is it?
<0> trivia
<1> no, what's the name of it
<0> what ya mean?
<1> i mean, where did you get it?
<1> what's the name of it, what model bot?
<0> its called quizbot, not publically released
<0> leaked from a friend to a friend
<1> ah



<1> then ask the friend what to do
<0> no contact w/ him anymore
<1> or, rename the .pl.bak file to .pl, and perl it
<0> c:\perl\bin\perl5.8.7.exe
<0> is that the one i use
<1> er
<1> no
<1> you launch it from the command prompt
<1> the .bak file
<0> ...?
<0> ok
<1> what's its full name?
<0> quizbot.pl.bak
<1> ok
<1> rename it to quizbot.pl
<0> ok
<1> then go into the command prompt, cd to it, and type perl quizbot.pl
<0> ok, i found the .pl
<0> buts its in txt form
<1> ok
<1> yeah
<1> it's a script
<0> where is the command prompt
<1> start menu, run
<0> ok
<1> in the box that appears, type command, then hit enter
<1> then cd to wherever you have the pl file saved to, and type the perl command
<0> k
<0> help...?
<2> are you drowning or starving? i have an inflatable sandwich
<0> just need some help with perl
<2> oh, i couldn't tell
<2> did you have a question, or did you want someone to hold your hand?
<0> would you hold my hand? :)
<0> perl is installed when i get to the com prompt c:you\> perl quizbot.pl
<0> says perl is not recognized
<0> as an internal or external command
<2> you can either put perl in your path, or specify the full path to it
<0> ..huh?
<2> the latter is easier. type "C:\the\full\path\to\perl\perl.exe"
<0> thats another prob
<0> c:\perl\bin\perl.exe
<0> i am tring to load a perl bot on irc
<2> i fail to see the prob
<0> it says perl isnt recognized, i am trying to load c:\you\quizbot.pl
<2> copy the exact error here
<0> ok, i hope i dont get kicked for flooding
<2> or use pastebin if it's too long
<0> wont copy
<3> oh boy
<3> finally damn perl is working
<4> Hi
<4> anybody tell me how can i make perl keylogger
<5> anyone for a game of AOM?
<6> i've fr a variable $str.. and i want to replace all \n's with <br>'s.. how would i do that?
<7> $str =~ s/\n/<br>/g;
<6> just curious.. whats the g for?
<7> global. it means "keep doing it until the end of the string"
<6> nice nice..thanks!


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #perl
or
Go to some related logs:

dal net hakan
#allnitecafe
+mysql +special chars +php +right syntax
#chat-world
#chat-world
#india
#allnitecafe
#chat-world
#worldchat
#worldchat



Home  |  disclaimer  |  contact  |  submit quotes