Changeset 5533 for lang/ruby/net-irc/trunk/examples
- Timestamp:
- 01/26/08 16:31:44 (5 years ago)
- Location:
- lang/ruby/net-irc/trunk/examples
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/ruby/net-irc/trunk/examples/tig.rb
r5532 r5533 1 1 #!/usr/bin/env ruby 2 =begin 3 4 # tig.rb 5 6 Ruby version of Twitter IRC Gateway 7 ( http://www.misuzilla.org/dist/net/twitterircgateway/ ) 8 9 10 ## Client opts 11 12 Options specified by after irc realname. 13 14 Configuration example for tiarra ( http://coderepos.org/share/wiki/Tiarra ). 15 16 twitter { 17 host: localhost 18 port: 16668 19 name: username@example.com athack 20 password: password on twitter 21 in-encoding: utf8 22 out-encoding: utf8 23 } 24 25 ### athack 26 27 If `athack` client options specified, 28 all nick in join message is leading with @. 29 30 So if you complemente nicks (ex. irssi), 31 it's good for twitter like reply command (@nick). 32 33 In this case, you will see torrent of join messages after connected, 34 because NAMES list can't send @ leading nick (it interpreted op.) 35 36 ## Licence 37 38 Ruby's by cho45 39 40 =end 2 41 3 42 $LOAD_PATH << "lib" -
lang/ruby/net-irc/trunk/examples/wig.rb
r5532 r5533 1 1 #!/usr/bin/env ruby 2 =begin 3 4 # wig.rb 5 6 Wasser IRC Gateway 7 8 9 ## Client opts 10 11 Options specified by after irc realname. 12 13 Configuration example for tiarra ( http://coderepos.org/share/wiki/Tiarra ). 14 15 twitter { 16 host: localhost 17 port: 16670 18 name: username@example.com athack 19 password: password on wasser 20 in-encoding: utf8 21 out-encoding: utf8 22 } 23 24 ### athack 25 26 If `athack` client options specified, 27 all nick in join message is leading with @. 28 29 So if you complemente nicks (ex. irssi), 30 it's good for twitter like reply command (@nick). 31 32 In this case, you will see torrent of join messages after connected, 33 because NAMES list can't send @ leading nick (it interpreted op.) 34 35 ## Licence 36 37 Ruby's by cho45 38 39 =end 2 40 3 41 $LOAD_PATH << File.dirname(__FILE__)
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)