Umm .. I believe it is possible to write scripts for psyBNC .. and it even supports TCL (I think .. I'm too lazy to go check the docs) .. but I never bothered to figure out how to script ..
Yup - I just looked, it does support scripting, but it is very limited.
It doesn't support Tcl directly, but rather, allows you to exec a command on the shell (AKA, call a script script, and hey presto, it uses the output).
I havn't checked, but this is so limiting, it's practicaly usless.
yes, u can make scripts for the psyBNc, under the sripts DIR in the shell/FTP,
i tried using a TCL script, well... Semi TCL, and it's working fine, but the psyBNC scripting is limited
Method:
Depends what you wanna do. I`ve played around with psy scripting a little (version 2.3.1). What did you have in mind?
Any comparative document as to what can be done with Psybnc ?
I mean a document where you compare how things are done in TCL and how the same thing can be coded for Psybnc.
HMM - too keep things simple, I will send you a stamp via snail mail - it will include your address, the return address, the alphabet and the instructions you need.
Thats what is available to you.
There are no direct scripting abilities in PsyBNC.
What it refers to as scripting is actualy programs being run on events.
IE, if an event is triggered, then the program associated with that event is called. Whatever the program sends to STDOUT is sent to the IRC server.
Thus, it's is very limited. You have no direct control over the BNC (though, some majic tricks could be used), only the ability to send messages to the server, based on incoming data. Meaning, scripts can only work when a event is triggered.
You could make it into a bot, though you could possibly wait hours until an event is triggered, meaning that you can't send needed commands. As I said, limiting.
Most of this is documented in the README files.
NOTE: The majic tricks are limtied too. A called program could be setup to edit config files, and such, and possibly rehash the BNC using signals (if it supports it). This is probably the most advanced idea possible, but is still limited.
lol @ppslim
Ok I'll be waiting for that stamp by snail mail.
Meanwhile how about u poor me some tequila (the one that is always appended at the end of ur replies.
Psybnc doesn't support much scripting because you use a client to connect to it, which in most cases supports scripting. Would be sorta pointless to have psybnc support scripting.. It would act more like a bot with a bnc tcl loaded.
As noted, the abilities are so limited, I pretty much doubt there would be need to ask questions on it (as in, there wouldn't be enough traffic to warrant a forum).
As for the fact you use a client to connect to it, when a client has the scripting abilities.
From what I guess, this is more suited for offline scripting (when the client isnt connected). You could change version replies and any other CTCP reply, exec shell commands without accessing the shell (security risk, but it can be done).
Good point ppslim, that it would be used when the client is not connected.
Say you're opped and detached. The server you're connected to goes down. Psybnc automatically makes you connect to another server (in the servers list).
How to make it auto identify your nick when it gets nickserv's notice ?
Good point z_one, i idle on undernet (it's lame i know) and i want (for now) my bouncer to login to X when he connects to the irc server...
Psybnc doesent have an connect event so i tryed to intercept first two raws: