This should add the new "Start List of requests" line... proc requestlist {nick uhost hand chan arg} { global adminchans1 if {$chan == $adminchans1} { set filename "lista_peticiones.txt" set in [open $filename r] set reqnumber 0 set data [split [read -nonewline $in] "\n"...
Try this proc requestlist {nick uhost hand chan arg} { global adminchans1 if {$chan == $adminchans1} { set filename "lista_peticiones.txt" set in [open $filename r] set reqnumber 0 set data [split [read -nonewline $in] "\n"] close $in if {![llength $data]} { putnow "PRIVMSG ...
This is the next ver script with the public commands 99% done. No further work has been done to the onjoin functions yet. Read the script header for all of the public commands functions. ######### cloudGuard version 0.3 by SpiKe^^ (cg.tcl) ###### 12Dec2022 ########## # # # cg.tcl is: "A Blackli...
TimeRider All of the public commands now function fine, but all still need work. See if this addresses your two option requests... Note: This code edited once on 25Nov2022 ########## cloudGuard version 0.2 by SpiKe^^ (cg.tcl) 25Nov2022 ########## ###### cloudGuard Public Commands (eggdrop userfile f...
TimeRider, Try this untested code, inspired by: GuardChan by JamesOff List your trusted hostmasks in cg(goodlist) like this: set cg(goodlist) { *!uid569209@* *!~uid321317@* *!uid587206@* *!uid682486@* } !! Add +cloudguard to channel(s) you want to protect: .chanset #channel +cloudguard ########## cl...
simo, Here is a cleaned up copy of your script, with proper indentation so it can be read by others. I see multiple issues with the code as it stands so far... ## ircCloudBan v.1.0 ## bind mode - "#% +b" ircCloudBan bind kick - * ircCloudKick proc ircCloudBan {nk uh hn ch md banmask} { if ...
Here's a more complete version of the script, with all the features you hinted about in your posts above... This will allow !op #channel and !op #channel user and !op #channel nick nick2 nick3 # set one admin channel here for an added security check. # both the bot and the command user will need to ...
Try this code. The command syntax is: op #somechannel The bot will attempt to OP the +n flagged command user in #somechannel. Important: This is Not a very secure method of getting op, as it is just protected by the flags on the bind!!!! Be sure your bot owners only have very secure host masks! bind...