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.

!op deop... clan

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
p
pilouuu
Halfop
Posts: 82
Joined: Mon Dec 26, 2005 8:03 pm

!op deop... clan

Post by pilouuu »

Hi :)

I need script whit fonction :

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

thx
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

Hi,

Code: Select all

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: Select all

 tag when posting logs, code
I
IRCNick
Halfop
Posts: 64
Joined: Wed Oct 12, 2005 9:43 pm
Location: Germany
Contact:

Post by IRCNick »

Xexexe demond, you have translated it in bulgarian ;) Are u sure that he is bulgarian ? :D
p
pilouuu
Halfop
Posts: 82
Joined: Mon Dec 26, 2005 8:03 pm

Post by pilouuu »

Code: Select all

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
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

replace

Code: Select all

[string match -noc $t* $n]
with

Code: Select all

[string match -noc $t $n]
p
pilouuu
Halfop
Posts: 82
Joined: Mon Dec 26, 2005 8:03 pm

Post by pilouuu »

Thx :) :)))))
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

IRCNick wrote:Xexexe demond, you have translated it in bulgarian ;) Are u sure that he is bulgarian ? :D
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: Select all

 tag when posting logs, code
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

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"? :lol:
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

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"? :lol:
shame on me if I wouldn't know that... I happen to be Bulgarian ;)

Code: Select all

##########################################################################
# 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: Select all

 tag when posting logs, code
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Re: !op deop... clan

Post by Alchera »

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. :P

Just for the record; I had you as Polish. :lol:
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
I
IRCNick
Halfop
Posts: 64
Joined: Wed Oct 12, 2005 9:43 pm
Location: Germany
Contact:

Post by IRCNick »

He means from this topic, where he made his first post :D
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

IRCNick wrote:He means from this topic, where he made his first post :D
Well, not being into soothsaying ... :P
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Post Reply