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.
Help for those learning Tcl or writing their own scripts.
-
juggle
- Voice
- Posts: 15
- Joined: Sat Sep 01, 2018 1:04 am
Post
by juggle »
Can somebody help help.?
When ever i put on public comand on the channel.
i have this error
<Fr3sH> [04:19:17] Tcl error [::tpub::msg_pub]: putdccraw is deprecated. Please use putdcc/putnow instead..
and onjoin channel i have this error
<Fr3sH> [04:18:40] Tcl error [::tpub::on_join]: putdccraw is deprecated. Please use putdcc/putnow instead.
Can someone help me.. thanks
-
caesar
- Mint Rubber
- Posts: 3778
- Joined: Sun Oct 14, 2001 8:00 pm
- Location: Mint Factory
Post
by caesar »
In the chunk of code you posted (isn't all) there's no line with putdccraw in it.
Besides, there's no need to copy/paste the entire code when the error itself tells you exactly what you need to change.
Once the game is over, the king and the pawn go back in the same box.
-
juggle
- Voice
- Posts: 15
- Joined: Sat Sep 01, 2018 1:04 am
Post
by juggle »
Thanks for your reply, that script which i am trying to run is Sergio-Quiz where you can find it
here.
If you can help me i would be grateful to you.. thanks again
-
caesar
- Mint Rubber
- Posts: 3778
- Joined: Sun Oct 14, 2001 8:00 pm
- Location: Mint Factory
Post
by caesar »
If you have bothered to open the quiz.tcl file and lookup
putdccraw in it would have seen that there's just one line you have to change:
Code: Select all
proc putfast {text} {append text "\n"; putdccraw 0 [string length $text] $text}
and change that line with:
Code: Select all
proc putfast {text} {append text "\n"; putdcc 0 $text -raw}
Once the game is over, the king and the pawn go back in the same box.
-
juggle
- Voice
- Posts: 15
- Joined: Sat Sep 01, 2018 1:04 am
Post
by juggle »
Thanks its working...