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.
RaDoM
Voice
Posts: 17 Joined: Mon Mar 10, 2003 2:32 pm
Location: uNd3rGr0uNd C1Ty
Post
by RaDoM » Mon May 26, 2003 5:40 am
hi,
i am doing a tcl but has an error:
Code: Select all
set script {
"\002This is a test only\002"
}
bind pub o !go pub:t
proc pub:t {nick uhost hand chan text} {
global script
foreach line $script {puthelp "PRIVMSG $chan :$line" }
what's happen?
i want when i type in chan !go, bot reply me the set
thanks in advance
. :: Ra Do M : :.
The future is nearby!
RaDoM
Voice
Posts: 17 Joined: Mon Mar 10, 2003 2:32 pm
Location: uNd3rGr0uNd C1Ty
Post
by RaDoM » Mon May 26, 2003 8:58 am
Which is the mistake?
. :: Ra Do M : :.
The future is nearby!
Weirdo
Master
Posts: 265 Joined: Sat Apr 27, 2002 8:00 pm
Location: Manchester, England
Post
by Weirdo » Mon May 26, 2003 9:02 am
What is the error
user
Posts: 1452 Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway
Post
by user » Mon May 26, 2003 9:07 am
First of all...why is your string in a list? Are you going to have multiple strings in there or did you just toss up some random code?
Check your error messages...the error saying that the variable "line" doesn't exist should give you a clue.