| View previous topic :: View next topic |
| Author |
Message |
FuE- Halfop
Joined: 27 Nov 2004 Posts: 57
|
Posted: Sat Feb 26, 2005 8:20 pm Post subject: entertain.tcl |
|
|
i found entertain.tcl in egghelp's archive...
when i use bot call function, when i say my bots nick shall he respond with a lame comment...
but when i write Bot, hi
i can se in the party line
| Code: |
(01:17:25) (F) Tcl error [pub_izamu]: invalid command name "pub_izamu" |
This is the code
after all the lame comments
| Code: | proc pub_call {nick uhost handle chan args} {
global phrases botnick channel
set outputiz [lindex $phrases [rand [llength $phrases]]]
putserv "PRIVMSG $chan : $outputiz"
putlog "<<$nick>> !$handle! $botnick..."
}
bind pubm - "% $botnick*" pub_izamu |
|
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
|
| Back to top |
|
 |
FuE- Halfop
Joined: 27 Nov 2004 Posts: 57
|
|
| Back to top |
|
 |
^DooM^ Owner

Joined: 26 Aug 2003 Posts: 772 Location: IronForge
|
Posted: Sat Feb 26, 2005 9:51 pm Post subject: |
|
|
| Sir_Fz wrote: | | Is there a pub_izamu proc in the script ? |
no there isn't i downloaded that script years ago and it was broken back then. the script works after a fashion but that pub_izamu still haunts me today lol _________________ The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born |
|
| Back to top |
|
 |
FuE- Halfop
Joined: 27 Nov 2004 Posts: 57
|
Posted: Sat Feb 26, 2005 10:05 pm Post subject: |
|
|
| hehe okej then i leave it (= |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun Feb 27, 2005 8:31 am Post subject: |
|
|
Maybe there is another script that should be used with this script. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
FuE- Halfop
Joined: 27 Nov 2004 Posts: 57
|
Posted: Sun Feb 27, 2005 9:12 am Post subject: |
|
|
| well. if thats the case, what file, you just get entairn.tcl file with the rar file |
|
| Back to top |
|
 |
^DooM^ Owner

Joined: 26 Aug 2003 Posts: 772 Location: IronForge
|
Posted: Sun Feb 27, 2005 12:12 pm Post subject: |
|
|
| FuE- wrote: | | well. if thats the case, what file, you just get entairn.tcl file with the rar file |
I have never come across pub_izamu proc in any script in my time (not to say there isn't one) if by chance you do know of it please let me know just out of curiosity after all this time  _________________ The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born |
|
| Back to top |
|
 |
sparta Voice
Joined: 27 Feb 2005 Posts: 15
|
Posted: Sun Feb 27, 2005 12:48 pm Post subject: |
|
|
I used that TCL years ago, and had the same problem with it, i think it's only "miss spelled", and since i wanted to lern a litle about TCL i made my own, much bether and more fun to use home made stuff..  |
|
| Back to top |
|
 |
FuE- Halfop
Joined: 27 Nov 2004 Posts: 57
|
Posted: Sun Feb 27, 2005 1:12 pm Post subject: |
|
|
| Code: | proc pub_call {nick uhost handle chan args} {
global phrases botnick channel
set outputiz [lindex $phrases [rand [llength $phrases]]]
putserv "PRIVMSG $chan : $outputiz"
putlog "<<$nick>> !$handle! $botnick..."
}
bind pubm - "% $botnick*" pub_izamu |
that is the code ;o |
|
| Back to top |
|
 |
awyeah Revered One

Joined: 26 Apr 2004 Posts: 1580 Location: Switzerland
|
Posted: Sun Feb 27, 2005 8:57 pm Post subject: |
|
|
This script is really quite all the basics, since it was scripted like 8 years ago now (1997 the zip date) and eggdrop's were also new those days.
I searched your script, there is a bind for "pub_izamu" but no proc for it. It activates when the bot's nick is said, i.e. the botnick is a trigger.
Either develop a proc for it, what ever you may want it to do, or just remove the bind bind pubm - "% $botnick*" pub_izamu, save your .tcl file and restart your bot for the settings to take effect. _________________ ·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
================================== |
|
| Back to top |
|
 |
FuE- Halfop
Joined: 27 Nov 2004 Posts: 57
|
Posted: Mon Feb 28, 2005 10:39 am Post subject: |
|
|
| yeah, but the botcall script will not work? |
|
| Back to top |
|
 |
^DooM^ Owner

Joined: 26 Aug 2003 Posts: 772 Location: IronForge
|
Posted: Mon Feb 28, 2005 10:41 am Post subject: |
|
|
Not as it stands because it doesnt exist. What awyeah is saying is that you can if you so wish add a proc called pub_izamu to the script that will execute when the bots name is said. _________________ The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born |
|
| Back to top |
|
 |
FuE- Halfop
Joined: 27 Nov 2004 Posts: 57
|
Posted: Mon Feb 28, 2005 11:12 am Post subject: |
|
|
| ah i see (= |
|
| Back to top |
|
 |
awyeah Revered One

Joined: 26 Apr 2004 Posts: 1580 Location: Switzerland
|
Posted: Mon Feb 28, 2005 8:55 pm Post subject: |
|
|
A bind is reduntant without its proc. However when the bot's nick is triggered on a channel the bind will also trigger, but since it has no proc it will give you a tcl error. Now either you can remove it or make it a proc for it to work with. _________________ ·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
================================== |
|
| Back to top |
|
 |
|