does anyone know of or have a script that will store a site when a pub command is used like !addsite ip port user pass or know how i could make this. also have a pub command to list all the sites.
if {![file exists datafile.dat]} {close [open datafile.dat w]}
set io [open datafile.dat r]
while {![eof $io]} {
gets $io line
if {[string trim $line] == ""} {continue}
putserv "PRIVMSG $channel :$line"
}
close $io
Hope that helps, might want to find a tutorial on TCL if your really new at this.