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.

botnet script....

Old posts that have not been replied to for several years.
Locked
K
Kimmi
Halfop
Posts: 58
Joined: Thu Jul 24, 2003 4:17 pm
Location: Norway
Contact:

botnet script....

Post by Kimmi »

Hello

Im running SpeeNet 2.33 and eggdrop 1.6.16. I have a botnet of 8 bots, but there is one bot that I want in a channel alone, and not with the other bots. I get the bot in the channel alone, but I get ann "error" in all of the other bots saying... "Tcl error [net:bot:wop]: illegal channel: #channel" I know its because the other bots isnt in the chan... I have search throught the script looking for a setup command to maybe trun it of, or something.. but I cant find anything... Anyone here that runs speednet, or just knows this script good enought to help me....

Kimmi
Kimmi@EFnet
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

Code: Select all

if(![ison $nick $channel]) {
return
}
If the nick is not on the channel return from the procedure.

That is the sort of thing you will require.
Last edited by ^DooM^ on Tue Feb 01, 2005 1:40 am, edited 1 time in total.
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
K
Kimmi
Halfop
Posts: 58
Joined: Thu Jul 24, 2003 4:17 pm
Location: Norway
Contact:

Post by Kimmi »

okey... but I did a search in the tcl, and there are 3 places where "net:bot:wop" is mentioned.

Code: Select all

  if {[matchattr $h bB] && [matchattr $h o|o $c] && [islinked $h]} {
    net:bot:wop $h net:wop [net:do:encrypt $c]
    if {[lsearch $needop($c) $h] == -1} {
      lappend needop($c) $h
    }
    return 0
and

Code: Select all

  if {[matchattr $vh o|o $c] && [wasop $v $c] && [islinked $vh]} {
    net:bot:wop $vh net:wop [net:do:encrypt $c]
    if {[lsearch $needop($c) $vh] == -1} {
      lappend needop($c) $vh
    }
and

Code: Select all

proc net:bot:wop {b cmd a} {
  global net botnet-nick botop needop
  set c [string tolower [net:do:decrypt $a]]
  if {$b == ${botnet-nick}} {
    set botop($c) ""
    set needop($c) ""
    return 0
  }
  if {$net(limbo) || ![islinked $b] || ![botisop $c] || ![matchattr $b o|o $c] || ![matchattr $b bB]} {
    return 0
  }
Im not sure where to put the code U gave me..
Kimmi@EFnet
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

shouldn't the magic chanset -shared do such kind of tricks?
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
K
Kimmi
Halfop
Posts: 58
Joined: Thu Jul 24, 2003 4:17 pm
Location: Norway
Contact:

Post by Kimmi »

Nope, it doesnt... I have allready tested that...
^DooM^ plz.. help me If U can..

Kimmi
Kimmi@EFnet
s
spock
Master
Posts: 319
Joined: Thu Dec 12, 2002 8:40 pm

Post by spock »

join the whole net and chanset +inactive on the bots you dont want in there (assuming speednet doesnt share chanfile)
photon?
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

Kimmi try Spock's suggestion.
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
Locked