Giter VIP home page Giter VIP logo

helloooo's Introduction

			    BBSbot: 上水木BBS的工具

I. 系统要求:在 Unix 系统下使用,必需装有 expect 和 Tcl.

II. 使用方法:

     1. 修改 bbsbot 脚本开头的变量 datafile 和 passwdfile, 使它们指向
     data 和 passwd 文件的绝对路径。

     2. 修改 passwd 文件,加入你的ID和密码,你的马甲和密码。如下面所示:

	set passwd(yourid) "yourpassword"
	set passwd(your_majia) "majia_password"

	然后运行:

	bbsbot ID

III. 功能:功能可以任意扩展,现在主要的功能是

   1. 自动上站,防止断线。

   2. 支持 telnet 和 ssh。缺省登录方式是 ssh,
      你可以把 bbsbot 文件开头加入

      set ssh 0

      从而使用 telnet 登录。

   2. 自动回复消息,并且可以按msg内容回复多个随机消息。
      按 Ctrl-E 切换自动回复功能,缺省时关闭自动回复。
      定制消息内容请修改 data 文件,依葫芦画瓢。
      消息记录在 chatlog.ID 文件里。

其它热键可以自己定义,只需要修改 bbsbot 文件的interact部分,依葫芦画瓢.
比如现在 Ctrl-K 可以立即断线。

目前只支持 smth BBS. 因为 bbsbot 使用比较精确的匹配消息,条件自动回复功能。
我只提取了 smth 的消息格式,所以如果要在其它 BBS 自动回复,需要修改文件相
关正则表达式。

helloooo's People

Contributors

yinwang0 avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.