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.

Search found 69 matches

by SmokeyOne
Tue Feb 15, 2005 6:28 am
Forum: Archive
Topic: Checking if user is registered and identified with services
Replies: 9
Views: 4898

if someone was to maybe add a badword list in there, wouldn't that just be annoying to modify in the code, or would it be a easy patch ?
by SmokeyOne
Sun Nov 07, 2004 6:57 pm
Forum: Archive
Topic: Mysql: adding to a database
Replies: 24
Views: 19298

Back At it again

after putting this stupid thing down for months, I'm trying again. Now from all my prvious posts I'm trying to retrive information and add information into a mysql database. using pub commands, my old code looks like this, someone let me know wtf I'm doing wrong here. #Adding Routine proc add:pub {n...
by SmokeyOne
Mon Oct 18, 2004 5:00 pm
Forum: Archive
Topic: looking for a onjoin version check script for banning
Replies: 3
Views: 1727

looking for a onjoin version check script for banning

I checked all over the search engine here and couldn't find anything, went to google, went on the archive here and I still can't find anything. what I'm looking for is a onjoin version reply banner or ban someone for being in too many channels "detecting bottlers, xdcc catcher" stuff like ...
by SmokeyOne
Sat Aug 28, 2004 8:49 pm
Forum: Archive
Topic: cant connect to mysql through tcl script
Replies: 4
Views: 2733

make sure you set the user access correctly in mysql. like user@localhost. I've had a couple of problems like that before, I did that and it worked just perfect
by SmokeyOne
Thu Jun 24, 2004 2:30 pm
Forum: Archive
Topic: Mysql: adding to a database
Replies: 24
Views: 19298

its been awhile since I was last on the net... my net time is starting to get smaller and smaller.. well anyways.. I beleive what I meant as a header and footer was. New releases by Blah 1. 2. 3. 4. checks us out on the web at http://www.blah.com instead it was doing the top and bottom half over and...
by SmokeyOne
Sat Apr 10, 2004 10:49 pm
Forum: Archive
Topic: Mysql: adding to a database
Replies: 24
Views: 19298

okay well it works somewhat... now if I can get the header and the footer to display once, then show the list.... that's the problem I tried a older method, but it started to give me tcl errors.
by SmokeyOne
Fri Apr 09, 2004 6:44 pm
Forum: Archive
Topic: Mysql: adding to a database
Replies: 24
Views: 19298

okay I can list the db somewhat, though I would like to create a header and a footer, seems that might be the only way... also i tired to split it up in 3 ways like Ttle: Data: Date:, and I justed [join [lrange $qurey 1]] but it says its needs a end, i don't remember how to stop it at just that file...
by SmokeyOne
Thu Apr 08, 2004 6:57 pm
Forum: Archive
Topic: Mysql: adding to a database
Replies: 24
Views: 19298

okay I got it setup working with adding, now I have to see if I can get delete working, and then the searching funtion. now with the serach i can just use -limit 10 for it to display the first 10 results, but then would it be better to use a switch or, a else if statment to use for another string ? ...
by SmokeyOne
Thu Apr 08, 2004 4:20 pm
Forum: Archive
Topic: Mysql: adding to a database
Replies: 24
Views: 19298

well I've build this proc, using mc_8's strip proc and the regsub filter, in hopes this might work, from what I was reading you can set a field in mysql to "datetime", not sure if this is true, i'm going to try it and find out. But this proc might work, if everything else is true proc add:...
by SmokeyOne
Thu Apr 08, 2004 4:15 pm
Forum: Archive
Topic: Mysql: adding to a database
Replies: 24
Views: 19298

so what your saying is using the string map to something like this correct ?

string map {\003?? \000 \017 \026} $arg
by SmokeyOne
Thu Apr 08, 2004 3:36 pm
Forum: Archive
Topic: Mysql: adding to a database
Replies: 24
Views: 19298

i found this in MC_8's moretools.tcl proc mirc_strip {{args ""}} { set switches "" if {$switches == ""} {set switches all} set arg [lindex $args 0] set all [expr {([lsearch -exact $switches all] >= 0) ? 1 : 0}] set list [list \002 "" \017 "" \026 &qu...
by SmokeyOne
Thu Apr 08, 2004 3:32 pm
Forum: Archive
Topic: Mysql: adding to a database
Replies: 24
Views: 19298

for the time that you was talking about, i found this in the tclcommands.doc strftime <formatstring> [time] Returns: a formatted string of time using standard strftime format. If time is specified, the value of the specified time is used. Otherwise, the current time is used. Module: core ctime <unix...
by SmokeyOne
Thu Apr 08, 2004 12:04 pm
Forum: Archive
Topic: Mysql: adding to a database
Replies: 24
Views: 19298

ya i know you can't explain every option, I'm just trying to get a few ideas on how things could be done in this case, since i've never seen a tcl like this beore. its better to know what other options are out there. So clock secons would be a better choice in this, but knowing how mirc works, would...
by SmokeyOne
Fri Apr 02, 2004 5:57 pm
Forum: Archive
Topic: Mysql: adding to a database
Replies: 24
Views: 19298

okay so using a utime function to insert the unix code into the table, then just convert it... seems to be better than using the DATE filed in mysql like that. also I was looking through the mysqltcl man pages, and found these set of commands, mysqlquery, mysqlnext, mysqlmap, mysqlseek, mysqlcol, an...
by SmokeyOne
Thu Apr 01, 2004 6:38 pm
Forum: Archive
Topic: Mysql: adding to a database
Replies: 24
Views: 19298

okay a question would be, to if i set a date filed from within mysql, do I have to supply the date or is there a command to make it insert the current date for me?.. also from your example, i would think if i wanted to add into more field i could simply do this right ? mysqlexec #mysql(conn) "i...