| View previous topic :: View next topic |
| Author |
Message |
Deceipher Voice
Joined: 21 Oct 2007 Posts: 3
|
Posted: Sun Oct 21, 2007 12:28 pm Post subject: [SOLVED] Change the bot's modes on irc |
|
|
Hello,
I would like to know if and how it's possible to change the eggdrop's usermodes on the server (so not the modes within a botnet or usermodes on the bot). I've been looking for a command for this but haven't been able to find one.
I would prefer to do this without the use of scripts, if it's possible ofcourse.
- Deceipher
Last edited by Deceipher on Wed Oct 24, 2007 9:03 am; edited 1 time in total |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Oct 21, 2007 11:24 pm Post subject: |
|
|
eggdrop.conf:
| Quote: | # This is a Tcl script to be run immediately after connecting to a server.
bind evnt - init-server evnt:init_server
proc evnt:init_server {type} {
global botnick
putquick "MODE $botnick +i-ws"
} |
_________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Deceipher Voice
Joined: 21 Oct 2007 Posts: 3
|
Posted: Mon Oct 22, 2007 7:45 am Post subject: |
|
|
Thanks for the reply. 2 things:
First, this obviously only changes the bot's modes on init, and not while the bot is already running.
Second, it doesn't even seem to work, since neither of the 2 commands i have set in that script (modechange and service identification) seem to work. |
|
| Back to top |
|
 |
TCL_no_TK Owner

Joined: 25 Aug 2006 Posts: 509 Location: England, Yorkshire
|
Posted: Mon Oct 22, 2007 9:12 am Post subject: |
|
|
| Quote: | | First, this obviously only changes the bot's modes on init, and not while the bot is already running. | It wasn't clear from your post that you wanted to change it while the eggdrop was currently connected. And a simple .restart will reconnect the bot and fix the modes set in the eggdrop.conf like the example given. | Quote: | | Second, it doesn't even seem to work, since neither of the 2 commands i have set in that script (modechange and service identification) seem to work. | can you paste what you have put for it, please. since if it dosen't work its more than likly down to human error and would probably help. If you wish to change the bots user modes while it is connected to an irc server. First, check that you have the dcc bind for the .tcl command enabled & then Secondly, dcc chat/telnet to the eggdrop's partyline and type .tcl putserv "MODE $botnick [[+/-]the user mode(s) you want to set/unset on the eggdrop]"; return. and that should about do it. Just incase that wasn't clear from the syntax, here is my example of setting user mode +i on the bot and remove the usermode +s: .tcl putserv "MODE $botnick +i-s"; return and that would do that. _________________ TCL the misunderstood |
|
| Back to top |
|
 |
Deceipher Voice
Joined: 21 Oct 2007 Posts: 3
|
Posted: Wed Oct 24, 2007 9:02 am Post subject: |
|
|
Thanks, worked like a charm.
I found some error in my tcl script in the conf as well, so that is working as well now. Thanks for the help |
|
| Back to top |
|
 |
|