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.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
anixion
Voice
Posts: 15 Joined: Sat Nov 05, 2005 11:50 pm
Post
by anixion » Tue Nov 08, 2005 4:20 am
Hey i just need a basic aop script so i can do
!aop nick
and it adds them to Auto Op in that CHANNEL
and does it by ident!
Linux
Halfop
Posts: 71 Joined: Sun Apr 04, 2004 4:20 pm
Location: Under The Sky
Post
by Linux » Tue Nov 08, 2005 4:51 am
Did you even bother to search at
TCL Archive ?
I'm an idiot, At least this one [bug] took about 5 minutes to find...
]Kami[
Owner
Posts: 590 Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:
Post
by ]Kami[ » Tue Nov 08, 2005 5:44 am
Or use forum search function
anixion
Voice
Posts: 15 Joined: Sat Nov 05, 2005 11:50 pm
Post
by anixion » Tue Nov 08, 2005 5:54 am
i cant find anything that basic...
Alchera
Revered One
Posts: 3344 Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:
Post
by Alchera » Tue Nov 08, 2005 9:34 am
Code: Select all
bind pub o|o !aop op:user
proc op:user {nick uhost hand chan arg} {
set thenick [lindex [split [string trim $arg]] 0]
if {![isop $thenick $chan]} { pushmode $chan +o $thenick }
}
Add [SOLVED] to the thread title if your issue has been.
Search |
FAQ |
RTM
anixion
Voice
Posts: 15 Joined: Sat Nov 05, 2005 11:50 pm
Post
by anixion » Wed Nov 09, 2005 2:28 am
Alchera how could i delop then
?
anixion
Voice
Posts: 15 Joined: Sat Nov 05, 2005 11:50 pm
Post
by anixion » Wed Nov 09, 2005 2:33 am
the code doesent work btw
Alchera
Revered One
Posts: 3344 Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:
Post
by Alchera » Wed Nov 09, 2005 10:48 am
anixion wrote: the code doesent work btw
Worked for me more than once. It checks for the 'o' flag btw.
Add [SOLVED] to the thread title if your issue has been.
Search |
FAQ |
RTM
anixion
Voice
Posts: 15 Joined: Sat Nov 05, 2005 11:50 pm
Post
by anixion » Thu Nov 10, 2005 1:27 am
Do u just add that into a txt and save it as aop.tcl then add it to my scripts?
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Thu Nov 10, 2005 5:21 am
anixion wrote: Do u just add that into a txt and save it as aop.tcl then add it to my scripts?
Don't forget the
source line in the conf file.
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Fri Nov 11, 2005 6:38 am
anixion, if you mean you want the bot to autoop him then use
Code: Select all
bind pub o|o !aop op:user
proc op:user {nick uhost hand chan arg} {
set thenick [lindex [split [string trim $arg]] 0]
setuser autoops HOSTS $thenick![lindex [split [maskhost [getchanhost $thenick $chan]] !] 1]
}
and in dcc:
.+user autoops
.chattr autoops +o #yourchannel
.chpass autoops kasjdsj
.chanset #yourchannel +autoop
the script will add
nick!ident@*.domain.net to the autoops handle. This might be insecure, so I suggest you use some autoop script with enough security from the Tcl archive.
Alchera
Revered One
Posts: 3344 Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:
Post
by Alchera » Fri Nov 11, 2005 9:40 am
anixion wrote: Hey i just need a basic aop script so i can do
!aop nick
and it adds them to Auto Op in that CHANNEL
and does it by ident!
You made a request. You got it!
Add [SOLVED] to the thread title if your issue has been.
Search |
FAQ |
RTM