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.

whats wrong with this?

Old posts that have not been replied to for several years.
Locked
User avatar
Moose
Voice
Posts: 37
Joined: Mon Aug 18, 2003 2:54 am
Location: Northamption, UK
Contact:

whats wrong with this?

Post by Moose »

can you help me in finding what is wrong with this script, sorry about me needing all this help i am lurning tho. :D

proc botjoin { bot channel } {
set code "blah"; append code [string tolower $channel]; putserv "PRIVMSG $bot :join $channel [md5 $code]"
puthelp "NOTICE $nick :You request has passed."
}
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Re: whats wrong with this?

Post by user »

Moose wrote:can you help me in finding what is wrong with this script, sorry about me needing all this help i am lurning tho. :D
Read the error message you get when calling the proc.
User avatar
Dedan
Master
Posts: 260
Joined: Wed Jul 09, 2003 10:50 pm
Location: Memphis

Post by Dedan »

edit: error
Last edited by Dedan on Thu Aug 21, 2003 4:15 pm, edited 1 time in total.
I once was an intelligent young man, now i am old and i can not remember who i was.
User avatar
Dedan
Master
Posts: 260
Joined: Wed Jul 09, 2003 10:50 pm
Location: Memphis

Post by Dedan »

what is the bind you are useing or the command?
I once was an intelligent young man, now i am old and i can not remember who i was.
User avatar
Dedan
Master
Posts: 260
Joined: Wed Jul 09, 2003 10:50 pm
Location: Memphis

Post by Dedan »

Code: Select all

proc botjoin {bot nick channel} { 
  set chan [string tolower $channel]
  putserv "JOIN $chan" 
  puthelp "NOTICE $nick :You request has passed."
}

I once was an intelligent young man, now i am old and i can not remember who i was.
Locked