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 12 matches

by darkmare
Fri May 26, 2006 2:45 pm
Forum: Scripting Help
Topic: Getting $hand based on $nick given
Replies: 2
Views: 3753

Thanks!
by darkmare
Fri May 26, 2006 2:03 pm
Forum: Scripting Help
Topic: Getting $hand based on $nick given
Replies: 2
Views: 3753

Getting $hand based on $nick given

I'm doing and XTRA field called "tagline", which will be a users tagline. I've got the part that gives you yours if you request it (Such as "Mike, who am I?") (Mike is the bot's name) with this: proc give_tagline {nick mask hand chan arg} { putserv "PRIVMSG $chan :$nick is [...
by darkmare
Mon Aug 08, 2005 10:26 pm
Forum: Archive
Topic: File Reading (Code to learn file functions); error
Replies: 8
Views: 4191

OK, there's two places that could go, though I'm pretty sure you meant the one in the while statement. More importantly to me is *why* is that getting in there? I mean, where is that token coming from? Is this some default behaviour I could override? OK, I found it. Easier solution is to change the ...
by darkmare
Mon Aug 08, 2005 8:09 pm
Forum: Archive
Topic: File Reading (Code to learn file functions); error
Replies: 8
Views: 4191

OK, we're getting somewhere now. The code that works is as follows: (Mostly so those that come after me see what the fix was) proc act:trigger {nick mask hand chan keyword arg} { if {[lindex $arg 0] == "Pix"} { global temp_file data counter temp_string file_name length set temp_file "...
by darkmare
Mon Aug 08, 2005 7:04 pm
Forum: Archive
Topic: File Reading (Code to learn file functions); error
Replies: 8
Views: 4191

I meant, I read all the FAQs and such; I didn't look at dates for any new ones, *that* part is my bad :oops:
by darkmare
Mon Aug 08, 2005 6:57 pm
Forum: Archive
Topic: File Reading (Code to learn file functions); error
Replies: 8
Views: 4191

Well, I did, but it was over a year ago :) I only come here when I've gone over stuff for hours, and no luck, hence the long time between visits. My apologies.
by darkmare
Mon Aug 08, 2005 6:37 pm
Forum: Archive
Topic: File Reading (Code to learn file functions); error
Replies: 8
Views: 4191

File Reading (Code to learn file functions); error

To learn about playing with files, I put this code in the v2-alpha of my bot. (If you'd like to see examples of some of it's new code, go to http://3whack.org/forums and look all the way at the bottom under PIxelCat Dev Team). When I try to read the file, it gets all the way through the code, but do...
by darkmare
Thu Apr 22, 2004 6:28 am
Forum: Archive
Topic: Autovoice
Replies: 9
Views: 2163

I know this isn't quite the answer you're looking for, but why not just set the defaults for a new user on the bot to "g", which autovoices them.
by darkmare
Tue Apr 13, 2004 11:50 am
Forum: Archive
Topic: Help with response to CTCP ACTION
Replies: 3
Views: 1425

Late last night, this is what I got working. One of the biggest errors was that the CTCP ACTION requires 6, not 5, variables to be passed. bind CTCP - action act:scritches proc act:scritches {nick mask hand chan keyword arg} { global scritches if {[lindex $arg 0] == "scritches"} { if {[lin...
by darkmare
Mon Apr 12, 2004 7:33 pm
Forum: Archive
Topic: Help with response to CTCP ACTION
Replies: 3
Views: 1425

Help with response to CTCP ACTION

OK, after searching the last few hours through at least 15 pages of search returns, I'm still having trouble. First off,here's the part of the scipt: bind CTCP - action act:scritches proc act:scritches {nick mask hand chan arg} { global scritches if {[lindex $arg 1] == "scritches"} { if {[...
by darkmare
Mon Apr 12, 2004 2:09 pm
Forum: Archive
Topic: Adding timed procedure
Replies: 6
Views: 1883

Here's what I've started with: #Random Cat Action set timer_seconds {30 + [rand 60]} if {![info exists word_timer_id]} { set word_timer_id [timer $timer_seconds word_timer] } proc word_timer {} { global word_timer_id timer_seconds random_actions set word_timer_id [timer $timer_seconds word_timer] pu...
by darkmare
Mon Apr 12, 2004 1:15 pm
Forum: Archive
Topic: Adding timed procedure
Replies: 6
Views: 1883

OK this is almost exactly what I want to do, but I have one twist on it; I want to make the timer_minutes variable, something like 10 + random number from 0-30, so that it does the random action every 10-40 minutes, for example. I can figure out how to add the random amount to the timer, my question...