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 

i don't know whats wrong :(

 
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
eiSi
Halfop


Joined: 07 Mar 2002
Posts: 70

PostPosted: Sun Mar 09, 2003 12:50 pm    Post subject: i don't know whats wrong :( Reply with quote

hi there!

this is from quickbot:

Code:
bind join * * Join:Checkjoin

set bossjmsg "Please Welcome \$unick, he is an $groupname Owner, and receives Auto-Op"
set adminjmsg "Please Welcome \$unick, he is an $groupname Admin, and receives Auto-Op"
set helperjmsg "Please Welcome \$unick, The is an $groupname Helper, and receives Auto-Voice"

proc Join:Checkjoin { nick userhost handle chan } {
   global home bossjmsg adminjmsg helperjmsg
   set unick $nick
   if {[matchattr $nick L] == 1 } {   
      if {[matchattr $nick |o $chan ] == 1 } {
         putserv "MODE $chan +o $nick "
      }
      if {[matchattr $nick |v $chan ] == 1 } {
         putserv "MODE $chan +v $nick "
      }
      if {[matchattr $nick n] == 1} {
         putserv "MODE $chan +o $nick "
         putserv "PRIVMSG $chan :[subst $bossjmsg]"
         msg $home "Owner $nick joined $chan, Auto-Op given!"
      }
      if {[matchattr $nick m] == 1 && [matchattr $nick n] == 0} {
         putserv "MODE $chan +o $nick "
         putserv "PRIVMSG $chan :[subst $adminjmsg]"
         msg $home "Admin $nick joined $chan, Auto-Op given!"
      }
      if {[matchattr $nick H] == 1 && [matchattr $nick m] == 0} {
         putserv "MODE $chan +v $nick "
         putserv "PRIVMSG $chan :[subst $helperjmsg]"
         msg $home "Helper $nick joined $chan, Auto-Voice given!"
      }
   }
}


when I join the channel, it all works fine, but when another Owner joins, nothing happens :/

I have given him the same flags like I have, but it still doesn't work.

Can anyone help me please?
Would be very nice!
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
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