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

by daigo
Wed Jun 01, 2016 4:18 pm
Forum: Eggdrop Help
Topic: How do I rehash eggdrop from the console?
Replies: 4
Views: 10713

@nml375 : Ah yes, this was the issue. Thanks.

@willyw : Unfortunately this command doesn't return any response on irssi.
by daigo
Sun May 29, 2016 11:20 pm
Forum: Eggdrop Help
Topic: How do I rehash eggdrop from the console?
Replies: 4
Views: 10713

How do I rehash eggdrop from the console?

When I start eggdrop and then type in .rehash into the console I started eggdrop from, it gives me the error: What? You need '.help' I am assuming I can only enter party line commands into this console, but is there no other way to access this command in the party line? (The IRC server I am on has d...
by daigo
Tue Jul 29, 2014 11:09 am
Forum: Scripting Help
Topic: Can I use the same variable name for different scripts?
Replies: 6
Views: 6129

My guess is that the difference is that in the second the respond proc is inside the MyScript namespace. Both of them are inside the MyScript namespace (I'm looking at another script that uses the double colons before the MyScript bind). What's interesting is, this script I'm looking at uses global...
by daigo
Tue Jul 29, 2014 10:29 am
Forum: Scripting Help
Topic: Can I use the same variable name for different scripts?
Replies: 6
Views: 6129

willyw wrote:You might like to read:

http://forum.egghelp.org/viewtopic.php?t=12900
The article says to use

Code: Select all

bind pub - "hi" MyScript::respond 
in their example. What is the difference between using this and

Code: Select all

bind pub - "hi" ::MyScript::respond 
?
by daigo
Tue Jul 29, 2014 10:08 am
Forum: Eggdrop Help
Topic: How to make special characters (foreign) appear properly?
Replies: 3
Views: 7289

I thought this is an issue with character sets in eggdrop, not a scripting issue. I already tried string map and there's no manual page for TCL regsubex
by daigo
Tue Jul 29, 2014 12:52 am
Forum: Scripting Help
Topic: setudef flag not working
Replies: 3
Views: 5235

Is it better to use:

Code: Select all

if {[channel get $chan that-flag]} {
...
or

Code: Select all

if {![channel get $chan that-flag]} { return }
if ...
...
?
by daigo
Mon Jul 28, 2014 11:55 pm
Forum: Scripting Help
Topic: setudef flag not working
Replies: 3
Views: 5235

setudef flag not working

setudef flag relay set spy(home) "#daigo" set spy(chan) "#helpops" bind PUBM -|- * spychan:chat bind CTCP -|- "ACTION" spychan:action bind SIGN -|- "$spy(chan) *" spychan:sign bind JOIN -|- "$spy(chan) *" spychan:join bind PART -|- "$spy(chan) ...
by daigo
Mon Jul 28, 2014 8:40 pm
Forum: Scripting Help
Topic: Can I use the same variable name for different scripts?
Replies: 6
Views: 6129

Can I use the same variable name for different scripts?

I am running all scripts on one eggdrop bot. Is it okay for me to use the same variable name if they are in different scripts? For instance, if I have this line in one script: set txt [string tolower $txt] Can I use the same line of code in another script? Or do I have to change txt to something else?
by daigo
Mon Jul 28, 2014 6:52 pm
Forum: Eggdrop Help
Topic: How to make special characters (foreign) appear properly?
Replies: 3
Views: 7289

How to make special characters (foreign) appear properly?

I am writing a script that includes responding with characters like: (╯°□°)╯︵ ┻━┻ But these characters are not displaying properly from eggdrop, even though my IRC client can copy/paste and also view them from other users that have said it in the channel. Also, it is not reading the characters prope...
by daigo
Sun Jul 27, 2014 11:06 am
Forum: Eggdrop Help
Topic: How to use TLS package with Windrop?
Replies: 1
Views: 10401

How to use TLS package with Windrop?

I installed Windrop 1.8 using the .exe I downloaded from the Windrop site. The script I want to use has "package require tls" so I downloaded "tls1.6-win64.zip" from: http://sourceforge.net/projects/tls/files/tls/1.6/ In my eggdrop.conf, I loaded tls.tcl successfully, but the scr...
by daigo
Sun Jul 27, 2014 11:01 am
Forum: Scripting Help
Topic: How to enclose "or" conditions into one condition?
Replies: 5
Views: 5977

Oh, this works..I thought I tried this already, but I must've made a typo somewhere.
by daigo
Sun Jul 27, 2014 9:46 am
Forum: Script Support & Releases
Topic: Birdy (OAuth, Twitter, Tweets&MegaHAL v6.01d) Jun12,2013
Replies: 305
Views: 432337

Also getting this error: 09:44:05 <@daigo> !tweet test 09:44:07 < daigobot> You are not able to tweet in #daigo. You must have (n|n flags), or be (op voice) in #daigo. Both of which you aren't. :P Here is my script setting: set twitter(flags) "n|n" And my eggdrop flags: [09:44:54] #daigo# ...
by daigo
Sun Jul 27, 2014 9:24 am
Forum: Script Support & Releases
Topic: Birdy (OAuth, Twitter, Tweets&MegaHAL v6.01d) Jun12,2013
Replies: 305
Views: 432337

I get this error:

Code: Select all

[09:22:15] [@] daigo!daigo@irc.daigo.com PRIVMSG #daigo :!tweet test
[09:22:15] Tcl error [proc:tweet]: invalid command name "is"
by daigo
Sun Jul 27, 2014 6:51 am
Forum: Scripting Help
Topic: How to enclose "or" conditions into one condition?
Replies: 5
Views: 5977

How to enclose "or" conditions into one condition?

This is the line I'm having trouble with: if {[string match -nocase "abc" $txt] || [string match -nocase "def" $txt] || [string match -nocase "ghi" $txt] || [string match -nocase "jkl" $txt] && $nick eq "daigo"} Whenever someone says "ab...
by daigo
Sat Jul 26, 2014 6:35 pm
Forum: Scripting Help
Topic: When do I put "return 0"?
Replies: 2
Views: 4407

When do I put "return 0"?

For example: proc give {nick host hand chan arg} { global givechan if {$chan eq $::givechan} { puthelp "PRIVMSG $givechan :Here is $arg for you" } return 0 } VS. proc give {nick host hand chan arg} { global givechan if {$chan eq $::givechan} { puthelp "PRIVMSG $givechan :Here is $arg ...