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

by l.kleijn
Fri Jun 10, 2022 10:36 am
Forum: Scripting Help
Topic: whois from mirc into eggdrop
Replies: 3
Views: 2064

I want a whois same as mIRC but then on an eggdrop.
by l.kleijn
Fri Jun 10, 2022 8:23 am
Forum: Scripting Help
Topic: whois from mirc into eggdrop
Replies: 3
Views: 2064

whois from mirc into eggdrop

proc pub:whois {nick host hand chan arg} { global botnick opchan set unick [lindex $arg 0] whois1 from keyword } bind raw - 319 server:whois1 proc whois1 {from keyword arg} { global botnick opchan putserv "PRIVMSG $opchan :\002WHOIS\002: $arg" } How can i fix this after i do .whois Leon t...
by l.kleijn
Sat May 28, 2022 3:20 am
Forum: Scripting Help
Topic: question
Replies: 1
Views: 1517

question

Hi i have a little script and need some help with it. proc pub:global {nick host hand chan arg} { global botnick opchan if {[matchattr $hand G] == 1} { if {$chan == "#IRCop"} { return 0 } foreach chan [channels] { putserv "PRIVMSG $chan :\002AANKONDIGING:\002 $nick: $arg" } retur...
by l.kleijn
Fri May 07, 2021 6:50 am
Forum: Scripting Help
Topic: Bots script
Replies: 3
Views: 2635

Bots script

I'm searching for a script that when i type '/msg botnick bots'

That i get a list with all linked bots.
Can someone help me with this ?
by l.kleijn
Tue Sep 01, 2020 5:32 am
Forum: Scripting Help
Topic: rehash script
Replies: 2
Views: 3049

Thanks it's working
by l.kleijn
Tue Sep 01, 2020 2:40 am
Forum: Scripting Help
Topic: rehash script
Replies: 2
Views: 3049

rehash script

proc pub:rehash {nick host hand chan arg} { global botnick if {[channel get $chan cmd]} { if {[matchattr $hand n] == 0} { putserv "NOTICE $nick :You don't have access." return 0 } putserv "NOTICE $nick :Rehash." rehash channel set $chan -cmd timer 1 channel set $chan +cmd } } I ...
by l.kleijn
Mon Aug 17, 2020 11:39 am
Forum: Scripting Help
Topic: Help with script
Replies: 4
Views: 3644

Now i have something else

I have a file called money.txt and there is a line called Fujin|50 and i want to remove that line with a tcl script. How do i do this ?
by l.kleijn
Mon Aug 17, 2020 11:38 am
Forum: Scripting Help
Topic: Help with script
Replies: 4
Views: 3644

Now it's working thanks
by l.kleijn
Mon Aug 17, 2020 8:39 am
Forum: Scripting Help
Topic: Help with script
Replies: 4
Views: 3644

Help with script

bind pub - !money pub:money proc pub:money {nick host hand chan arg} { global botnick set searchstring $arg set fname "money.txt" set fp [open $fname "r"] set data [read -nonewline $fp] close $fp set lines [split $data "\n"] set searchresult "" foreach line $...
by l.kleijn
Sat May 23, 2020 1:53 am
Forum: Scripting Help
Topic: On startup
Replies: 3
Views: 3763

When the bot starts so it can connect to a znc
by l.kleijn
Fri May 22, 2020 5:38 pm
Forum: Scripting Help
Topic: On startup
Replies: 3
Views: 3763

On startup

Hi,

i want a timer on a script that the eggdrop connect to a znc.
example: bind cron - */1 znc:do

proc znc:do {} {
putserv "QUOTE pass /User/passwd"
}
But this is not working.

The error i get: Tcl error [znc:do]: wrong # args: should be "znc:do"

Anyone ?
by l.kleijn
Sun Apr 14, 2019 2:28 am
Forum: Scripting Help
Topic: Delete a line
Replies: 6
Views: 6220

I know what the problem was. i forgot the msg to bot. but it's working
by l.kleijn
Sat Apr 13, 2019 12:38 pm
Forum: Scripting Help
Topic: Delete a line
Replies: 6
Views: 6220

But even with the quote of the original post, change the file you sayd, it don't work
by l.kleijn
Sat Apr 13, 2019 11:29 am
Forum: Scripting Help
Topic: Delete a line
Replies: 6
Views: 6220

proc msg:calculate {nick host hand arg} { global botnick opchan set fname "remember.txt" set fp [open $fname "r"] set data [read -nonewline $fp] close $fp set lines [split $data "\n"] set linetodelete [expr {[llength $lines] -1}] set fp [open $fname "w"] puts...
by l.kleijn
Sat Apr 13, 2019 4:25 am
Forum: Scripting Help
Topic: Delete a line
Replies: 6
Views: 6220

Delete a line

proc msg:calculate {nick host hand arg} { global botnick opchan set fname "remember.txt" set fp [open $fname "r"] set data [read -nonewline $fp] close $fp set lines [split $data "\n"] set linetodelete 0 set lines [lreplace $lines $linetodelete $linetodelete] set fp [op...