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

by user
Fri Nov 14, 2008 5:37 am
Forum: Script Requests
Topic: Making Scripts Channel Specific
Replies: 2
Views: 2221

If you only want your game to work in a single channel, the code provided by tueb is fine, but if you want a more flexible way to manage what channels your games work in, create a new channel setting using setudef: setudef flag nameOfTheGame include the following snippet as the first line in any pro...
by user
Wed Nov 12, 2008 5:04 pm
Forum: Script Requests
Topic: How to put console/terminal text into channel
Replies: 10
Views: 6369

nml375 wrote:

Code: Select all

set f_id [open "|./htext $text"]
It might be a good idea to limit access to this command (require some flag) or filter/escape the contents of $text :wink:
by user
Wed Nov 12, 2008 5:01 pm
Forum: Script Requests
Topic: Messages on select channels.
Replies: 3
Views: 2465

Code: Select all

bind time - 00* everyHour
proc everyHour {mm hh args} {
	if {[scan $hh %d]%2} return;# skip odd hours
	foreach chan {#yourchan #friendschan} {
		puthelp "PRIVMSG $chan :\002Hello, I am here"
	}
}
by user
Tue Oct 28, 2008 4:56 am
Forum: Script Support & Releases
Topic: TVRage.com Schedule Script (Latest: 2.0)
Replies: 506
Views: 547411

Ok, well I've given up on trying to figure out the error with TCL8.5.. In Tcl 8.5 dict is a native command, so the check for the dict package will of course fail. I suggest changing the dict check from if {[catch {package require dict} error]} { die "tvrage.tcl error: dict required." } to...
by user
Thu Oct 16, 2008 12:42 pm
Forum: Script Requests
Topic: is it possible?
Replies: 1
Views: 1550

by user
Wed Oct 15, 2008 6:46 am
Forum: Script Requests
Topic: any help appreciated :)
Replies: 8
Views: 4371

Set up the filesys and transfer modules, put your handle in the bind and load the script below, add users and give them the F flag (uppercase F), then send a file to your bot to test it. (it will only send copies of the file to users that are visible to the bot at the time you completed your transfe...
by user
Wed Oct 15, 2008 5:04 am
Forum: Scripting Help
Topic: matching '*' and '?' as literal chars [SOLVED]
Replies: 4
Views: 3498

Code: Select all

string match \\*\\? *?
by user
Fri Oct 10, 2008 3:29 am
Forum: Scripting Help
Topic: Eggdrop - Topic countdown
Replies: 4
Views: 7403

Sounds like you have some left over binds and procs in your bot. Do a .restart or, if you don't want to restart, remove the binds by hand (.tcl binds time, .tcl unbind ...)
by user
Fri Oct 10, 2008 3:22 am
Forum: Script Requests
Topic: any help appreciated :)
Replies: 8
Views: 4371

First, make sure you've loaded and set up the filesys and transfer modules correctly. Do you want to initiate the sending or will the users do it on their own? If the users will initiate the sending, why not give them partyline and file system access? (saves you some coding) If you want to initiate ...
by user
Wed Sep 03, 2008 7:27 am
Forum: Script Support & Releases
Topic: world_time.tcl problem
Replies: 2
Views: 4123

looks like a typo in the city list...
UZ-DC&city=Washington:Washington,United_States
should probably be
US-DC&city=Washington:Washington,United_States
by user
Tue Aug 19, 2008 6:24 am
Forum: Scripting Help
Topic: bind "-$comm" for command
Replies: 2
Views: 2726

Why not

Code: Select all

bind pubm - "% -*" whatever
proc whatever {n u h c text} {
	set text [string range $text 1 end]
	# ...
}
?
by user
Fri Aug 08, 2008 8:09 am
Forum: Other Topics
Topic: Yet another spambot...
Replies: 22
Views: 23735

More spam:

ijkl884
davidmncc

It looks like nml375 is busy dealing with davidmncc - I've deleted all posts by ijkl884 (if you edit their posts, make sure you remove/rewrite all urls so they don't get the google juice they're here for)
by user
Mon Aug 04, 2008 3:45 am
Forum: Script Requests
Topic: restart every day
Replies: 6
Views: 4418

Code: Select all

bind time - "00 00*" {restart;#}
by user
Thu Jul 31, 2008 10:18 am
Forum: Scripting Help
Topic: i really need ur help... tcl list
Replies: 8
Views: 6061

Re: i want to display both of list

Sorry for the delay... we had a power failure at work.

Code: Select all

foreach sublist $listOfLists {
	# do something to $sublist
}
...and you probably want to replace 'puts' with 'putlog' if you're running this script in an eggdrop. :wink:
by user
Thu Jul 31, 2008 5:48 am
Forum: Scripting Help
Topic: i really need ur help... tcl list
Replies: 8
Views: 6061

There's no need to double-post.
'return' returns (the lines below are never executed) ...also, your code doesn't make much sense to me. It would be easier to help you if you explain exactly what you are trying to do.