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 

Wanted, a script to store and read new arrivals nicks...

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
Amarth
Voice


Joined: 29 Sep 2005
Posts: 5

PostPosted: Thu Sep 29, 2005 5:20 am    Post subject: Wanted, a script to store and read new arrivals nicks... Reply with quote

Hi,

I am after a script to store the nicks of new arrivals to a chatroom, so that they can be helped. I have tried to script this myself but it is really not working and I am getting totally confused. I am not sure if this is particularly difficult, so could use the help of someone!

I would like the following abilities:
1. stores the nick and entry time when joins the channel in a to be helped list.
2. the ability of a person with a specific flag to pm the bot and move the nick to a helped list with time helped.
3. with a pm to the bot the list of nicks to be retrieved and messaged to the requesting person, splitting into needing help, and helped categories with times listed next to name.
4. when the person leaves nick is removed from the list

Other things if at all possible
5. if possible nick changes reflected in list
6. the ability to ignore nicks that have particular characters such as {} in their names.
7. the ability to ignore nicks that are all lower case, or at least first letter lower case.

Hopefully someone can help me out there, and I'd really appreciate it.
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Thu Sep 29, 2005 6:04 am    Post subject: Reply with quote

Instead of storing the nick into a file (with the join time) you can simply use the [getchanjoin] eggdrop Tcl command to see when the nick joined. Subtracting this time from [unixtime] returns (in seconds) how long the nick has been in the channel.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Amarth
Voice


Joined: 29 Sep 2005
Posts: 5

PostPosted: Thu Sep 29, 2005 6:59 am    Post subject: Reply with quote

Yes but then we can't see two things, if the person has been helped, and when they were helped.
Back to top
View user's profile Send private message
Amarth
Voice


Joined: 29 Sep 2005
Posts: 5

PostPosted: Thu Sep 29, 2005 9:24 am    Post subject: Reply with quote

Actually I have been able to get a script working, but still trying to modify it so have listed it on scripting help.

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive 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