For quite some time i was thinking at writing an iRPG game in tcl because the perl version is to much for me. I did created some new commands and added some other new features to the old irpg game written in perl but thats all, as it is written in perl and i dont know that well perl it was quite hard so i was thinking at improving the game and trying to write it in tcl. My first questions for 'when' i will start (if) where the following:
1. The original perl bot records second by second the user has spent in the channel. In tcl i would have some ways to do that
- Keep that of when the user joined and then when part/quit/ping timeout etc and calculated how long did he stayed in the channel
- Make an utimer for 1 second (i wouldnt use this but its a choice and i think eggdrop could handle this)
- Make a 1 minute timer (but this wont be like the original bot because it will record users minute by minute which is to late)
2. How to keep the users in the database
- Make another file with their own records like the original one
''nickname class rank .. .. .. .. ..''
- Or save informations under their eggdrop username using ''setudef user XTRA IRPG''
..for now this is it i just want to know the best way to make it and to know if others will use this game