
Code: Select all
# # # # # # # # #
# .loactcl
#
bind dcc n loadtcl loadtcl
proc loadtcl {hand idx args} {
source scripts/$args.tcl
return 1
}
Code: Select all
# # # # # # # # #
# .loactcl
#
bind dcc n loadtcl loadtcl
proc loadtcl {hand idx args} {
source scripts/$args.tcl
return 1
}
hmm, ah thats how its meant to be used. ic, thx. this way the global var prob should be solved.user wrote:uplevel #0
'open file a' would make sure you're at the end...but adding a new 'source filename' every time you want to REload a script is not a good idea and detecting if the file is already added to the conf can be hard as it could be sourced in many ways. And why wait 2 seconds to rehash? Just rehash after you've closed the file.awyeah wrote:bla bla bla
utimer 2 rehash
De Kus wrote:hmm, ah thats how its meant to be used. ic, thx. this way the global var prob should be solved.