[TCL Request] xOP commands to services.

Feedback, Suggestions or Discussion about Fewona

[TCL Request] xOP commands to services.

Postby NullByte » March 3rd, 2013, 3:28 pm

-=14:00:23=- [Bond] I'll be very grateful if you can do the tcl
-=14:01:22=- [Bond] I want to write in channel .aop add nick and eggdrop do /chanserv aop #channel add nick
-=14:04:46=- [Bond] then I'll change it to sop, hop, vop
NULL
User avatar
NullByte
Fewona Staff
 
Posts: 1011
Joined: July 4th, 2012, 2:50 pm
Location: /dev/null

Re: [TCL Request] xOP commands to services.

Postby munZe » March 4th, 2013, 2:20 pm

I can write this if you didnt find this script or if someone didnt write you.
Please contact me on IRC or i will contact you when have time to give you test, and when its done i will put here on forum ;)
[r00t@err0r #] cat /etc/pwnd
Owner of Majstorov.Info,DBase @ Fewona.Net
TCL,Community,IRC Games (Holdem,Lov,Kviz), Free SHELL Ipv6, Free ZNC Ipv4 & Ipv6 -=> Fewona.Net
Image
Image
User avatar
munZe
Fewona Staff
 
Posts: 149
Joined: December 31st, 2012, 12:20 pm
Location: /bin/false

Re: [TCL Request] xOP commands to services.

Postby Ocell » March 4th, 2013, 11:30 pm

This could be a possible code without any user input error checking:
http://pastebin.com/F6h8vVu0

I hope it helps.

Ocell.
Ocell
Fewona Staff
 
Posts: 18
Joined: January 17th, 2013, 1:08 am

Re: [TCL Request] xOP commands to services.

Postby munZe » March 5th, 2013, 3:52 pm

Code: Select all
# IRC network ChanServ's nickname
set chanservnick "ChanServ"
 
#binding events
bind pub mn|mn .aop pub_aop
bind pub mn|mn .sop pub_sop
bind pub mn|mn .hop pub_hop
bind pub mn|mn .vop pub_vop
 
proc pub_aop {nick uhost hand chan text} {
        putserv "PRIVMSG $chanservnick :aop $chan [lindex $text 0] [lindex $text 1]"
}
 
proc pub_sop {nick uhost hand chan text} {
        putserv "PRIVMSG $chanservnick :sop $chan [lindex $text 0] [lindex $text 1]"
}
 
proc pub_hop {nick uhost hand chan text} {
        putserv "PRIVMSG $chanservnick :hop $chan [lindex $text 0] [lindex $text 1]"
}
 
proc pub_vop {nick uhost hand chan text} {
        putserv "PRIVMSG $chanservnick :vop $chan [lindex $text 0] [lindex $text 1]"
}


Usage:
.aop add nick
.aop del nick

Has Ocell says, this is script without input/output error.
Such a user added/deleted from access list or some kind of things :)
We can bind nickserv notice/msg if you want?
Just tell us if user sends notice or msg :)
[r00t@err0r #] cat /etc/pwnd
Owner of Majstorov.Info,DBase @ Fewona.Net
TCL,Community,IRC Games (Holdem,Lov,Kviz), Free SHELL Ipv6, Free ZNC Ipv4 & Ipv6 -=> Fewona.Net
Image
Image
User avatar
munZe
Fewona Staff
 
Posts: 149
Joined: December 31st, 2012, 12:20 pm
Location: /bin/false

Re: [TCL Request] xOP commands to services.

Postby Fitrah » March 22nd, 2013, 6:43 pm

munZe wrote:
Code: Select all
# IRC network ChanServ's nickname
set chanservnick "ChanServ"
 
#binding events
bind pub mn|mn .aop pub_aop
bind pub mn|mn .sop pub_sop
bind pub mn|mn .hop pub_hop
bind pub mn|mn .vop pub_vop
 
proc pub_aop {nick uhost hand chan text} {
        putserv "PRIVMSG $chanservnick :aop $chan [lindex $text 0] [lindex $text 1]"
}
 
proc pub_sop {nick uhost hand chan text} {
        putserv "PRIVMSG $chanservnick :sop $chan [lindex $text 0] [lindex $text 1]"
}
 
proc pub_hop {nick uhost hand chan text} {
        putserv "PRIVMSG $chanservnick :hop $chan [lindex $text 0] [lindex $text 1]"
}
 
proc pub_vop {nick uhost hand chan text} {
        putserv "PRIVMSG $chanservnick :vop $chan [lindex $text 0] [lindex $text 1]"
}


Usage:
.aop add nick
.aop del nick

Has Ocell says, this is script without input/output error.
Such a user added/deleted from access list or some kind of things :)
We can bind nickserv notice/msg if you want?
Just tell us if user sends notice or msg :)


Good Job munZe ;)

Indonesia Raya
Image
Fitrah

INDONESIA RAYA
Image
Fitrah
Member
 
Posts: 24
Joined: March 19th, 2013, 7:13 am
Location: Indonesia


Return to Fewona Related

Who is online

Users browsing this forum: No registered users and 2 guests