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

by heartbroken
Sun May 05, 2019 3:46 pm
Forum: Script Requests
Topic: count total score of duplicate characters in nick
Replies: 8
Views: 6415

Code: Select all

if {[set dup [regexp -all {(.)\1} $nick]] >= 3} { putkick $chan $nick "counts $dup duplicate characters" }
by heartbroken
Sun Mar 03, 2019 10:37 pm
Forum: Script Requests
Topic: get info of user on connect with bind raw notice
Replies: 17
Views: 13282

Image

it works on tclsh and should work with eggdrop too.
if you don't want to see {} around "clients" : [regsub -all {\{|\}} $client {}]
by heartbroken
Sun Mar 03, 2019 9:57 pm
Forum: Script Requests
Topic: get info of user on connect with bind raw notice
Replies: 17
Views: 13282

my bad! code edited.
by heartbroken
Sun Mar 03, 2019 8:58 pm
Forum: Script Requests
Topic: get info of user on connect with bind raw notice
Replies: 17
Views: 13282

bind raw - NOTICE serv:connectnick proc serv:connectnick {from key text} { if {[string match *!*@* $from] || ![string match -nocase "*Client connecting*" $text]} { return } if {[scan [lindex [split $text :] 1] {%[^(](%[^@]@%[^)]) [%[^]]]%[^[][%[^]]} Nick ident host IP client ssl] == 6} { ...
by heartbroken
Sat Mar 02, 2019 9:56 pm
Forum: Script Requests
Topic: get info of user on connect with bind raw notice
Replies: 17
Views: 13282

bind raw - NOTICE serv:connectnick proc serv:connectnick {from key text} { if {[string match *!*@* $from] || ![string match -nocase "*Client connecting*" $text]} { return } if {[scan [lindex [split $text :] 2] {%[^(](%[^@]@%[^)]) [%[^]]} Nick ident host IP] == 4} { puthelp "PRIVMSG #...
by heartbroken
Tue Jan 22, 2019 12:16 pm
Forum: Scripting Help
Topic: Spliting text in two lines
Replies: 9
Views: 9457

tcllib/textutil could be an alternative: https://core.tcl.tk/tcllib/doc/trunk/em ... split.html
by heartbroken
Wed Nov 21, 2018 8:05 am
Forum: Script Requests
Topic: Do anyone has the working !fml tcl for the eggdrop?
Replies: 14
Views: 11860

I've edited the script above. You're welcome!
by heartbroken
Tue Nov 20, 2018 7:37 am
Forum: Script Requests
Topic: Do anyone has the working !fml tcl for the eggdrop?
Replies: 14
Views: 11860

.chanset #channel +FML TclTLS : https://core.tcl.tk/tcltls/wiki/Download (tls package) tcllib : https://github.com/tcltk/tcllib (htmlparse package) package require http package require tls package require htmlparse proc do_fml {} { if {[package vcompare [package present tls] 1.7] > 0} { ::http::regi...
by heartbroken
Tue Mar 28, 2017 1:31 pm
Forum: Script Support & Releases
Topic: Pandorabot.tcl
Replies: 71
Views: 81719

I am not regularly using any AI scripts. I am only testing when needed to see whats wrong . and i still didn't get any error from this while my tests. I assume, your bot/shell sometimes having an issue to resolve dns address of this pandorabots link. Anyway I've just changed the script little bit an...
by heartbroken
Fri Mar 24, 2017 2:58 am
Forum: Script Support & Releases
Topic: Pandorabot.tcl
Replies: 71
Views: 81719

Script sending your messages as a -query to the pandorabots site and pandorabots doesn't recognize the bot name if the comparison is fail cause they looking for -exact match. Go to proc talkto : regsub -all -- $::pandoraNick [fix_chars $text] {} TxT and change this line to: regsub -all -nocase $::pa...
by heartbroken
Sun Mar 19, 2017 10:30 pm
Forum: Script Support & Releases
Topic: Pandorabot.tcl
Replies: 71
Views: 81719

You can add an asterisk { * } right'n side of $::pandoraNick variable in both [expr [lsearch .. lines. :
${::pandoraNick}* or $::pandoraNick* works.
by heartbroken
Sun Mar 19, 2017 3:57 am
Forum: Script Support & Releases
Topic: Pandorabot.tcl
Replies: 71
Views: 81719

Settore : Do you have another old http.tcl sourced in your bot .conf ? http::config has -urlencoding -option since http 2.5 and Tcl 8.6 has http 2.8.5 <-> 2.8.10 is the newest one. http package already included in Tcl. there is no need to source it elsewhere. and Your Tcl 8.6 / http version 'should'...
by heartbroken
Sat Mar 18, 2017 3:09 am
Forum: Script Support & Releases
Topic: Pandorabot.tcl
Replies: 71
Views: 81719

Koach : #Bot's Nickname to Respond to: ex. MyBot - Usage: MyBot, what's 1+1? set pandoraNick "MyBot" #Your Pandora Bot ID. (Feel free to use the existing one if you want, but the bot will think its name is AlphaBot set botid "a5cd504e4e342614" # enable chat in bot pm : 1 ,disable...
by heartbroken
Thu Mar 16, 2017 9:04 pm
Forum: Script Support & Releases
Topic: Pandorabot.tcl
Replies: 71
Views: 81719

This 'Bogus URL..' comes from egghttp.tcl / proc egghttp:geturl : if {![regexp -nocase {^(http://)?([^:/]+)(:([0-9]+))?(/.*)?$} $url x protocol server y port path]} { This Regex only works for http URLs , if you Replace it to : if {![regexp -nocase {^(http(s|)://)?([^:/]+)(:([0-9]+))?(/.*)?$} $url x...
by heartbroken
Thu Mar 16, 2017 10:41 am
Forum: Script Support & Releases
Topic: Pandorabot.tcl
Replies: 71
Views: 81719

Well , nothings wrong from pandorabots side. You can make your own tests with a simple snippet like this: # what you wanna say ? set saysmth "Do You Love me ?" package require http package require tls tls::init -ssl3 0 -ssl2 0 -tls1 1 http::register https 443 [list ::tls::socket -require 0...