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.

Tell Bot kick/ban or Op someone ?

Old posts that have not been replied to for several years.
Locked
d
duyminh

Tell Bot kick/ban or Op someone ?

Post by duyminh »

Is there a .tcl that can make the bot kick and/Ban or Op someone that I tell with robot in private EX : /msg BotNick kick # nick reason :-?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

A simple search on the Tcl archive would produce plenty of these scripts.

Do a search for msg commands
d
duyminh

Pls help me !!

Post by duyminh »

I use this TCL to ask Bot in private . but it doesn't work !! anyone help me pls !

Code: Select all

bind msg - "op" msgm:op
proc msgm:op {nick uhost hand text} { 
 if { $nick == SunLife  |  $nick == QuocBao } | {
   putserv "MODE $chan +o $nick"
   }
}
s
spyda
Halfop
Posts: 64
Joined: Mon Aug 12, 2002 2:22 am
Location: Australia

Post by spyda »

Code:
bind msg - "op" msgm:op
proc msgm:op {nick uhost hand text} {
if { $nick == SunLife | $nick == QuocBao } | {
putserv "MODE $chan +o $nick"
}
}

Code: Select all


bind msg - "op" msgm:op 
proc msgm:op {nick uhost hand text} { 
if { $nick == SunLife  ||  $nick == QuocBao }  { 
   putserv "MODE $chan +o $nick" 
   } 
} 
Hope that helps

------------
ThePope
d
darko``
Op
Posts: 121
Joined: Sun Sep 08, 2002 5:33 pm
Location: Malta

Post by darko`` »

/msg <bot> op <password> allready exist in eggdrop and is much more secure than what you have there. It as you can see requires password as well, not just nick. Do *NOT* use your code, it is a large security hole. Other helpfull /msg commands you can find in /msg <bot> help
Ignorant and lazy people will save 30 minutes by chosing simple config file. Smart ones will save 3000 minutes of *everyone's* time by opting for complete config file.
d
duyminh

Help me pls !

Post by duyminh »

I use my bot online on IRC Network ! but this IRC Network Do not allowed DCC chat !
So How can I ask my bot add more than user as Owner , master ...
+user , and .adduser only work in DCC chat with bot !!
How can I bind this command adduser on DCC party line to private query message ???

EX : /msg BotNick adduser Nick flags ....

Thanks you first ....!!!
User avatar
Papillon
Owner
Posts: 724
Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no

Post by Papillon »

have u tried: /ctcp botnick chat ?
Elen sila lúmenn' omentielvo
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Use Telnet.

DCC chat is simply a telnet connection, with the advantage of being placed within your irc client.

Using the hostname of you bot (the v-host/IP you picked in your config file) and the port you picked witht he listen command in the ocnfig file. Simply type "telnet <host> <ip>" at a command prompt/console.

In windows, you can dot his via the Start -> Run.

Alternativly, use your own Telnet software.
Locked