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.
Old posts that have not been replied to for several years.
]Kami[
Owner
Posts: 590 Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:
Post
by ]Kami[ » Mon Aug 04, 2003 6:13 am
Andbody know what could be wrong here, this script make responde on smiles
Code: Select all
set ransmile {
":-)"
":-))"
":-D"
"&:-)"
":-p"
";-)"
";-))"
":-O"
":-1"
}
bind pub - {:-)} pub_smiling
bind pub - {:)} pub_smiling
bind pub -|- {smile} pub_smiling
# random smile proc
proc pub_smiling {nick uhost hand chan $ran:-)} {
global ransmile
if [rand 2] {
putchan $chan "[lindex $ransmile [rand [llength $ransmile]]]"
}
return 1
}
putlog "Smiling TCL script by Laurababe loaded."
bot say
Code: Select all
[12:11:38] <King_Kai> [12:11] Tcl error in script for 'timer8':
[12:11:38] <King_Kai> [12:11] can't read "hand": no such variable
[12:11:39] <King_Kai> [12:11] Tcl error [pub_smiling]: invalid command name "putchan"
Greetings ....
Papillon
Owner
Posts: 724 Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no
Post
by Papillon » Mon Aug 04, 2003 6:24 am
well, the error-msgs says it all really.
The timer-error is not from that proc.
The putchan command is one beeing provided with the alltools.tcl script which usually comes with eggdrop. Make sure it is loaded
Elen sila lúmenn' omentielvo
]Kami[
Owner
Posts: 590 Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:
Post
by ]Kami[ » Mon Aug 04, 2003 6:47 am
TNX i looked alltools.tcl and i found one mistake in it