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.

users tcl

Old posts that have not been replied to for several years.
Locked
V
Vizor

users tcl

Post by Vizor »

help me
i want tcl who can calc who how users add
like
*** Matching 'Vizor':
HANDLE PASS NOTES FLAGS LAST
Vizor yes 0 fhxmnop 16:38 (partyline )
HOSTS: Vizor!*@*
Users (1)
--- Found 1 match.

thanks
Ivelin Markovski
User avatar
Papillon
Owner
Posts: 724
Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no

Post by Papillon »

errr could you explain a bit more please, I don't understand what u want...
Elen sila lúmenn' omentielvo
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Are you after a script that will show you how many users there are in the userfile?

Try a simple ".status"
V
Vizor

no

Post by Vizor »

in my example i said
user Vizor have a 2 added users
user jhsd have a 4 added users
i want this
in XTRA add Users
and script who can calc who how add users have
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

This information was not very clear from your first post, and again, not much clearer in your second.

However, I am guessing that you want to store a count, of how many user (EG) UserA has added?
V
Vizor

yes

Post by Vizor »

who how many added users have
d
darko``
Op
Posts: 121
Joined: Sun Sep 08, 2002 5:33 pm
Location: Malta

Post by darko`` »

If i got you right, you want to see how many users were added by other bot owners. Well, it can be done by rebinding dcc commands adduser and +user, however, it'll require moderate knowladge of eggdrop and TCL scripting. However, there is a small workaround that is half-manual but will get you there: Check the config file for the setting that determins who should be notified when new users are added. It's notify-users or notify-new or something similiar. I could have looked up a config file and given you the exact setting name but i prefere if you would go trough config file yourself reading it carefully. You will find a lot of usefull stuff there.
Also take note that there is a bug with $owner variable in teras that it returns truncated handles of all other owners except the first one. So if you have multiple permanent owners set in your config file, make sure that you change default setting of notify-users (or whatever the name). Simply put your own handle there.
Ignorant and lazy people will save 30 minutes by chosing simple config file. Smart ones will save 3000 minutes of *everyone's* time by opting for complete config file.
V
Vizor

darko``...

Post by Vizor »

no i want somethink else
some user how many users have added
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Your post makes no sence.

On top, we have tried literaly every combination of script possible, that would releate to anything if the post.
Locked