!request #channel
then the bot is going too check a lot of things i want in a channel,
when the request is approved then i like too make the bot write the name off the channel too a file
ive read suninet.nl
and have managed too do this,
Code: Select all
set chanfile "scripts/channel/chanfile.txt"
set changood [open $chanfile w]
puts $changood "$setting(chan)"
close $changood
And when a channel is requested again i like too check the chanfile.txt if the channel is already in there.
Can you guys help me with this, thx in advance.