egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

binding commands with a botnet

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
Ofloo
Owner


Joined: 13 May 2003
Posts: 953
Location: Belguim

PostPosted: Fri Apr 09, 2004 12:43 am    Post subject: binding commands with a botnet Reply with quote

hmm ive tryed this my botnet is not on all channels on most channels it is the thing is if i use a command i like !opme i don't want all the bots to opme just one how do i do this ..

Code:
set bind(opme) "1"

proc opme:pub {nick uhost hand chan arg} {
  global bind
  if {[botisop $chan]} {
    if {$bind(opme)} {
      if {![isop $nick $chan]} {
        putallbots bindopme
        pushmode $chan +o $nick
      }
    } else {
      set bind(opme) 1
    }
  }
}

bind bot - bindopme bind:opme

proc bind:opme {hand idx arg} {
  global bind
  set bind(opme) "0"
}

_________________
XplaiN but think of me as stupid
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber