
Various KDE 1.-4. Improvements
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
Believing that exam periods are always the most productive for the wrong reasons - i decided to write this fun script.
Based on Ryan Patterson's kopete pounce script.
Basically, given a user defined set of commands in a configuration file, a automatic response from either the output of a command or a specified text message will be responded to the client. For example, when somebody sends me the message '!fortune', they are automatically responded with the output of the program fortune, a random quote. !music tells them what i am listening to.
If that didn't make any sense, look at the screenshot.
I should warn you that if you incorrectly set up the safelist of commands to execute, then i suppose it would be possible to give someone access to 'rm -rf ~'. Very bad. Don't do it.
To install, extract the contents to a directory (i use ~/.kde/share/apps/kopete/), edit the script to your requirement, and modify the safelist as you will.
Features:
+ DoS prevention through use of a 'minimum delay' between calls of the script per user.
+ Permissions, including 'allowed' and 'forbidden' users.
+ Help outputs (must be defined).
+ WebCam support with camE -> this allows a user to upload a snapshot from the webcam to a directory and sends the url back to the user. (Thanks to Ian Eure for this).
16 years ago
v1.6
Thanks to Ian Eure who made major contributions to this script, including support for a webcam shot, which is uploaded to a webserver using camE. This version supports permissions, allowing for restrictions to be placed for certain commands (Ian Eure). Cleaning of reg exp's, and other small tidy ups. New file called `help`, provides a help file for a particular command. Call it by typing `!help music`, for example.
v1.52
Thanks to Ian Eure for providing me with an update to the Nickname retrieval.
v1.5
This release fixes the DOS bug. There is a default 5 seconds delay before any one person can call the script more than once. More configuration options.
v1.1
Fixes a bug which prevented the script from sending a message to contacts which have more than one consecutive space in their nickname.
v 1.0
- Initial Release
16 years ago
v1.6
Thanks to Ian Eure who made major contributions to this script, including support for a webcam shot, which is uploaded to a webserver using camE. This version supports permissions, allowing for restrictions to be placed for certain commands (Ian Eure). Cleaning of reg exp's, and other small tidy ups. New file called `help`, provides a help file for a particular command. Call it by typing `!help music`, for example.
v1.52
Thanks to Ian Eure for providing me with an update to the Nickname retrieval.
v1.5
This release fixes the DOS bug. There is a default 5 seconds delay before any one person can call the script more than once. More configuration options.
v1.1
Fixes a bug which prevented the script from sending a message to contacts which have more than one consecutive space in their nickname.
v 1.0
- Initial Release
brunes
15 years ago
For example, to alias /fortune, you simple add an alias from 'fortune' to '/exec -o fortune'.
Report
kundor
15 years ago
Report
behavedave
16 years ago
Report
linuxpoweredtrekkie
16 years ago
Report
Bono
16 years ago
Report
seb
16 years ago
+ knifty win deco
+ plastik style
+ ballistik xmms skin
+ nuvola icon set
+ my own custom colour scheme
Report
Bono
16 years ago
Report
wstephenson
16 years ago
Seb, can you put a large warning indicating this on the notes, or fix it?
Report
seb
16 years ago
Report
wstephenson
16 years ago
When doesn't it work?
I'd like to know so I can fix it.
Report
seb
16 years ago
Report
djurban
16 years ago
Report
seb
16 years ago
Report
grevlingen
16 years ago
Report
seb
16 years ago
Futura Lt BT
Report
rumcho
16 years ago
Report