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.
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Thu Jul 03, 2003 8:57 am
I have made a script that makes the bot cycle when i command him in private, and I added this code:
Code: Select all
if {![validchan $chan]} {
puthelp "NOTICE $nick \"Please specify a valid channel.\""
return}
but when i put an invalid channel, the bot notices me with
"Please .
what should I change so that the bot will Notice me with the whole message without the ".
Thanx
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Thu Jul 03, 2003 9:21 am
Drop the \ and one ".
Once the game is over, the king and the pawn go back in the same box.
egghead
Master
Posts: 481 Joined: Mon Oct 29, 2001 8:00 pm
Contact:
Post
by egghead » Thu Jul 03, 2003 9:24 am
Sir_Fz wrote: I have made a script that makes the bot cycle when i command him in private, and I added this code:
Code: Select all
if {![validchan $chan]} {
puthelp "NOTICE $nick "Please specify a valid channel.""
return}
but when i put an invalid channel, the bot notices me with
"Please .
what should I change so that the bot will Notice me with the whole message without the ".
Thanx
Insert a ":"
Code: Select all
puthelp "NOTICE $nick :"Please specify a valid channel.""
or
Code: Select all
puthelp "NOTICE $nick :Please specify a valid channel."
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Thu Jul 03, 2003 9:26 am
Oh, yah, haven't spoted it. It should work fine now..
Once the game is over, the king and the pawn go back in the same box.
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Thu Jul 03, 2003 9:29 am
Thanx.
silly me. I should have known that.