Product: Pointsystem
Version: n.A.
Editor: Alex
Developer: FreeUser
Year of development: 2004
Needed ressources: -
Alternative ressources: -
Screenshots: -
Description:
The pointsystem is an addon that gives your users points for the time they spend online. 1min = 1 point
You can use this to create top lists of users who are online the most, ett....
Good luck
If you wish to make it a point system based on words, and not online time, follow these instructions.
Firstly, we need to stop the point system from working.
Find custom_logout_logger => [
Remove 'plugindir::PointSystem.pm',
Save Settings.dat.
Open TextCommands.pm
Find the following code in sub text_handler
And add, just below the }
Post here if you have any problems, and I will help you.
----------------------------
Have fun. Best regards, your GTChat-Developer.com - Team!
Zum Eintrag in der Datenbank
Version: n.A.
Editor: Alex
Developer: FreeUser
Year of development: 2004
Needed ressources: -
Alternative ressources: -
Screenshots: -
Description:
The pointsystem is an addon that gives your users points for the time they spend online. 1min = 1 point
You can use this to create top lists of users who are online the most, ett....
Good luck
If you wish to make it a point system based on words, and not online time, follow these instructions.
Firstly, we need to stop the point system from working.
Find custom_logout_logger => [
Remove 'plugindir::PointSystem.pm',
Save Settings.dat.
Open TextCommands.pm
Find the following code in sub text_handler
And add, just below the }
Quellcode
- else
- {
- my @points = split(/\s/,$text);
- my $count = 0;
- my $count2 = 0;
- my $count3 = $main->getOnlineUsersCount();
- if ($count3 > '1')
- {
- foreach (@points)
- {
- if ($count < 2.01)
- {
- $count = $count+0.2;
- }
- }
- }
- my $user = $main->{current_user};
- my $points = $user->{points};
- my $spam = $user->{spam};
- $main->loadUser($user->{name},$user);
- $user->{points} = $points + $count;
- $main->saveUser($user);
- }
Post here if you have any problems, and I will help you.
----------------------------
Have fun. Best regards, your GTChat-Developer.com - Team!
Zum Eintrag in der Datenbank