With the code for reading a whole file:
Code: Select all
set fname "textfile.txt"
set fp [open $fname "r"]
set data [read -nonewline $fp]
close $fp
set lines [split $data "\n"]
How to solve that?
Code: Select all
set fname "textfile.txt"
set fp [open $fname "r"]
set data [read -nonewline $fp]
close $fp
set lines [split $data "\n"]
I did... But understanding what you've read is something totally differentAlchera wrote:Try reading the documentation?Gust wrote:How to install this mysql module from FastBase? Is it possible to connect an eggdrop with a mysql db on another server?
Code: Select all
hostname 1
user1
hostname5
user5
...