| View previous topic :: View next topic |
| Author |
Message |
Draknon Voice
Joined: 01 Apr 2018 Posts: 30
|
Posted: Sat Apr 07, 2018 5:21 am Post subject: Did I do this wrong? |
|
|
I wrote this and thought it would work...
| Code: | bind join - "{vivi}D!*@*" vi_join
proc vi_join {nick uhost handle chan text} {
putserv "privmsg $chan :\001ACTION watches as $nick enters and goes over and whispers in Draknon's ear... 5Sir, your baby girl is here. 3Welcome home pixie princess vivi."
} |
purpose= when the person with nick {vivi}D joins the channel it should do the action in the channel of ...
watches as $nick enters and goes over and whispers in Draknon's ear... 5Sir, your baby girl is here. 3Welcome home pixie princess vivi.
It is not working and I see no error msg. |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Sat Apr 07, 2018 12:14 pm Post subject: Re: Did I do this wrong? |
|
|
| Draknon wrote: |
...
It is not working and I see no error msg. |
Then something is wrong. Because you should see error messages.
Perhaps you don't have enough flags on your console.
Do: .console
To get it to show you your current console flags. Then do:
.help console
to get a list of available flags. Read about them, and add those to your console that you think would make it so that you can properly see what is going on.
You have the wrong number of parameters for the proc that is called by the bind join. That's an error.
Again, this should show up in the partyline.
But, (again) if you would use : http://paste.tclhelp.net/
it too would show them to you.
Lastly, (again) keep this:
http://docs.eggheads.org/mainDocs/tcl-commands.html
open in a tab. It clearly shows you the correct number of parameters for a bind join. All binds are there, and you need this document to know how to use them. _________________ For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia ! |
|
| Back to top |
|
 |
Draknon Voice
Joined: 01 Apr 2018 Posts: 30
|
Posted: Sun Apr 08, 2018 3:58 am Post subject: |
|
|
I really appreciate all the help.. I am just having a hard time understanding all of this.. I am one of those people that I need the line and what is does and an example of it being used and the explanation of why.
so again thank you and please be patient as I have a difficult time reading and learning the new language.
that is freakin awesome now that I understand how to use it. I don't understand everything yet, but it is very helpful. |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Sun Apr 08, 2018 9:12 am Post subject: |
|
|
| Draknon wrote: | I really appreciate all the help.. I am just having a hard time understanding all of this.. I am one of those people that I need the line and what is does and an example of it being used and the explanation of why.
|
Those things help everybody.
But also, it is good to know WHERE to look things up, and do so - often.
At least until you get used to that thing you are looking up every time.
Once you get it down pat, spend your time looking up something else.
Until you get it down pat.
And so on, and so on.....
| Quote: |
so again thank you and please be patient as I have a difficult time reading and learning the new language.
|
That's because it is unfamiliar to you.
I agree... it can be frustrating.
Just don't let the frustration get in the way, and stop you.
Because... it doesn't last long. If you practice, you get familiar, and poof! that frustration is gone.
| Quote: |
now that I understand how to use it.
|
Good ! If you've found a tool that helps.... go for it.
| Quote: |
I don't understand everything yet,
|
Who does?
| Quote: |
but it is very helpful.
|
Great. Forward, then. Write scripts. Little, simple, easy ones. Have fun. Crash your bot some. Learn how to interpret those crash messages.
It's called learning by practicing.
Have fun with your Eggdrop bot.  _________________ For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia ! |
|
| Back to top |
|
 |
Draknon Voice
Joined: 01 Apr 2018 Posts: 30
|
Posted: Mon Apr 09, 2018 1:58 am Post subject: |
|
|
| all good, thanks for the help |
|
| Back to top |
|
 |
|