egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

New to Eggdrop/TCL: Scripts vs. Modules

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
Ikelos
Voice


Joined: 09 Apr 2010
Posts: 1

PostPosted: Fri Apr 09, 2010 2:53 pm    Post subject: New to Eggdrop/TCL: Scripts vs. Modules Reply with quote

Dear Egghelp community,

I apologize in advance if my thread's title is misleading, inaccurate, or if the thread is inappropriate for this forum. I am a programmer with a background in C, C++, and Java. Recently, I have embarked on a journey with my friend in Grad School to set up an IRC server dedicated to running a roleplaying game (for those of you unfamiliar with roleplaying games, I will try not to get too technical). We have already been able to implement a dice feature, but now, I am attempting to tackle the responsibility of having a script to handle character sheet data (statistics such as strength, character descriptions, and health levels [which has more than the binary hurt/not-hurt option in our game]). I have seen implementations on other IRC sites, some where each user registers their username and receives special character data related to the username.

I am relatively new to programming in general, still an undergrad student in University, and most of what we are taught currently are object oriented design principles. While creating the character sheet as an object would be relatively simple to implement in C++ or Java, I am daunted by attempting this in the TCL scripting language. I am aware that Eggdrop includes loadable modules as well. Since TCL is a scripting language, would a C/C++ module be a better alternative than a script to include the functionality I'm trying to attain? The goal is to allow players (users) to access their character data from within the IRC client via a few commands. If anyone has any opinions, or questions, I'm welcome to hear them. Thank you for your time and consideration.

~Ikelos, new guy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber