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 Dec 26, 2008 6:54 pm
Forum: Script Requests
Topic: how set trigger
Replies: 15
Views: 12207

Try the edited version.
by user
Wed Dec 24, 2008 7:14 pm
Forum: Script Requests
Topic: how set trigger
Replies: 15
Views: 12207

Do you mean when a url is changed?
Do you want this message displayed in all channels that are +fta?
by user
Tue Dec 23, 2008 6:18 pm
Forum: Script Requests
Topic: how set trigger
Replies: 15
Views: 12207

Code: Select all

/msg <bot> .ftaurl <trigger> <url>
The trigger must exist, the url must start with http:// or https:// and the bot must know you as its owner.
by user
Tue Dec 23, 2008 8:21 am
Forum: Tcl FAQ
Topic: Bans
Replies: 7
Views: 38489

Hi, I'd like to use this script My script is for creating ban masks, not matching bans (take a look at the first post in this thread if you want to know more about matching) To get your bot to kick people based on bans, all you have to do is '.chanset #chan +enforcebans'. If you don't want enforceb...
by user
Tue Dec 23, 2008 6:14 am
Forum: Script Requests
Topic: how set trigger
Replies: 15
Views: 12207

I changed your script a bit (Not tested): # setudef creates a new channel setting... # use ".chanset #chan +fta" to enable the script in your channel(s) setudef flag fta # an array for info commands (fill inn the rest of triggers and texts 1-8 here) set ftac(.triggers) "\002\00306 STB...
by user
Wed Dec 17, 2008 9:35 am
Forum: Script Requests
Topic: sign in time missing in whois script
Replies: 2
Views: 2754

Code: Select all

set zeitdiff [unixtime] - $signon
should be

Code: Select all

set zeitdiff [expr {[unixtime]-$signon}]
by user
Thu Dec 11, 2008 2:13 pm
Forum: Scripting Help
Topic: Problem with special characters ² ³ and °
Replies: 20
Views: 10857

tomcat wrote:how to use the -encoding option ?
source -encoding <encoding used in your script> script.tcl
by user
Thu Dec 11, 2008 10:34 am
Forum: Scripting Help
Topic: Okay a few questions please...
Replies: 2
Views: 1711

Use the dcc command '.chanset' to change channel settings. If you do it using a script, the settings will be overwritten by what is saved in your .chan file. (or, if you insist on doing it like that, kill the bot, delete the chan file and start it back up when ever you make changes :P)
by user
Thu Dec 11, 2008 10:26 am
Forum: Scripting Help
Topic: Problem with special characters ² ³ and °
Replies: 20
Views: 10857

Make sure your script has the right encoding (check '.tcl encoding system'), or, if you're using Tcl >= 8.5, use the -encoding option when loading the script. regsub -all -- \\\³ $data \\\³ data does not work :( Are you sure? :lol: It probably works, but you're replacing "\³" with "\³...
by user
Wed Dec 10, 2008 4:53 am
Forum: Scripting Help
Topic: [SOLVED] Script allows Bot to Kick and Ban Itself: Help!
Replies: 4
Views: 2293

I guess the problem is case sensitive nick matching. Change {$text != $botnick} to {![isbotnick $text]}
by user
Tue Dec 09, 2008 5:39 am
Forum: Scripting Help
Topic: [SOLVED] Replacing/Ignoring bad characters in code
Replies: 8
Views: 3631

What "bad" characters? Are you sure you want to ignore them? Here's a line that will get rid of alot of characters: regsub -all \\W+ $string "" string ...but I'm not sure this is what you really need :wink: (your wording makes me think you might be having problems related to trea...
by user
Wed Dec 03, 2008 8:57 am
Forum: Scripting Help
Topic: Insulter.tcl
Replies: 3
Views: 2640

Re: Insulter.tcl

This should prevent insulting of people not on the channel, the bot and any owner (not tested): proc insulta {nick uhost hand chan arg} { if {[isop $nick $chan]} { if {[scan $arg %s lamer]==1} { if {![onchan $lamer $chan]} { # $lamer is not on $chan... puthelp "PRIVMSG $chan :\"$lamer\&quo...
by user
Tue Nov 25, 2008 5:54 am
Forum: Scripting Help
Topic: [Help] setting need-invite/key/op/unban in every channel
Replies: 4
Views: 3270

Your split+join is pointless. My first reply was correct.
by user
Fri Nov 21, 2008 10:41 am
Forum: Scripting Help
Topic: [Help] setting need-invite/key/op/unban in every channel
Replies: 4
Views: 3270

Code: Select all

channel set $channel need-invite [list putserv "PRIVMSG Q :invite $channel"]
by user
Fri Nov 14, 2008 10:05 am
Forum: Script Requests
Topic: Messages on select channels.
Replies: 3
Views: 2229

xamrex wrote:Bot will write this msg every 20 mins??
No... because the bind will only trigger the proc every hour (when the minutes are "00"). You need to change the bind mask to * (every minute) or ?0* (every 10 minutes)