| View previous topic :: View next topic |
| Author |
Message |
Madalin Master

Joined: 24 Jun 2005 Posts: 310 Location: Constanta, Romania
|
Posted: Fri May 17, 2013 6:12 am Post subject: IRPG (idle role playing game) in TCL |
|
|
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 _________________ https://github.com/MadaliNTCL - To chat with me: https://tawk.to/MadaliNTCL |
|
| Back to top |
|
 |
gembels Voice
Joined: 07 Jul 2012 Posts: 26
|
Posted: Tue Aug 13, 2013 6:19 am Post subject: Re: IRPG (idle role playing game) in TCL |
|
|
| I can't wait for this version. |
|
| Back to top |
|
 |
|