| View previous topic :: View next topic |
| Author |
Message |
pilouuu Halfop
Joined: 26 Dec 2005 Posts: 82
|
Posted: Mon Dec 26, 2005 8:28 pm Post subject: !op deop... clan |
|
|
Hi
I need script whit fonction :
"!op CLAN " oped one all user with CLAN begins
thx |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Mon Dec 26, 2005 8:50 pm Post subject: |
|
|
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 |
|
 |
IRCNick Halfop
Joined: 12 Oct 2005 Posts: 64 Location: Germany
|
Posted: Mon Dec 26, 2005 9:40 pm Post subject: |
|
|
Xexexe demond, you have translated it in bulgarian Are u sure that he is bulgarian ?  |
|
| Back to top |
|
 |
pilouuu Halfop
Joined: 26 Dec 2005 Posts: 82
|
Posted: Tue Dec 27, 2005 6:52 pm Post subject: |
|
|
| 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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Dec 27, 2005 7:02 pm Post subject: |
|
|
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 |
|
 |
pilouuu Halfop
Joined: 26 Dec 2005 Posts: 82
|
Posted: Tue Dec 27, 2005 7:19 pm Post subject: |
|
|
Thx )))) |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Wed Dec 28, 2005 12:59 am Post subject: |
|
|
| IRCNick wrote: | Xexexe demond, you have translated it in bulgarian Are u sure that he is bulgarian ?  |
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 |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Wed Dec 28, 2005 2:49 am Post subject: |
|
|
| 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"?  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Wed Dec 28, 2005 3:44 am Post subject: |
|
|
| 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"?  |
shame on me if I wouldn't know that... I happen to be Bulgarian
| 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 |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Wed Dec 28, 2005 9:24 am Post subject: Re: !op deop... clan |
|
|
| stef007 wrote: | Hi
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.
Just for the record; I had you as Polish.  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
IRCNick Halfop
Joined: 12 Oct 2005 Posts: 64 Location: Germany
|
Posted: Wed Dec 28, 2005 9:44 am Post subject: |
|
|
He means from this topic, where he made his first post  |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Wed Dec 28, 2005 10:21 am Post subject: |
|
|
| IRCNick wrote: | He means from this topic, where he made his first post  |
Well, not being into soothsaying ...  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
|