Code: Select all
[Global]
*joincount* "#chan{187}Date|#abc{254}Date|#test{1234}Date"
*scriptscount* "Fun{123}Date|Ball{152}Date|Horo{167}Date|Game{653}Date"
[test]
*hosts* "bla!test@123.xxx.567.com|test!bla@test.network.com|*!test@*.abc.com"
*joincount* "#chan{22}Date|#abc{4}Date|#test{22}Date"
*scriptscount* "Fun{2}Date|Ball{18}Date|Horo{33}Date|Game{27}Date"
*Bla* "text{240}|text{780}text{123}|text{1}"
[Nick_YES]
*hosts* "bla!test@123.xxx.567.com|test!bla@test.network.com|*!test@*.abc.com"
*joincount* "#chan{22}Date|#abc{4}Date|#test{22}Date"
*scriptscount* "Fun{2}Date|Ball{18}Date|Horo{33}Date|Game{27}Date"
*Bla* "text{240}|text{780}text{123}|text{1}"
.
.
.
I am looking for a tcl script with which these data can be written and read.
I used to do that myself a couple of the scripts I'm just trying not: (
the first script should start [Global] are added. in the format shown in the upper example.
to be used as the script in multiple channels. I need it in the format
"#chan{number}date" The date should be entered only if the script was with .chanset #chan +script activated and want to keep it at that.
| Serves as a separation between the options from
when the usern as [test], there should be more options.
Once should be watched if the user is already in the database.
and that it is not a nick guest. if the user does not exist it will be saved with its host.
because should there be with the possibility: !addhost <user> <host> add more hosts.
join count should be as globally. the date will be set until there but if the user the first time joint.
and the script count if the user then the script for the first time used .. For example: fun coffee
Bla with just text and numbers.
I have since the days of forum. and other forums searches unfortunately without success.
if anyone knows whether there is something. or could give me some good examples or possibly even it could tinker a script I would be very grateful.