| View previous topic :: View next topic |
| Author |
Message |
Th3Gh0st Voice
Joined: 25 Nov 2005 Posts: 5
|
Posted: Fri Nov 25, 2005 6:43 pm Post subject: Force join main channel (help) |
|
|
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 |
|
| Back to top |
|
 |
Winters Voice
Joined: 09 Jul 2005 Posts: 29
|
Posted: Fri Nov 25, 2005 7:56 pm Post subject: |
|
|
| Code: |
#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"
} |
|
|
| Back to top |
|
 |
Koepi Voice
Joined: 31 Aug 2003 Posts: 26
|
Posted: Sat Nov 26, 2005 8:33 am Post subject: Re: Force join main channel (help) |
|
|
| 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) |
|
| Back to top |
|
 |
Th3Gh0st Voice
Joined: 25 Nov 2005 Posts: 5
|
Posted: Sat Nov 26, 2005 9:25 am Post subject: |
|
|
i forgot to tell that i am talking about "Beware IRCD (bircd)"...
thnz Winter for oper script... |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sat Nov 26, 2005 3:18 pm Post subject: Re: Force join main channel (help) |
|
|
| 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 |
|
| Back to top |
|
 |
Th3Gh0st Voice
Joined: 25 Nov 2005 Posts: 5
|
Posted: Sun Nov 27, 2005 1:06 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
Th3Gh0st Voice
Joined: 25 Nov 2005 Posts: 5
|
Posted: Wed Nov 30, 2005 6:19 pm Post subject: |
|
|
| Code: | 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: | | [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? |
|
| Back to top |
|
 |
]Kami[ Owner

Joined: 24 Jul 2003 Posts: 590 Location: Slovenia
|
Posted: Wed Nov 30, 2005 7:05 pm Post subject: |
|
|
Well, you don't need to use regexp, because text format is "static"
| Code: | | set nick [lindex $arg 5] |
Btw, if you don't want your code to chocke on special chars, split args  _________________ Slovene Eggdrop Page |
|
| Back to top |
|
 |
Th3Gh0st Voice
Joined: 25 Nov 2005 Posts: 5
|
Posted: Fri Dec 02, 2005 3:32 pm Post subject: |
|
|
| i made a script, thnx to everyone |
|
| Back to top |
|
 |
Le_Fou Voice
Joined: 27 Oct 2005 Posts: 1
|
Posted: Wed Apr 11, 2007 1:41 pm Post subject: script |
|
|
Th3Gh0st can you please share the script?I need something like that..
Thanks |
|
| Back to top |
|
 |
|