| View previous topic :: View next topic |
| Author |
Message |
juggle Voice
Joined: 01 Sep 2018 Posts: 15
|
Posted: Wed Oct 31, 2018 3:21 pm Post subject: wrong # args? please help |
|
|
Can somebody help help.?
When ever i put on public comand on the channel.
i have this error
| Quote: | | <Fr3sH> [04:19:17] Tcl error [::tpub::msg_pub]: putdccraw is deprecated. Please use putdcc/putnow instead.. |
and onjoin channel i have this error
| Quote: | | <Fr3sH> [04:18:40] Tcl error [::tpub::on_join]: putdccraw is deprecated. Please use putdcc/putnow instead. |
Can someone help me.. thanks |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Thu Nov 01, 2018 1:46 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
juggle Voice
Joined: 01 Sep 2018 Posts: 15
|
Posted: Thu Nov 01, 2018 2:47 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Thu Nov 01, 2018 6:20 am Post subject: |
|
|
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: |
proc putfast {text} {append text "\n"; putdccraw 0 [string length $text] $text}
|
and change that line with:
| Code: |
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. |
|
| Back to top |
|
 |
juggle Voice
Joined: 01 Sep 2018 Posts: 15
|
Posted: Thu Nov 01, 2018 1:56 pm Post subject: |
|
|
| Thanks its working... |
|
| Back to top |
|
 |
|