egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How To Use?

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
acrodave
Voice


Joined: 22 Sep 2008
Posts: 6
Location: Seattle, eh?

PostPosted: Tue Sep 23, 2008 3:11 am    Post subject: How To Use? Reply with quote

I'm an old noob, and learning new things is difficult. This is new. I installed Eggdrop 1.6.19 using a script supplied by my ISP (sh3lls). They supplied a simplified .conf file which I edited for my installation. Eggdrop works. I can access it over Telnet. I added my channel, and MyBot joins just fine. It's the op.

My question is how do I access Eggdrop from IRC? I tried '/msg MyBot help' and get nothing. Should that work? I see the 'help' message on the partyline and in the log. Is it possibly a config problem? I compared my simplified config file with eggdrop.conf that came with the package, but I can't see any problems.

Part 2: I installed the 8ball script from the Archives. It shows up after a rehash. How do I get the script to talk to me in IRC? Nothing I've tried works.

I've spent a few days searching and reading this Forum. It's been interesting, and I've learned a few things, but I 'm still basically lost. Any help would be greatly appreciated. Thanks!
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Tue Sep 23, 2008 12:08 pm    Post subject: Re: How To Use? Reply with quote

acrodave wrote:
I'm an old noob, and learning new things is difficult. This is new. I installed Eggdrop 1.6.19 using a script supplied by my ISP (sh3lls). They supplied a simplified .conf file which I edited for my installation. Eggdrop works. I can access it over Telnet. I added my channel, and MyBot joins just fine. It's the op.

My question is how do I access Eggdrop from IRC? I tried '/msg MyBot help' and get nothing. Should that work? I see the 'help' message on the partyline and in the log. Is it possibly a config problem? I compared my simplified config file with eggdrop.conf that came with the package, but I can't see any problems.

Part 2: I installed the 8ball script from the Archives. It shows up after a rehash. How do I get the script to talk to me in IRC? Nothing I've tried works.

I've spent a few days searching and reading this Forum. It's been interesting, and I've learned a few things, but I 'm still basically lost. Any help would be greatly appreciated. Thanks!


Part1:
Could you verify, using the .channel command, that your eggdrop recognizes you on the channel? (.channel lists what your eggdrop "sees" in the channel, and also shows who he thinks everybody is, shown under the column "handle").

Part2:
Have you configured the channel +8ball?
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Hormel Sausage
Voice


Joined: 22 Sep 2008
Posts: 6

PostPosted: Tue Sep 23, 2008 2:35 pm    Post subject: Reply with quote

Howdy! I'll give you a few commands for you to use.

While in the channel and using the nickname the bot knows you by, type within the bot: '.adduser yournickname' and it should add your user@host to the bot.

If you want to see what the command triggers are for the tcl scripts you have loaded, in the bot type ".binds pub" or ".binds" for all commands.

Make sure you are '.chattr yournickname +N' for owner. The bot may not see your commands if you have no flags attributed to your user. (Type .help whois in the bot to see what each flag does)

Typing within the bot: '.chaninfo #channel' will tell you what your individual settings are for the channel you specify. To change a setting; '.chanset #channel +/-setting'

Try these commands in the bot:

.uptime
.msg yournick hello!
.say hello, channel!
.stat
.status all
.who
.whoami
Back to top
View user's profile Send private message
acrodave
Voice


Joined: 22 Sep 2008
Posts: 6
Location: Seattle, eh?

PostPosted: Wed Sep 24, 2008 2:13 am    Post subject: Re: How To Use? Reply with quote

Quote:
Part1:
Could you verify, using the .channel command, that your eggdrop recognizes you on the channel? (.channel lists what your eggdrop "sees" in the channel, and also shows who he thinks everybody is, shown under the column "handle").


This command shows everybody. The handle column has an asterisk for each user.

Quote:
Part2:
Have you configured the channel +8ball?


I don't understand what this means. Sorry. I'm really stupid on this stuff.
Back to top
View user's profile Send private message
acrodave
Voice


Joined: 22 Sep 2008
Posts: 6
Location: Seattle, eh?

PostPosted: Wed Sep 24, 2008 2:44 am    Post subject: Reply with quote

Hormel Sausage wrote:
Howdy! I'll give you a few commands for you to use.

While in the channel and using the nickname the bot knows you by, type within the bot: '.adduser yournickname' and it should add your user@host to the bot.

If you want to see what the command triggers are for the tcl scripts you have loaded, in the bot type ".binds pub" or ".binds" for all commands.

Make sure you are '.chattr yournickname +N' for owner. The bot may not see your commands if you have no flags attributed to your user. (Type .help whois in the bot to see what each flag does)

Typing within the bot: '.chaninfo #channel' will tell you what your individual settings are for the channel you specify. To change a setting; '.chanset #channel +/-setting'

Try these commands in the bot:

.uptime
.msg yournick hello!
.say hello, channel!
.stat
.status all
.who
.whoami


Thanks for all the commands! I haven't tried them all yet, but I will. There's been little time today for anything.

The 'adduser' and 'chattr +N' commands did the trick. The bot now responds to '/msg MyBot help' as expected.

Still no luck with the script tho. The '.binds pub' command says '?8ball'. I had found this in the TCL code the other day and tried it. The 'Hits' column of the '.binds pub' response shows that the trigger is being recognized. So, maybe it's the script's response that isn't getting thru? The script seems to use 'putserv "privmsg $channel :Answer: yes!"' for replies. Could a private message (?) be blocked by a channel setting? I'll work on it. Thanks for your help!
Back to top
View user's profile Send private message
Hormel Sausage
Voice


Joined: 22 Sep 2008
Posts: 6

PostPosted: Wed Sep 24, 2008 3:21 am    Post subject: Reply with quote

Like nml375 suggested, you need to set the channel config +8ball.

Type in the bot: ".chanset #yourchannel +8ball"

That should getcha off and running. Smile
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Wed Sep 24, 2008 12:19 pm    Post subject: Re: How To Use? Reply with quote

acrodave wrote:
Quote:
Part1:
Could you verify, using the .channel command, that your eggdrop recognizes you on the channel? (.channel lists what your eggdrop "sees" in the channel, and also shows who he thinks everybody is, shown under the column "handle").


This command shows everybody. The handle column has an asterisk for each user.

An asterisk means your bot does not recognizes you. Thus you need to add proper "hostmasks" to your handle (useraccount), so that your bot may know how to identify you. Use the .addhost or .+host for this, see .help addhost and .help +host for detailed info.

I see however, that you added a new user using the .adduser command, which also works, although you end up with two useraccounts, rather than one single. Be advised that the owner-flag (that grants you "all" permissions) is "n", and not "N" (capitalization counts).
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
acrodave
Voice


Joined: 22 Sep 2008
Posts: 6
Location: Seattle, eh?

PostPosted: Wed Sep 24, 2008 4:40 pm    Post subject: Reply with quote

Hormel Sausage wrote:
Like nml375 suggested, you need to set the channel config +8ball.

Type in the bot: ".chanset #yourchannel +8ball"

That should getcha off and running. Smile


Funny thing, I woke up in the middle of the night suddenly thinking that's what nml375 meant in his post. D'oh! Thanks! Sadly, it still doesn't seem to work.
Back to top
View user's profile Send private message
acrodave
Voice


Joined: 22 Sep 2008
Posts: 6
Location: Seattle, eh?

PostPosted: Wed Sep 24, 2008 4:52 pm    Post subject: Re: How To Use? Reply with quote

nml375 wrote:

An asterisk means your bot does not recognizes you. Thus you need to add proper "hostmasks" to your handle (useraccount), so that your bot may know how to identify you. Use the .addhost or .+host for this, see .help addhost and .help +host for detailed info.

I see however, that you added a new user using the .adduser command, which also works, although you end up with two useraccounts, rather than one single. Be advised that the owner-flag (that grants you "all" permissions) is "n", and not "N" (capitalization counts).


I've read about hostmasks before and was thoroughly confused. I'll check it out again. Thanks!

Ach! I don't remember if I used 'n' or 'N' now. Another age-related failing: no short-term memory. I did .channel again and see MyUser has his Handle now. Thanks!
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Wed Sep 24, 2008 5:37 pm    Post subject: Reply with quote

Very simply put, a hostmask is a mask that should cover your nick!ident@host identity on irc.

Say I'd have NML_375!nml@somehost.com as my irc identity, I could use a hostmask such as "*!nml@somehost.com", "NML_375!nml@*.com", or similar. * will match 0 or more characters, and acts as wildcards. This allows me to have some flexibility when creating hostmasks, ie to allow me to use different nicknames, connect from multiple computers/locations, and so on.


Checking further into the code of that script, it seems you also need to set the 8ball-lang channelsetting to either "english" or "german". Use the .chanset command for this aswell (.chanset #yourchan 8ball-lang english)
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
acrodave
Voice


Joined: 22 Sep 2008
Posts: 6
Location: Seattle, eh?

PostPosted: Thu Sep 25, 2008 2:16 am    Post subject: Reply with quote

Thanks for the explanation of the hostmask. I think I'm OK for now, but I will fiddle with it a bit later. I have much to learn.

Setting the language worked! I had seen that in the TCL but didn't understand. I think I see how it works now. The script has access to the channel variables directly. Everything is working. Thanks very much!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber