Search found 32 matches

by MIODude
Mon Nov 01, 2010 7:41 am
Forum: Eggdrop Help
Topic: /CTCP Not Using IRC Vhost, using real Hostmask instead?
Replies: 2
Views: 4821

Thanks for the info pseudo (was this in a doc somewhere? I couldn't find it).

So.. i must have had telnet protect setting different and it changed after upgraded to 1.6.20 then I guess.
by MIODude
Sat Oct 30, 2010 1:21 pm
Forum: Eggdrop Help
Topic: /CTCP Not Using IRC Vhost, using real Hostmask instead?
Replies: 2
Views: 4821

/CTCP Not Using IRC Vhost, using real Hostmask instead?

This is new in 1.6.20... as I never had this issue in 1.6.19 When attempting a dcc chat to the bot, it looks for a matching hostmask, which is the VHOST that the IRC servers have (you know..the vanity names).. but when someone does a /ctcp, it doesn't use the vhost, it uses the true hostmask.. this ...
by MIODude
Mon Oct 04, 2010 8:59 pm
Forum: Scripting Help
Topic: ansa.tcl does not work properly
Replies: 3
Views: 7309

Sorry to resurrect an old thread - but I'm getting the exact same error.. but, i'm not using putdccraw! I'm using putnow I tried his code below exactly as is, and I still get the same error.. I recently just updated the bot from 1.6.9 to 1.6.20. Is there something else that would generate this error...
by MIODude
Fri Sep 10, 2010 12:33 pm
Forum: Script Requests
Topic: [Solved] Run Command Once an Hour Only
Replies: 6
Views: 4605

Not sure if this is the reason, but you have mixed up your throttled and throttled2 variables.. in proc throttled they should all just be throttled, not throttled2 proc throttled {id time} { global throttled if {[info exists throttled($id)]} { set left 0 foreach t [utimers] { if {[string equal $thro...
by MIODude
Sat Jul 31, 2010 9:22 pm
Forum: Eggdrop Help
Topic: Port From Site to Eggdrop?
Replies: 2
Views: 3307

You should create a separate script for that function, and you want to specify the listen port in that script listen xxxx script botlisten set password "password" proc botlisten {idx} { control $idx botlisten2 } proc botlisten2 {idx args} { set args [string map { "\\" ""...
by MIODude
Mon Jun 07, 2010 8:39 am
Forum: Scripting Help
Topic: IRC Online Script
Replies: 5
Views: 4738

no need to quote that much! Thanks! I was getting this error though on the loading of the script invalid command name "UPDATE CC_users SET onirc = 'no' WHERE ircname = 'ToonHead'" while executing ""UPDATE CC_users SET onirc = 'no' WHERE ircname = '$nick'" \ " invoked f...
by MIODude
Sat Jun 05, 2010 6:14 pm
Forum: Scripting Help
Topic: IRC Online Script
Replies: 5
Views: 4738

doh!

thanks.. getting a new error now, but I will continue to trouble shoot.. at least this error I can work with!!
by MIODude
Sat Jun 05, 2010 5:16 pm
Forum: Scripting Help
Topic: IRC Online Script
Replies: 5
Views: 4738

IRC Online Script

This is similar to irc idle script., but we've modified it so that when people use alternate nicks in IRC, it works to show people 'online' on a website. so.. we got the join, sign and part procedures changed without a problem, but the nick change we're struggling. Essentially.. if a person is using...
by MIODude
Thu Jun 03, 2010 8:06 am
Forum: Scripting Help
Topic: Modifying !topidle to remove bots
Replies: 5
Views: 3658

I didn't really need it to be channel specific, so I left it, and I kept it as b, since that is the bot flag (made sense to me!).. but i can't add that flag to the bots.. it just doesn't stay.. it says its being added, but when i check the flags later, there is no b edit: Ok - I found another post w...
by MIODude
Wed Jun 02, 2010 8:21 am
Forum: Scripting Help
Topic: Modifying !topidle to remove bots
Replies: 5
Views: 3658

hmm.. i thought i had this working, but it was actually the restart of the bot that reset the counters.. I can't set the +b for some reason? I do the .chattr nick +b and it then lists the global flags, and +b isn't there? I thought maybe it was a channel specific flag, so tried .chattr nick +b #chan...
by MIODude
Mon May 31, 2010 7:59 am
Forum: Scripting Help
Topic: Modifying !topidle to remove bots
Replies: 5
Views: 3658

Thank you!
by MIODude
Sun May 30, 2010 11:34 pm
Forum: Scripting Help
Topic: Modifying !topidle to remove bots
Replies: 5
Views: 3658

Modifying !topidle to remove bots

The code below pulls the top 3 idlers in a channel. We have several eggdrop bots in there, so we don't want to include those - whats the best way to create a list of exclusions? Is there a way as its populating the variable rankings that if it matches a nick it does get added? Thanks in Advance! #--...
by MIODude
Fri Feb 26, 2010 5:56 pm
Forum: Scripting Help
Topic: [SOLVED] expr / rand / int help
Replies: 3
Views: 2688

Thanks :)

I used this one
set variable [expr [rand $maxpoint] / 100.0]

i must have made a mistake when i tried without the int before.. as i was getting some pretty weird numbers


edit: and thanks for clarifying about the {}... i've always been confused on which brackets to use for which things..
by MIODude
Fri Feb 26, 2010 11:39 am
Forum: Scripting Help
Topic: [SOLVED] expr / rand / int help
Replies: 3
Views: 2688

[SOLVED] expr / rand / int help

Hi Again! I keep trying variations of this.. but can't quite get it set maxpoint 6000 set variable [expr {int([rand $maxpoint] * .001)}] I want the possible values to be 0-6 with 2 decimal places (ie.. 5.23, 4.75, etc) the current way i have it, it spits out only whole numbers (I'm assuming because ...
by MIODude
Thu Feb 25, 2010 1:22 pm
Forum: Scripting Help
Topic: [SOLVED] File I/O Functions - appending scores
Replies: 5
Views: 3836

Thank you very much for explaining how it all works and even putting it together for me! Its working great