This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

IRPG (idle role playing game) in TCL

Help for those learning Tcl or writing their own scripts.
Post Reply
User avatar
Madalin
Master
Posts: 310
Joined: Fri Jun 24, 2005 11:36 am
Location: Constanta, Romania
Contact:

IRPG (idle role playing game) in TCL

Post by Madalin »

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
g
gembels
Voice
Posts: 26
Joined: Sat Jul 07, 2012 9:31 pm

Re: IRPG (idle role playing game) in TCL

Post by gembels »

I can't wait for this version.
Post Reply