Boring, Senseless Random Messages

Platform:  mIRC
Published  Jun 19, 2011
Updated  Jun 25, 2012
This script will send a boring, random message to the active channel when the irc server pings you. (You must have your client looking at the active channel window) It's useful when your nickname idles in a quiet channel, where activity is scarce and that you're away from keyboard every so often.

Below are some random ones emitted when you get pinged by the server:

Quote

<Bot> I'm in Illinois
<Bot> hello hello!
<Bot> Is there evrybody some there
<Bot> see ya
<Bot> Hola desde EspaƱa
<Bot> Holy Sh*t!!
<Bot> I feel like such a spy...if your really live...grab your head..
<Bot> Are you workin' hard or hardly workin'?
<Bot> CATS MEOW MEOW MEOW
Usage: right-click on your nick list or channel to toggle the script on and off. menu nicklist,channel {
Turn Random Messages
.On:enable #rm
.Off:disable #rm
}
#rm on
on *:sockread:rm:{
var %rm
sockread %rm
if ($regex(%rm,/<h1>(.*)<\/h1>/)) {
[ [ $sock(rm).mark ] ]
sockclose rm
}
}
on *:ping:{
if ($sock(rm)) sockclose $v1
sockopen rm www.randommessages.com 80
var %m = 1
while ($comchan($me,%m)) {
if ($v1 == $iif($active ischan,$v1)) {
sockmark rm msg $v1 $!regml(1)
}
inc %m
}
}
on *:sockopen:rm:{
tokenize 94 $left($str(sockwrite -nt rm^,2),-1)
var %- 1, %` GET / HTTP/1.1^Host: $!+($sock(rm).addr,$str($crlf,2))
while $gettok(%`,%-,94) {
[ [ $+($,%-,$chr(32),$v1) ] ]
inc %-
}
}
#rm end

Comments

Sign in to comment.
RIcko   -  Jul 09, 2012
Works great! thanks, +like
 Respond  
Jethro   -  Jul 08, 2012
My mistake. I forgot to edit the variables. Here is it:

Code

 
 Respond  
RIcko   -  Jul 08, 2012
Aight thanks, there is only one thing left, when i click Random Message > off, it doesn't stop and it keeps sending to all the channels, i had to unload the script for now to make it stop.
 Respond  
Jethro   -  Jul 08, 2012
Done. I've modified the altered code above.
 Respond  
RIcko   -  Jul 08, 2012
Yeah, all the channels that the bot is in, (randomly) :)
 Respond  
Jethro   -  Jul 07, 2012
You want it to send the output to all the channels you're on?
 Respond  
RIcko   -  Jul 07, 2012
ow thanks jethro, but looks like its sending to the selected channel only, i guess its rm msg already so whats wrong?
 Respond  
RIcko   -  Jul 06, 2012
ehm Jethro, is it possible to make it talk randomly in a channel but with a controllable timer instead of the server pings, im not reuqesting a dialog though, i just want to know how to control the timer in the script, like saying a random message in a random channel every 10 minutes ( without the server pings ) + controllable.
 Respond  
Dodge   -  Jun 10, 2012
Lol @ random, gibberish drivel, I like It and the idea of pinging off the server. Going to run It for awhile. 7/10
and 9/10 for the random, gibberish drivel line.
 Respond  
Mukey   -  Jun 10, 2012
actually, both versions that you said would be great to try out. a bot that responds to someone talking to it or just it talking on its own but faster.
 Respond  
Mukey   -  Jun 10, 2012
thanks, yeah that would be great. very great script btw, its one of my favs on the site!
 Respond  
Jethro   -  Jun 10, 2012
Well, Mukey, if you want to speed the snippet and make the bot talk constantly, it has to be modified using a timer (a preset delay of time for the trigger) or a text event to activate it. (By text event, it triggers when someone talks) But be warned that you may be labeled as annoying on account of random, gibberish drivel this snippet produces. The main idea of it is to make you "stand out" as being there, not as a lifeless idler in a channel during the downtime when you're not active and participating.

If you still insist on your wish, Mukey, let me know, and I'll make the personal adjustment for you.
 Respond  
TMFKSOFT   -  Jun 10, 2012
@Mukey The bot uses the PING from the IRC Server. The ping rate cannot be sped up.
 Respond  
Mukey   -  Jun 10, 2012
is there anyway to speed up the bot?
 Respond  
chachin   -  Oct 17, 2011
1001 here :o
 Respond  
alabama   -  Oct 17, 2011
when i get home, be prepared to be at 700
 Respond  
Jethro   -  Oct 17, 2011
If you keep on saying that as perfect, I'll be stuck with 600 likes forever, won't I? lol
 Respond  
alabama   -  Oct 17, 2011
i see. i will have to use this, and possibly make some sort of .... php snippet that makes sentences out of it?
thanks
id give ua like but ur at a perfect 600
 Respond  
Jethro   -  Oct 17, 2011
I've updated the script to send a message to the active channel where you are focusing on, instead of transmit it to all the channels as before.
 Respond  
Jethro   -  Oct 17, 2011
alabama, it doesn't talk constantly, but it talks when the server pings you, depending how often your server send you a ping. It's rather useful if you will, especially when you're away from your PC, you have nothing to say, and you want to appear that you're alive and kicking. :P People who don't know will think you're there speaking. It's especially useful when you're on a channel where the ops kick for idlers. This sort of acts like an auto-bot talker. You can turn it off when you're back on your PC via nicklist and channel popup.
 Respond  
alabama   -  Oct 16, 2011
oes it constantly talk?
id give u a like....but dont wana ruin ur perfect 600
 Respond  
chachin   -  Sep 11, 2011
got 2 bots to talk to each other :D 10/10
 Respond  
TMFKSOFT   -  Jun 20, 2011
No Problem :)
 Respond  
Jethro   -  Jun 20, 2011
Thanks, I could do that, but this is just a trivial script for when the channel you reside on is virtually "lifeless" and you spit out a sentence to sort of break the ice so that you appear "alive" lol Thanks again for the rating.
 Respond  
TMFKSOFT   -  Jun 20, 2011
Very inventive to use the Ping!
But this makes it a bit too often, I suggest you could add a $rand and a HALT so the bot has a 25% chance of not
saying anything. Otherwise 7/10 +Like :D
 Respond  
Jethro   -  Jun 19, 2011
Guys, I'm grateful to your kind words, scores, and likes.
 Respond  
napa182   -  Jun 19, 2011
Nice work Jethro_ 9/10 +like
 Respond  
Aha2Y   -  Jun 19, 2011
This is like the eggdrop's Bmotion. Very nice. +1like
 Respond  
blackvenomm666   -  Jun 19, 2011
this is pretty neat +like
 Respond  
PuNkTuReD   -  Jun 19, 2011
very interesting way of doing your socket.
gets a like from me.
 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.