<?php
CASE "!report":
IF( $argv != "" ) THEN
$idxSpace = indexOf( $argv, " ");
IF( $idxSpace != -1 ) THEN
$user = subStr( $argv,0,$idxSpace );
$argv = trim( subStr( $argv,$idxSpace ) );
MoveUserToGroup( "report" . $user,"Report by " . $userName . " (" . GetLapperVar("ShortDate") . " - " . GetLapperVar("LongTime") . ") " . $argv );
UserGroupToFile( "report" . $user, "./../user/" . $TFD . "/report/" . $user . ".txt" );
privMsg( "Report Has Been Submited" );
$RMSG = "Reported: " . $user . " | What For: " . $argv;
#Report ("tempadmin");
ELSE
privMsg( "Command needs more parameters" );
ENDIF
ENDIF
BREAK;
?>
report by fire_optikz001 (15/01 - 4:21:55 pm) test
Event OnConnect() # Player event
UserGroupFromFile( "Drivers" . $userName, "./User/Drivers/" . $userName . ".txt" );
IF( UserInGroup( "Drivers" . $userName , $userName ) == 1 )
THEN
MoveUserToGroup( "Drivers" . $userName,"Joined the server @ ====>>> (" . GetLapperVar("LongDate") . " - " . GetLapperVar("LongTime") . ")" );
SaveGroupToFile( "Drivers" . $userName, "./User/Drivers/" . $userName . ".txt" );
privMsg( "^7>Welcome Back" . GetCurrentPlayerVar( "Nickname" ));
privMsg( "^7>Enjoy your stay!!");
ELSE
MoveUserToGroup( "Drivers" . $userName,"Joined the server for the 1st time @ ====>>> (" . GetLapperVar("LongDate") . " - " . GetLapperVar("LongTime") . ")" );
MoveUserToGroup( "Drivers" . $userName,$userName );
SaveGroupToFile( "Drivers" . $userName, "./User/Drivers/" . $userName . ".txt" );
privMsg( "^7>Welcome in our server!!" );
privMsg( "^7>Enjoy your stay" );
cmdLFS("/msg ^7>" . GetCurrentPlayerVar("Nickname") . " ^7Is a new Driver in this server");
ENDIF
[[COLOR=Blue]S[COLOR=Black]C] [COLOR=Gray]Cruise Server
[COLOR=Black][/COLOR]
[/COLOR][/COLOR][/COLOR]