Thread: Opening a .txt

Results 1 to 3 of 3
  1. #1 Opening a .txt 
    Typical Swede


    Join Date
    Jul 2008
    Posts
    1,162
    Thanks given
    204
    Thanks received
    154
    Rep Power
    217
    Is there a way i can make a command that opens a .txt file for the player that does the command?, if so how?

    The .txt file will be a log for that player.

    'Strange things did happen here no stranger would it be'
    ______________________________________________
    Reply With Quote  
     

  2. #2  
    Registered Member
    'Hunter's Avatar
    Join Date
    Sep 2008
    Posts
    738
    Thanks given
    12
    Thanks received
    6
    Rep Power
    160
    You mean, make a log? If you got z508, there's already a command log. Most servers probably already have logs, just go into the area that the mainsave for the character is, somewhere around that area.
    ~ Hunter


    Reply With Quote  
     

  3. #3  
    Typical Swede


    Join Date
    Jul 2008
    Posts
    1,162
    Thanks given
    204
    Thanks received
    154
    Rep Power
    217
    Quote Originally Posted by 'Default View Post
    You mean, make a log? If you got z508, there's already a command log. Most servers probably already have logs, just go into the area that the mainsave for the character is, somewhere around that area.
    No that's not what i mean.

    What i mean is, how can i make a command etc.
    Code:
    				if (cmd[0].equals("checkmylog")) {
    					openMyTxt("./data/characters/commands/log/"+p.username+".txt");
    				}
    To open there log in a .txt on there cpu.

    'Strange things did happen here no stranger would it be'
    ______________________________________________
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •