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!
ComputerTech
Master
Posts: 399 Joined: Sat Feb 22, 2020 10:29 am
Contact:
Post
by ComputerTech » Mon Apr 27, 2020 4:27 pm
Good Day All
So i am needing to request a script that does the following things
checks access list (vop hop aop sop qop) this access list is more popular on networks like freenode,rizon,mibbit etc
i am Not looking for a script that checks if the user has the corredt user flags but rather checks chanserv any help appreciated and i will use this script to further my learning of TCL
Cheers
ComputerTech
ComputerTech
Master
Posts: 399 Joined: Sat Feb 22, 2020 10:29 am
Contact:
Post
by ComputerTech » Wed May 20, 2020 11:04 am
Hey all so since i figured out how to do this and for those who dont here's a example
Code: Select all
if {![isop $nick $chan]} {
putserv "privmsg $chan :Blah"
}
thats just a example
and for to check if bot is op is this
Code: Select all
if {![botisop $chan]} {
putserv "privmsg $chan :Blah "
}
this is very simple stuff, but for those who are new to tcl this might help
ComputerTech
willyw
Revered One
Posts: 1200 Joined: Thu Jan 15, 2009 12:55 am
Post
by willyw » Wed May 20, 2020 12:08 pm
To be clear - those tcl commands do not check an access list maintained by Chanserv and/or Nickserv.
They check to see if a nick is currently op'd.
A nick MAY be op'd, without being on an AOP access list.
Here is an excellent reference, for Eggdrop related TCL commands:
https://docs.eggheads.org/mainDocs/tcl-commands.html
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
ComputerTech
Master
Posts: 399 Joined: Sat Feb 22, 2020 10:29 am
Contact:
Post
by ComputerTech » Wed May 20, 2020 12:11 pm
True willyw my bad should have specified that
and hehe yep thats the link to check for it
thanks again willyw
EDIT
hmm looking for the right command for checking the aop list cant quite find it
going to look again
and at the tclarchive
ComputerTech