From zondolfin at gmail.com Wed Nov 12 03:34:20 2008 From: zondolfin at gmail.com (Martin Kihlgren) Date: Wed, 12 Nov 2008 09:34:20 +0100 Subject: [Muby-talk] documentation for Muby? In-Reply-To: <20081112033250.3756B1858183@rubyforge.org> References: <20081112033250.3756B1858183@rubyforge.org> Message-ID: <27acba740811120034m657406cdk7b64afcb6da92a@mail.gmail.com> There used to be some documentation on http://jrandomhacker.info/Muby but it seems Sy has taken down the page... First of all, this client is targeted at people that want to script their clients using ruby. If you are not familiar with ruby there are other clients that are probably better. That said, the source shouldnt be all too hard to understand (even if it has grown quite old, and not always in a pretty way). What usecase do you need instruction for? I can explain anything you want, but I dont know what level of explanation you want. Just to make sure: connect to a mud by typing /connect "some.host.tld", 3333 in the input window. regards, //Martin On Wed, Nov 12, 2008 at 4:32 AM, Christopher J. Bottaro wrote: > Where is the documentation for this? How can I learn to use it? > From zondolfin at gmail.com Wed Nov 12 10:48:41 2008 From: zondolfin at gmail.com (Martin Kihlgren) Date: Wed, 12 Nov 2008 16:48:41 +0100 Subject: [Muby-talk] documentation for Muby? In-Reply-To: References: <20081112033250.3756B1858183@rubyforge.org> <27acba740811120034m657406cdk7b64afcb6da92a@mail.gmail.com> Message-ID: <27acba740811120748s75a936a1w4a92e98432b0ea03@mail.gmail.com> Nice :) Well, look at the mubyrc-file that is created when you start muby the first time. Basically, you do conf.remote_triggers[/blabla/] = Proc.new do ... end to create a trigger working on the input from the server, or conf.local_triggers[/blabla/] = Proc.new do ... end to create a trigger working on your own input. There are also connect_triggers, iirc, and startup triggers of some kind (but I dont really use those myself). About the arrow keys, the mubyrc-file and the lib/muby/configuration.rb should tell you how they are configured - basically I think your terminal doesnt send right and left keys in the way ncurses expects. The file lib/muby/user_methods.rb also includes a whole lot of methods used all over the system. regards, //Martin Kihlgren On Wed, Nov 12, 2008 at 4:29 PM, Christopher J. Bottaro wrote: > I'm a Rails developer by profession and have nice little github resum? > showcasing my Ruby skills... :) > > A list of available commands would be nice (I already discovered > /connect). General instructions on how to write triggers and do the > scripting in general. > > Also, I'm using iTerm on OS X and pressing the arrow keys results in > characters being echoed to the screen. Any suggestions for that? > > I guess I can just start reading the source, but any pointers on where > to start or info on the general structure behind it would be good. > > Thanks, > -- Christopher > > On Wed, Nov 12, 2008 at 2:34 AM, Martin Kihlgren wrote: >> There used to be some documentation on http://jrandomhacker.info/Muby >> but it seems Sy has taken down the page... >> >> First of all, this client is targeted at people that want to script >> their clients using ruby. If you are not familiar with ruby there are >> other clients that are probably better. >> >> That said, the source shouldnt be all too hard to understand (even if >> it has grown quite old, and not always in a pretty way). >> >> What usecase do you need instruction for? I can explain anything you >> want, but I dont know what level of explanation you want. >> >> Just to make sure: connect to a mud by typing >> /connect "some.host.tld", 3333 >> in the input window. >> >> regards, >> //Martin >> >> On Wed, Nov 12, 2008 at 4:32 AM, Christopher J. Bottaro >> wrote: >>> Where is the documentation for this? How can I learn to use it? >>> >> > From sy1234 at gmail.com Sun Nov 16 22:37:18 2008 From: sy1234 at gmail.com (Sy Ali) Date: Sun, 16 Nov 2008 22:37:18 -0500 Subject: [Muby-talk] documentation for Muby? In-Reply-To: <27acba740811120034m657406cdk7b64afcb6da92a@mail.gmail.com> References: <20081112033250.3756B1858183@rubyforge.org> <27acba740811120034m657406cdk7b64afcb6da92a@mail.gmail.com> Message-ID: <1e55af990811161937k3f30dda3wfc6a8a82dc34de70@mail.gmail.com> http://jrandomhacker.info/Muby The website has been taken down. I haven't had the time to package and send off the documentation, but it's on my todo list. I don't know if I'll put my wiki back up online again. I'm moving and I don't know what my internet/hosting situation will be.