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.

Where is this extra character after the close brace?

Old posts that have not been replied to for several years.
Locked
W
Weirdo
Master
Posts: 265
Joined: Sat Apr 27, 2002 8:00 pm
Location: Manchester, England

Where is this extra character after the close brace?

Post by Weirdo »

Code: Select all

bind join ly2|ly2 * join:halfop
proc join:halfop {nick uhost hand chan} {
	if {$ahopcheck != "1" } {
		puthelp "Notice $nick :You have been granted Halfop Powers in this channel"
		puthelp "Notice $nick :You will not have +h given to you, but moderation capabilities are given using !nuke kick <nickname> <reason> and !nuke ban <nickname> <reason> .The ban length will be the standard length"
		putlog "Sent halfop msg to $nick"
		}{
		pushmode $chan +h $nick
		puthelp "Notice $nick :You have been granted halfop powers in this channel."
		putlog "Halfopped $nick in $chan"
	}
}
[17:49] Tcl error [join:halfop]: extra characters after close-brace

This is amazingly frustrating, as i cannot see where this damn character is. Can you help please?
s
spock
Master
Posts: 319
Joined: Thu Dec 12, 2002 8:40 pm

Post by spock »

my guess would be this

Code: Select all

}{ 
try this

Code: Select all

} { 
instead
photon?
W
Weirdo
Master
Posts: 265
Joined: Sat Apr 27, 2002 8:00 pm
Location: Manchester, England

Post by Weirdo »

awww, bloody hell, can't believe i missed that one :)

Thanks a lot :)
Locked