egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

psyBNC Scripting?
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Shell & Bouncer Help
View previous topic :: View next topic  
Author Message
walkery
Guest





PostPosted: Fri Dec 06, 2002 6:48 am    Post subject: Reply with quote

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

PostPosted: Thu Dec 02, 2004 4:36 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Wed Dec 08, 2004 12:32 am    Post subject: Reply with quote

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.

_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Wed Dec 08, 2004 9:50 am    Post subject: Reply with quote

This thread restarted after 2 yrs?
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Fri Dec 31, 2004 11:59 pm    Post subject: Reply with quote

...and while we are at ressurecting old threads Razz 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
View user's profile Send private message Visit poster's website
awyeah
Revered One


Joined: 26 Apr 2004
Posts: 1580
Location: Switzerland

PostPosted: Sun Jan 09, 2005 11:11 pm    Post subject: Reply with quote

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. Razz
_________________
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Tue Mar 08, 2005 4:28 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Ofloo
Owner


Joined: 13 May 2003
Posts: 953
Location: Belguim

PostPosted: Tue Mar 08, 2005 6:04 am    Post subject: Reply with quote

http://www.psybnc.info/script.html
_________________
XplaiN but think of me as stupid
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Tue Mar 08, 2005 6:13 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Mon Mar 14, 2005 7:45 am    Post subject: Reply with quote

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
View user's profile Send private message
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Mon Mar 14, 2005 1:35 pm    Post subject: Reply with quote

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
Mr. Green
_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Tue Mar 15, 2005 5:15 am    Post subject: Reply with quote

Good try but no, Undernet dosen't have NickServ or any other services of this kind so that will be useless. Rolling Eyes
_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
awyeah
Revered One


Joined: 26 Apr 2004
Posts: 1580
Location: Switzerland

PostPosted: Tue Mar 15, 2005 8:22 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Galadhrim
Op


Joined: 11 Apr 2003
Posts: 123
Location: Netherlands, Enschede

PostPosted: Tue Mar 15, 2005 8:53 am    Post subject: Reply with quote

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
View user's profile Send private message
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Tue Mar 15, 2005 3:06 pm    Post subject: Reply with quote

caesar wrote:
Good try but no, Undernet dosen't have NickServ or any other services of this kind so that will be useless. Rolling Eyes
Rolling Eyes 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
_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Shell & Bouncer Help All times are GMT - 4 Hours
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber