Author Topic: IRC over Telnet  (Read 10188 times)

0 Members and 1 Guest are viewing this topic.

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
IRC over Telnet
« on: July 16, 2011, 12:44:13 am »
I was wondering how many people have experienced the pain sheer joy of IRC over Telnet. The premise of Telnet is that you can connect at a fairly low level to computers on other systems through its use, which means you can view IRC through the command prompt.

To do it on windows and access #omnimaga from the command line (once Telnet is installed):

Code: [Select]
telnet irc.prison.net 6667
NICK RickAstley
USER RickAstley 8 * : Rick
JOIN #omnimaga

This will set you up as a user named RickAstley in #omnimaga whose real name is Rick. Of course, what good is just joining? Talking is even more fun and uses the badly named PRIVMSG function:

The code
Code: [Select]
PRIVMSG #omnimaga "message"
will send "message" to everyone in the chan. To send a private message, just use their username instead.

If you remain inactive for too long, though, you'll receive "PING :irc.prison.net", to which the appropriate response is "PONG :irc.prison.net". If you don't respond, you'll be automatically disconnected.

Also, be careful if you try it. My IP is now banned from EFnet  ;D
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: IRC over Telnet
« Reply #1 on: July 16, 2011, 12:47:40 am »
Your ip... was banned? O.o

Is this actually safe to try?
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: IRC over Telnet
« Reply #2 on: July 16, 2011, 12:49:24 am »
It should be. Telnet basically allows you to implement the raw underlying IRC protocol.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Ti-Programmer

  • LV3 Member (Next: 100)
  • ***
  • Posts: 84
  • Rating: +3/-0
  • Whats this? so many features...
    • View Profile
    • Ti-Programmer's website
Re: IRC over Telnet
« Reply #3 on: July 16, 2011, 12:49:58 am »
Why were you banned?

it should have just kicked you off, not the bot the server, for ping timeout, if you fail to pong.

Could a mod unban u?
Spoiler For Sig:







Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: IRC over Telnet
« Reply #4 on: July 16, 2011, 12:50:16 am »
I'm still kinda curious how you got banned, though.
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: IRC over Telnet
« Reply #5 on: July 16, 2011, 12:51:10 am »
I'm not sure why I was banned, but I can't reconnect now :(
Every time I try (even under different usernames), it just returns my IP followed by "( ***** BANNED )"
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: IRC over Telnet
« Reply #6 on: July 16, 2011, 12:54:01 am »
IRC over Telnet is fun. Especially when you're in more than 1 channel.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: IRC over Telnet
« Reply #7 on: July 16, 2011, 12:56:31 am »
Yeah, it's just hard to keep track of your typing when the page scrolls every ten three seconds.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline DrDnar

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 546
  • Rating: +97/-1
    • View Profile
Re: IRC over Telnet
« Reply #8 on: July 16, 2011, 12:59:37 am »
Have you tried a different server?
"No tools will make a man a skilled workman, or master of defense, nor be of any use to him who has not learned how to handle them, and has never bestowed any attention upon them. . . . Yes, [] the tools which would teach men their own use would be beyond price."—Plato's The Republic, circa 380 BC

Offline XVicarious

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +45/-28
  • I F**king Love Twisty Puzzles
    • View Profile
    • XVicarious
Re: IRC over Telnet
« Reply #9 on: July 16, 2011, 03:31:16 am »
Hum... My connection is SO BAD that I get disconnected right away from a timeout. I do have one bar and the network is god knows how far away. I wonder if someone can write a batch script or something to add the "PRIVMSG #omnimaga" autmatically. I dont know exactly how telnet works tho.

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: IRC over Telnet
« Reply #10 on: July 16, 2011, 10:29:43 am »
It's fun but difficult.  I hate when I get a ping message, and am like "oh, gosh, what do I do???"

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: IRC over Telnet
« Reply #11 on: July 16, 2011, 02:11:36 pm »
To my knowledge sending a message takes the form "PRIVMSG #channel :message", where #channel is the channel and message is the message. You need that colon there unless your message has no spaces. Same for the "real name" field of the USER command (the last one). (You also don't put a space after the colon.)
graphmastur: when you receive a message of the form "PING stuff", the proper reply is "PONG stuff", replying with the same stuff. Some servers send them in the form ":server PING stuff", in which case you just ignore what's before the command.
For everyone who wants to see the official documentation, here's a link to RFC 2812.
« Last Edit: July 16, 2011, 02:11:45 pm by calcdude84se »
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: IRC over Telnet
« Reply #12 on: July 16, 2011, 03:07:57 pm »
The code
Code: [Select]
PRIVMSG #omnimaga "message"
will send "message" to everyone in the chan. To send a private message, just use their username instead.

The protocol is actually to use :message instead. Multi-word strings are preceded by a colon, not a quotation mark.

A really useful resource for anyone who wants to telnet to IRC is here: http://en.wikipedia.org/wiki/List_of_Internet_Relay_Chat_commands
« Last Edit: July 16, 2011, 03:08:44 pm by Deep Thought »




Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: IRC over Telnet
« Reply #13 on: July 16, 2011, 03:35:14 pm »
Hum... My connection is SO BAD that I get disconnected right away from a timeout. I do have one bar and the network is god knows how far away. I wonder if someone can write a batch script or something to add the "PRIVMSG #omnimaga" autmatically. I dont know exactly how telnet works tho.

You can't do telnet with a batch script by design. The way microsoft wrote telnet.exe, all execution pauses when the commandline goes into telnet and requires manual input from that point forward. You'd probably have to use a compiled language to telnet.

@DrDnar: The ban went away after a few hours.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Ti-Programmer

  • LV3 Member (Next: 100)
  • ***
  • Posts: 84
  • Rating: +3/-0
  • Whats this? so many features...
    • View Profile
    • Ti-Programmer's website
Re: IRC over Telnet
« Reply #14 on: July 16, 2011, 03:39:25 pm »
You could try a sendkey vbs in windows too. (Visual Basic Scipt) the only thing is, it cant get the output from the command line, so it couldn't respond to Pings. Otherwise, it could log u on and join a channel.
Spoiler For Sig: