This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Th3Gh0st
Voice
Posts: 5 Joined: Fri Nov 25, 2005 6:40 pm
Post
by Th3Gh0st » Fri Nov 25, 2005 6:43 pm
Hi,
i want to make or find a .tcl script that will do this
-become an oper (oper himself)
-set mode +s (to see every user that connect to the server)
-do a svsjoin on some channel that i set
you see, i want to make on my irc that everyone who connect to the server automatically join main channel, can you help me with this ?
Sincerely,
Darko
Winters
Voice
Posts: 29 Joined: Sat Jul 09, 2005 12:24 pm
Post
by Winters » Fri Nov 25, 2005 7:56 pm
Code: Select all
#This is the Script to Oper your bot
bind evnt - init-server oper:yourself
proc oper:yourself {type} {
global botnick
putserv "oper accname accpass"
putserv "mode $botnick +s"
}
Koepi
Voice
Posts: 26 Joined: Sun Aug 31, 2003 1:21 am
Post
by Koepi » Sat Nov 26, 2005 8:33 am
Th3Gh0st wrote: i want to make on my irc that everyone who connect to the server automatically join main channel, can you help me with this
you can set ths in your ircd.conf (unrealircd)
Th3Gh0st
Voice
Posts: 5 Joined: Fri Nov 25, 2005 6:40 pm
Post
by Th3Gh0st » Sat Nov 26, 2005 9:25 am
i forgot to tell that i am talking about "Beware IRCD (bircd)"...
thnz Winter for oper script...
Alchera
Revered One
Posts: 3344 Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:
Post
by Alchera » Sat Nov 26, 2005 3:18 pm
Koepi wrote: Th3Gh0st wrote: i want to make on my irc that everyone who connect to the server automatically join main channel, can you help me with this
you can set ths in your ircd.conf (unrealircd)
Oh so lame! Good way to chase away any potential users is to force them to join a channel on connect that they do not wish to.
Add [SOLVED] to the thread title if your issue has been.
Search |
FAQ |
RTM
Th3Gh0st
Voice
Posts: 5 Joined: Fri Nov 25, 2005 6:40 pm
Post
by Th3Gh0st » Sun Nov 27, 2005 1:06 pm
Alchera, it is not comercial irc server, we don't hunt for users, we just need someting that will put all users on the same place at the begging... it is a local wireless network with about 500 users.
Th3Gh0st
Voice
Posts: 5 Joined: Fri Nov 25, 2005 6:40 pm
Post
by Th3Gh0st » Wed Nov 30, 2005 6:19 pm
Code: Select all
set operhandle "nick"
set operpass "pass"
bind evnt - init-server evnt:init_server
proc evnt:init_server {type} {
global botnick operhandle operpass
putquick "OPER $operhandle $operpass"
putserv "MODE $botnick +s +16384"
}
bind raw * notice snotice
proc snotice {from keyword arg} {
#regexp or lindex??
putserv "svsjoin $nick #chat"
}
I need help with this second part with regexp and stuff...
When i set mode +s my snotice looks like
Code: Select all
[23:16] -irc.miljakovac.net- *** Notice -- Client connecting: TheGhost (0@miljakovac.bg.wi) [10.15.5.1]
How to set nick: TheGhost in this case to a variable so i can use that to force join?
]Kami[
Owner
Posts: 590 Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:
Post
by ]Kami[ » Wed Nov 30, 2005 7:05 pm
Well, you don't need to use regexp, because text format is "static"
Btw, if you don't want your code to chocke on special chars, split args
Th3Gh0st
Voice
Posts: 5 Joined: Fri Nov 25, 2005 6:40 pm
Post
by Th3Gh0st » Fri Dec 02, 2005 3:32 pm
i made a script, thnx to everyone
Le_Fou
Voice
Posts: 1 Joined: Thu Oct 27, 2005 7:20 pm
Post
by Le_Fou » Wed Apr 11, 2007 1:41 pm
Th3Gh0st can you please share the script?I need something like that..
Thanks