egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

wrong # args? please help

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
juggle
Voice


Joined: 01 Sep 2018
Posts: 12

PostPosted: Wed Oct 31, 2018 3:21 pm    Post subject: wrong # args? please help Reply with quote

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
View user's profile Send private message AIM Address
caesar
Ass Kicker


Joined: 14 Oct 2001
Posts: 3504
Location: Area 51

PostPosted: Thu Nov 01, 2018 1:46 am    Post subject: Reply with quote

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.
_________________
You may say anything about me, but at least don't misspell my name. xD
Back to top
View user's profile Send private message
juggle
Voice


Joined: 01 Sep 2018
Posts: 12

PostPosted: Thu Nov 01, 2018 2:47 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
caesar
Ass Kicker


Joined: 14 Oct 2001
Posts: 3504
Location: Area 51

PostPosted: Thu Nov 01, 2018 6:20 am    Post subject: Reply with quote

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}

_________________
You may say anything about me, but at least don't misspell my name. xD
Back to top
View user's profile Send private message
juggle
Voice


Joined: 01 Sep 2018
Posts: 12

PostPosted: Thu Nov 01, 2018 1:56 pm    Post subject: Reply with quote

Thanks its working...
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber