Author Topic: Command Log *Need method for use on rented servers*  (Read 1445 times)

0 Members and 1 Guest are viewing this topic.

Offline Kavukamari

  • Camper
  • ***
  • Posts: 435
  • 3.14159265358979, mmm... pi
Command Log *Need method for use on rented servers*
« on: December 26, 2007, 07:20:24 pm »
It's been a busy week, I've come up with 3 scripts already (actually 4, but the fourth is simple) this is my third this week

Script Name: CmdLog (command log)
Script Description: logs commands when used (uses both OnCommand and OnPlayerCommand) writes commands in a (settable) directory (D_Dir) Writes files in this format:
Title format:
FileName(Plr/Adm) [Date]

the entry is like this:
[Time] PlayerName: /command (example: [12:24:25] Kavukamari: /addbot2 Dummy)

the time format is changable (uses FormatDate) and the Date format is settable too (using D_T and D_D respectively)

there is also a D_Nam constant to set the name of the file (before the type tag (either (Plr) or (Adm)))
Original Author(s): Kavukamari
Core Version: 2.6.3
Code: Attached
« Last Edit: January 02, 2008, 06:19:26 pm by Kavukamari »
"Be mindful of fame, show a mighty courage, watch against foes. Nor shalt thou lack what thou desirest, if with thy life thou hast comest out from that heroic task."

Offline Szewczuq

  • Soldier
  • **
  • Posts: 115
  • WOOH! ROCKS ON MY HEAD!
    • POLISH GAMERS COMMUNITY
Re: Command Log (seperate for Admins and Players)
« Reply #1 on: December 26, 2007, 07:50:22 pm »
hehe usefull script - for me :D



Offline Kavukamari

  • Camper
  • ***
  • Posts: 435
  • 3.14159265358979, mmm... pi
Re: Command Log *Need method for use on rented servers*
« Reply #2 on: January 02, 2008, 06:21:01 pm »
I hope EnEsCe sees this:

@EnEsCe: is there any way to code this to work on the EnEsCe.com rented servers?
"Be mindful of fame, show a mighty courage, watch against foes. Nor shalt thou lack what thou desirest, if with thy life thou hast comest out from that heroic task."