Sun, 09 Apr 2000 08:25:15 +0000
[gaim-migrate @ 103]
Notes on how to do plugins with gaim (note that this hasn't been
implemented completely yet, this is just how it *should* work).
| 93 | 1 | Figures out the other person's IP address if they also have the same |
| 2 | plugin loaded. | |
| 3 | ||
| 4 | This would be a really interesting and pretty useful plugin. It | |
| 5 | could work possibly by sending 'hidden' text in the form of an | |
| 6 | HTML tag or something, and if it receives the same hidden text, | |
| 7 | it could then pass messages back and forth to send and receive | |
| 8 | the IP addresses. | |
| 9 | ||
| 10 | Perform extra HTML-highlighting and HTML-stripping | |
| 11 | ||
| 12 | Ever get annoyed because gaim doesn't support some HTML markup? | |
| 13 | Here's a work-around. (Although, if you're this determined, you | |
| 14 | might as well just hack gaim and send us the patches ;-) .) | |
| 15 | ||
| 16 | Auto-reply | |
| 17 | ||
| 18 | If someone sends you a message, immediately send them a message | |
| 19 | back. Add fun things to the message. Reverse their text, then | |
| 20 | send it back to them. Play with fonts and colors and HTML tags. | |
| 21 | Really annoy the hell out of them. :-) | |
| 22 | ||
| 23 | Control gaim by monitoring a file | |
| 24 | ||
| 25 | I have to admit, I blatently stole this idea from LICQ. But it | |
| 26 | is a really interesting concept. What happens is it watches a | |
| 27 | certain file to see if it's empty or not. If it's not, it reads | |
| 28 | the contents and executes any commands stored in there (such as | |
| 29 | send a message to someone). This can be nice for having remote | |
| 30 | control of gaim. | |
| 31 | ||
| 32 | ||
| 33 | These are just some of the ideas I came up with in about ten minutes. A | |
| 34 | really nice thing about having plugins is as long as your code doesn't | |
| 35 | segfault, you can keep testing and debugging without having to restart | |
| 36 | gaim. Plus the plugins tend to be small, and quick and easy to compile, | |
| 37 | so development should be quick. Try to have FUN with these plugins :-). | |
| 38 | (BTW, dibs on the 'control by file' plugin. :-) .) |