TCLDROP
Would you like to react to this message? Create an account in a few clicks or log in to continue.
TCLDROP

Eggdrop And TCL Help, Support And Chat
 
HomeHome  PublicationsPublications  FAQFAQ  SearchSearch  MemberlistMemberlist  Latest imagesLatest images  UsergroupsUsergroups  RegisterRegister  Log in  CalendarCalendar  WebsiteWebsite  ChatRoomChatRoom  

 

 Help Us With Helping You

Go down 
AuthorMessage
ComputerTech
Owner
Owner
ComputerTech


Posts : 99
Points : 268
Reputation : 0
Join date : 2020-04-30

Help Us With Helping You Empty
PostSubject: Help Us With Helping You   Help Us With Helping You Empty2/5/2020, 02:12

Folks, before asking for help with Tcl errors in your or other people's scripts, please make sure you've done the following:


   have your .tcl and .set commands enabled, meaning that you need to open your config and comment out (or remove) the following lines:
   unbind dcc n tcl *dcc:tcl
   unbind dcc n set *dcc:set
   then save config and restart the bot
   have full backtrace of the error; that means upon receiving Tcl error (you must be logged in), immediately type .set errorInfo and save the output
   if the bot replies with `What? You need .help', you need to enable command .set (see above)
   when posting code, use code tag, not quote; the code should be indented nicely, making it easier to read and understand, for example use:

Code:
foreach foo $bar {
   if {$foo == "moo"} {
      #do something
   }
}

and not:

Code:
foreach foo $bar {
if {$foo == "moo"} {
#do something
}
}

when testing a script, try to run that script only, get rid temporarily of all others, commenting them out in the config (don't forget to restart); it helps in narrowing the possible causes for problems, since there are no other scripts to possibly interfere with the script you are testing
Back to top Go down
http://www.computer-tech1.webnode.co.uk
 
Help Us With Helping You
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
TCLDROP :: TCL :: Scripting Help-
Jump to: