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.

User left channel...but gets counted...

Old posts that have not been replied to for several years.
Locked
P
ProXy
Op
Posts: 126
Joined: Sun Aug 11, 2002 3:09 pm

User left channel...but gets counted...

Post by ProXy »

Hi there, I wrote a script that reports the current number of user in a channel to the partyline, when the user joins and when he parts. Therefor I have 2 procs.

When I join the channel, I get the right number. But when I part, the eggdrop still reports the number that was up2date before the part...

How can I cound the number of use rin the channel AFTER the user parted?
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

Subtract 1 from the number you get in the part proc?
P
ProXy
Op
Posts: 126
Joined: Sun Aug 11, 2002 3:09 pm

Post by ProXy »

Well - the only way i guess :)
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Something like: 'incr numbers -1'..
Once the game is over, the king and the pawn go back in the same box.
Locked