I am trying to write my own telnet client to connect to my favourite
MUD. (http://www.anguish.org/)
I'm stuck - I can't make it login at all ! I don't quite understand
the concept.
Do I use tn.cmd("mudcommand") to do pass the commands? Like :
input = gets.chomp #look at tree
tn.cmd(input) {|str| print str} #you look at a tree
here's what I have that doesnt work…note - If I just change the login
name (string) to guest and delete the password line - it does log in as
guest (which requires no password).
I am trying to write my own telnet client to connect to my favourite
MUD. (http://www.anguish.org/)
I'm stuck - I can't make it login at all ! I don't quite understand
the concept.
Do I use tn.cmd("mudcommand") to do pass the commands? Like :
input = gets.chomp #look at tree
tn.cmd(input) {|str| print str} #you look at a tree
here's what I have that doesnt work…note - If I just change the login
name (string) to guest and delete the password line - it does log in as
guest (which requires no password).