| View previous topic :: View next topic |
| Author |
Message |
walkery Guest
|
Posted: Fri Dec 06, 2002 6:48 am Post subject: |
|
|
| I'm sorry but i dont know to make a "shell script"... Maibe u will give me at least an example ... and how to use it ... :P |
|
| Back to top |
|
 |
bobale Voice
Joined: 14 Oct 2004 Posts: 5 Location: Serbia and Montenegro
|
Posted: Thu Dec 02, 2004 4:36 am Post subject: |
|
|
| Code: | ;engl. NickServ @ irc.Nickserv.net
server NOTICE NickServ!services@krstarica.com * "*This nickname is registered*" echo "PRIVMSG NickServ :identify pass" | I use this script for auto-identifying to nickserv, but which is command for joining to channel? Channel list I set up in psybnc.conf is not working because of a server limit. So. now I gotta add new line in script for joinig a channel.
Can someone tell me which is command for joining a channel? _________________ Cobi |
|
| Back to top |
|
 |
YooHoo Owner

Joined: 13 Feb 2003 Posts: 939 Location: Redwood Coast
|
Posted: Wed Dec 08, 2004 12:32 am Post subject: |
|
|
| bobale wrote: | but which is command for joining to channel? Channel list I set up in psybnc.conf is not working because of a server limit. So. now I gotta add new line in script for joinig a channel.
Can someone tell me which is command for joining a channel? |
I don't understand what you mean by a 'server limit'... Do you mean that you are already in too many channels with your bnc, or that it doesn't stay where you leave it? | Code: | | USER1.CHANNELS.ENTRY0= The first channel the user wants to sit on. |
_________________
Johoho's TCL for beginners
 |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Wed Dec 08, 2004 9:50 am Post subject: |
|
|
This thread restarted after 2 yrs? _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Fri Dec 31, 2004 11:59 pm Post subject: |
|
|
...and while we are at ressurecting old threads here's a question:
does anyone know if it's possible to script filtering stuff from psybnc logs?
I'm annoyed it logs idiotic services notices all the time
I took a brief look at the file called SCRIPTING and it seems to me psybnc has very rudimentary scripting features and is not able to do what I need
so, I set up a cron job to sed out that stuff from logfiles; couldn't be bothered to investigate further by digging through source code |
|
| Back to top |
|
 |
awyeah Revered One

Joined: 26 Apr 2004 Posts: 1580 Location: Switzerland
|
Posted: Sun Jan 09, 2005 11:11 pm Post subject: |
|
|
Well obviously, psybnc's scripting capability is very limited indeed if we compare them to an eggdrop bot. Basically as an idled bouncer I think it has not much use as well and the scripting feature will always be very limited.
Else if you know perl and c, then you can code and recompile the source and make it work as you like.  _________________ ·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
================================== |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Tue Mar 08, 2005 4:28 am Post subject: |
|
|
| turns out it implements primitive event-bind system which relies on external programs (UNIX shell, perl interpreter, whatever) to do the actual scripting, piping I/O to them - a pity |
|
| Back to top |
|
 |
Ofloo Owner
Joined: 13 May 2003 Posts: 953 Location: Belguim
|
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Tue Mar 08, 2005 6:13 am Post subject: |
|
|
| Ofloo wrote: | | http://www.psybnc.info/script.html |
a simple copy of the text file SCRIPTING which is included in psybnc distro, essentially saying what I said a couple of lines above |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Mon Mar 14, 2005 7:45 am Post subject: |
|
|
What about that login to X (on Undernet) when got connected to a server? How should it be done cos with walkery's example I've failed.. _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
YooHoo Owner

Joined: 13 Feb 2003 Posts: 939 Location: Redwood Coast
|
Posted: Mon Mar 14, 2005 1:35 pm Post subject: |
|
|
| caesar wrote: | | What about that login to X (on Undernet) when got connected to a server? How should it be done cos with walkery's example I've failed.. |
| Code: | server NOTICE X!cservice@undernet.org * "*nickname is registered*" echo "PRIVMSG x@channels.undernet.org :LOGIN <username> <password>"
|
i think the syntax is correct... copy this into ur scripts, name it appropriately, and then /sreload
 _________________
Johoho's TCL for beginners
 |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Tue Mar 15, 2005 5:15 am Post subject: |
|
|
Good try but no, Undernet dosen't have NickServ or any other services of this kind so that will be useless.  _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
awyeah Revered One

Joined: 26 Apr 2004 Posts: 1580 Location: Switzerland
|
Posted: Tue Mar 15, 2005 8:22 am Post subject: |
|
|
That's why people have to buy shells just to compile psybnc's park their nicks, so they can always use their nick's and no one can get them. Same like EFnet or etc. Ah quit it, use DALnet, where you really own your assets.
Well IRC is a privelige and not a right!
- Nicks are not owned, they are temporarily used. _________________ ·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
================================== |
|
| Back to top |
|
 |
Galadhrim Op
Joined: 11 Apr 2003 Posts: 123 Location: Netherlands, Enschede
|
Posted: Tue Mar 15, 2005 8:53 am Post subject: |
|
|
| if u're using a cron job u can make a simple regex bash script that parses the log files? isn't that easier to do? |
|
| Back to top |
|
 |
YooHoo Owner

Joined: 13 Feb 2003 Posts: 939 Location: Redwood Coast
|
Posted: Tue Mar 15, 2005 3:06 pm Post subject: |
|
|
| caesar wrote: | Good try but no, Undernet dosen't have NickServ or any other services of this kind so that will be useless.  | oh lord lol...so just change the script slightly, maybe 'binding' the event to a RAW numerical number, maybe....
SYNTAX: event function fromuhost/name to content script
| Code: | | server 001 caesar!*@* * "*Welcome to the Internet Relay Network*" echo "PRIVMSG x@channels.undernet.org :LOGIN <username> <password>" |
? i'm real interested in how to make these psybnc scripts work, so any pointers would be appreciated _________________
Johoho's TCL for beginners
 |
|
| Back to top |
|
 |
|