Hi, I calculate a duration by milliseconds by using: "set dur [expr ([clock clicks -milliseconds] - $timeasked) * 0.001]" that usually gives me a time like "64.409". But on some networks (i.e. quakenet) i get times like "64.408999999999999". How do i trim the number to ...
i hope this helps: #your channel: variable opchan "#channel" #idle time in minutes: variable idletime 60 bind time - "* * * *" deop_user variable oplist "" proc deop_user {a b c d e} { global opchan idletime oplist set users [lrange [chanlist $opchan] 1 end] foreach use...
Hi, is there a way to see a directory to a file relative to the eggdrop`s .conf-file? I already found [file dirname filename] but that command only returns a name comprised of all of the path components in name excluding the last element. If name is a relative file name and only contains one path el...
Hi, this would be the simplest script to do so: bind pub -|- !forum typ_forum proc typ_forum {nick uhost handle channel text} { puthelp "PRIVMSG $channel :\[\002Forum\002\] http://www.moxquiz.de" } by changing "forum" and the url into something else you can add new links. this wo...
hi, i haven't tested it yet, so theres probably at least one typo in it. let me know if you have problems with it. commands: !web and !web 01252010 to get yesterdays urls. (please tell me a better command for this ;-) bind pubm - * url_pubm bind pub -|- !web url_pub set urllogfilename "urllog.d...