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 

!op deop... clan

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
pilouuu
Halfop


Joined: 26 Dec 2005
Posts: 82

PostPosted: Mon Dec 26, 2005 8:28 pm    Post subject: !op deop... clan Reply with quote

Hi Smile

I need script whit fonction :

"!op CLAN " oped one all user with CLAN begins

thx
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Mon Dec 26, 2005 8:50 pm    Post subject: Reply with quote

Hi,

Code:

bind pub m !op foo
proc foo {n u h c t} {
   foreach n [chanlist $c] {
      if [string match -noc $t* $n] {pushmode $c +o $n}
   }
}


and stop requesting bits & pieces already, search Tcl archive, try out what you deem worthwhile

стига си искал, вземи да почетеш малко, порови се в архива на скриптовете, пробвай които ти се сторят подходящи
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
IRCNick
Halfop


Joined: 12 Oct 2005
Posts: 64
Location: Germany

PostPosted: Mon Dec 26, 2005 9:40 pm    Post subject: Reply with quote

Xexexe demond, you have translated it in bulgarian Wink Are u sure that he is bulgarian ? Very Happy
Back to top
View user's profile Send private message Visit poster's website
pilouuu
Halfop


Joined: 26 Dec 2005
Posts: 82

PostPosted: Tue Dec 27, 2005 6:52 pm    Post subject: Reply with quote

Code:

bind pub m !op foo
proc foo {n u h c t} {
   foreach n [chanlist $c] {
      if [string match -noc $t* $n] {pushmode $c +o $n}
   }
}


Hi and thx

1)the code is good but how to make so that when I type only !op it no oped not all user in the chan.

2) expl Lou-qwerty and Lou-expl are on yhe chan.

type: !op Lou* and the bot op all user clan Lou ( for expl Lou-qwerty and Lou-expl oped by bot) but if I type !op lou the bot oped too Lou-qwerty and Lou-expl. it is dangerous because if I type !op e by error all users whit e oped by bot :$ and type !op all user in the chan oped by bot oO ( mass op ) the bot not reconize *

Please help me for correct code

thx
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Dec 27, 2005 7:02 pm    Post subject: Reply with quote

replace
Code:
[string match -noc $t* $n]

with
Code:
[string match -noc $t $n]

_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
pilouuu
Halfop


Joined: 26 Dec 2005
Posts: 82

PostPosted: Tue Dec 27, 2005 7:19 pm    Post subject: Reply with quote

Thx Smile Smile))))
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Wed Dec 28, 2005 12:59 am    Post subject: Reply with quote

IRCNick wrote:
Xexexe demond, you have translated it in bulgarian Wink Are u sure that he is bulgarian ? Very Happy


his first posting was asking for help with a script originating in bg, or so I thought
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Wed Dec 28, 2005 2:49 am    Post subject: Reply with quote

demond wrote:
his first posting was asking for help with a script originating in bg, or so I thought

How did you you determine that? The use of "whit" instead of "with"? Laughing
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Wed Dec 28, 2005 3:44 am    Post subject: Reply with quote

Alchera wrote:
demond wrote:
his first posting was asking for help with a script originating in bg, or so I thought

How did you you determine that? The use of "whit" instead of "with"? Laughing

shame on me if I wouldn't know that... I happen to be Bulgarian Wink
Quote:
Code:

##########################################################################
# mass.tcl by ShakE <shake@abv.bg>                               #
##########################################################################
# Dobavq na bota funkcii ot roda: !mass <deop/op/voice/devoice>       #
##########################################################################
# Ako imate nqkakvi vaprosi, predlojenia ili kritiki posetete foruma na    #
# http://shake.hit.bg i pi6ete tam!                                      #
##########################################################################
###################### Ottuk nadolu ne butaite nishto! ###################


see the domain of author's email? besides, the sentences following it, albeit not cyrillic, are in Bulgarian
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Wed Dec 28, 2005 9:24 am    Post subject: Re: !op deop... clan Reply with quote

stef007 wrote:
Hi Smile

I need script whit fonction :

"!op CLAN " oped one all user with CLAN begins

thx

Well, there's no link to anything in his first post which is why I, for one, could not fathom how you knew. Razz

Just for the record; I had you as Polish. Laughing
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
IRCNick
Halfop


Joined: 12 Oct 2005
Posts: 64
Location: Germany

PostPosted: Wed Dec 28, 2005 9:44 am    Post subject: Reply with quote

He means from this topic, where he made his first post Very Happy
Back to top
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Wed Dec 28, 2005 10:21 am    Post subject: Reply with quote

IRCNick wrote:
He means from this topic, where he made his first post Very Happy

Well, not being into soothsaying ... Razz
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests 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