www.webdeveloper.com

Search:

Type: Posts; User: magace

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    2,082

    Muahaha I got it thanks for your help witht he...

    Muahaha I got it thanks for your help witht he counter and what not!
    This seems to be working still got a few tweeks im sure but for now it works great!


    function checkvote()
    {
    var...
  2. Replies
    7
    Views
    2,082

    Thanks but like I said its a client side...

    Thanks but like I said its a client side standalone program thats based on javascript. Not web related at all doesn't even use the browser. Here is what I tried doing using your method above and...
  3. Replies
    7
    Views
    2,082

    Sorry about double psot just wanted to say I know...

    Sorry about double psot just wanted to say I know ReadLine is supported in the api for the program perhaps that can helps read the text file to get max number of lines?
  4. Replies
    7
    Views
    2,082

    Hi thanks for replying I am actually using a...

    Hi thanks for replying I am actually using a client side not web! program based on javascript so I cant really use php and what not.
    It does make more sense to use one text file or even a array I...
  5. Replies
    7
    Views
    2,082

    uhh ok so i tried this: function checkvote()...

    uhh ok so i tried this:


    function checkvote()
    {
    Say("Lets see who won.");
    var YesFile = "logs/webserver/normal/yeslog.txt";
    Length1 = YesFile.length
    var NoFile =...
  6. Replies
    7
    Views
    2,082

    please help me read a text filles length.

    Ok im working on a little vote function that reads yes or no from separate .txt files
    the votes are being saved line for line as followed:

    yes
    yes
    yes

    or

    no
  7. Replies
    4
    Views
    1,253

    sorry i figured it out when i actualy read what a...

    sorry i figured it out when i actualy read what a sub string does... lol it was this simple:

    DeathName = msg.substring(msg.indexOf("by ",-1))


    Again sorry for noob question and ty for help!
  8. Replies
    4
    Views
    1,253

    il mess around with that some also was thinking...

    il mess around with that some also was thinking maby lastindexof could do it.
  9. Replies
    4
    Views
    1,253

    is there a poststring?

    ok so I know how to do substring to read everything before a certain phrase however is there a way to read everything after a certain phrase?

    Ex of what this script reads and doesent read

    Alex...
  10. Replies
    1
    Views
    720

    question about unloading a file

    ok so I need this script to turn on and off my "MH". However I cant figure out how to unload the file I tried "Unload("NTMap/NTMapGame.ntj")" and ya does not work cant find any ex. on how to unload...
  11. now it lets them do the act2chant n stuff before...

    now it lets them do the act2chant n stuff before it gets to cows are made then after it makes cows it wont let anyone type it ><
  12. actualy didntwork do I need to change all of the...

    actualy didntwork do I need to change all of the = in my act2chant = 1; and so on to == also?
  13. lol knew it was something simple :D tyvm!

    lol knew it was something simple :D tyvm!
  14. Question about this code (it seems to get ahead of itself)

    Ok I have been working on this everything seems to work but I have one small problem. After NTA_Initialize();
    The script starts reading so at the start
    Cowsaremade = 0;

    cowsaremade should...
Results 1 to 14 of 14
HTML5 Development Center



Recent Articles