Forum | Features | Download | Addons | Help | #emech | Links | About | Contact
Versions | News Archive | Installing | Linking | Configuration | Commands | FAQ
The time is now Thursday, April 7th, 2022, 12:23pm |
Forum Index :: Generic Discussion :: Nickserv/Authserv/Other services :: Reply to this topic | ||
Author | ||
lefty | Posted :: 3:55am, Wed, May 4, 2005 Subject :: Nickserv/Authserv/Other services | |
(anonymous) |
I noticed in the E3 the SERVICE command is gone, how can i make the bot perform certin tasks on connect now? | |
proton | Posted :: 11:02am, Wed, May 4, 2005 | |
![]() Posts: 165 |
either make a tcl script or persuade endorphin to finish his E3 conversion of the services patch. | |
kroseneg | Posted :: 7:40pm, Sun, Jun 19, 2005 Subject :: TCL script for limited support of Undernets X | |
![]() Posts: 12 |
This script for E3 will do the login to X!cservice@undernet.org and sets mode +x for the bot If it happens that the bot can't login after connect do a "/msg bot xlogin" I hope this script works for you like it does for me. If you have enhancements, please post them, thank you! :) ---- 8< ----- # # Support for Undernet's CService # Script for EnergyMech 3 # # Written by [charly] <charly@deutschland.schmidham.net> # variable logged_in 0 # change USERNAME and PASSWORD to that one of your bot-account # then remove the # on the line proc xlogin {} { global botnick to_server "MODE $botnick +x\n" 0 #to_server "PRIVMSG X@channels.undernet.org :login USERNAME PASSWORD\n" 0 } proc grab_001 {from rest} { set logged_in 0 xlogin } proc grab_notice {from rest} { global logged_in if { $from == "X!cservice@undernet.org" } { if { [string match -nocase "*successful*" $rest] } { set logged_in 1 } elseif { [string match -nocase "*already authenticated*" $rest] } { set logged_in 1 } } } proc grab_privmsg {from rest} { global logged_in botnick currentnick if { [string match -nocase "$botnick :xlogin" $rest] } { if { ! $logged_in } { xlogin to_server "PRIVMSG $currentnick :Thanks for help :)\n" 50 } else { if { [string match -nocase "$botnick :xlogin force" $rest] } { xlogin to_server "PRIVMSG $currentnick :I should already be authenticated to X, thanks for help anyway :)\n" 50 } else { to_server "PRIVMSG $currentnick :Sorry, I should already be authenticated to X.\n" 50 } } } } proc grab_join {from rest} { global logged_in if { ! $logged_in } { if { $from == "X!cservice@undernet.org" } { xlogin } } } hook parse 001 grab_001 hook parse NOTICE grab_notice hook parse PRIVMSG grab_privmsg hook parse JOIN grab_join | |
MadCamel- | Posted :: 10:46pm, Tue, Dec 20, 2005 Subject :: Thanks | |
(anonymous) |
Thanks for posting this script. It's nice to see someone writing them :) | |
falken | Posted :: 10:52am, Wed, Mar 22, 2006 Subject :: thanks | |
![]() Posts: 6 |
great ! many thanks for this script | |
BWare | Posted :: 7:36am, Thu, Oct 26, 2006 Subject :: login | |
(anonymous) |
What i have see is when i use the command !die and the ./energymech to start the bot he dot wanna login only with !tclscript xlogin.tcl and then /msg <botnick> xlogin then he will login to X. But when i dont use he mech.session he wil time after time login bij X include when i use the command !die or !shutdown. What can i do about it? | |
BWare | Posted :: 7:40am, Thu, Oct 26, 2006 Subject :: login | |
(anonymous) |
What i have see is when i use the command !die and the ./energymech to start the bot he dot wanna login only with !tclscript xlogin.tcl and then /msg <botnick> xlogin then he will login to X. But when i dont use he mech.session he wil time after time login bij X include when i use the command !die or !shutdown. What can i do about it? | |
damn | Posted :: 12:38pm, Sun, Jul 6, 2008 Subject :: hmmmmmm | |
![]() Posts: 4 |
where i need to put that script to work.. ? | |
guru | Posted :: 5:13am, Thu, Aug 7, 2008 Subject :: nice work | |
(anonymous) |
hay i just need to know where i have to set this script to login my emech bot with X services. Thanks in Advance! | |
kukino | Posted :: 9:19pm, Sat, May 30, 2009 Subject :: nick:pass | |
![]() Posts: 1 |
Hello To identify the emech type /nick thenick:pass ,as serious? |
Copyright © 2000-2005 Proton, All rights reserved.
Last edited August 16th, 2005.
HTML 4.01 CSS