Jump to content

Dead-Inside

Members
  • Posts

    31
  • Joined

  • Last visited

Everything posted by Dead-Inside

  1. I was just wondering if my calculation would work. The values are correct (As in they're both the same raw format in ticks and no mins/secs or : . formatting). For displaying I'm using an 00:00:000 setup, a la Mictech, which was the server I used to play on. In any case, I'm assuming then that what I typed should work just fine?
  2. Doesn't matter. Already have it up and running, logging to two files though. I have another question. How would I call to get the time of my server? I'd like a !time command that gives the server clock As I said I have no access to any lists so . Also, would set %i = $calc($gettok($readini($scriptdir $+ records\myfilename.ini,$mta.nick($1,$2),$replace($mta.race($1),$chr(32),-)),1,32) - $mta.time($1,$2)) work like I suppose it would? I'd like the mid-time number so that I can tell people how far away they were from the record. Last time I tried I did something completely different and it didn't work, I'm assuming the above would though?
  3. It didn't. And I'm not liking mIRC scripting. It's not doing what I'm telling it to because it's being stubborn so I have to work around it. I am making progress though.
  4. Right, so I'm probably going to get this working with a single file but that wasn't my intent. At least I understand how the hell I can set it up to work properly now. Anyway, when doing !writeini -n " $+ $scriptdir $+ records\$mta.nick($1,$2).ini" it actually types $mta.nick($1,$2).ini as the file name. Should be a way around that I recon but I'm clueless as to how so I'm not even going to try. I am, however, going to ask if anyone knows?
  5. Please don't tell me I just forwardslashed and it should have been backwardslash? Because otherwise that's exactly what I did. Anyway, if I can't get that working again I'll add you to MSN, thanks.
  6. Right, I'm trying to do personal racestimes per map. I want two things; first of all I want my .ini files in a folder called records. I haven't managed to do this. Secondly, I need custom filenames based on playernames. Every time a person finishes a map and gets a time, I want it to write in the file with his name, under the race name. I haven't managed to do this. I even tried, failing the above, to keep it all in one file but I still failed to create headlines for playernames to keep the maps and times under. Apart from this, I haven't found any functionlisting anywhere? gettok, iif, replace, etc, I haven't found any description of them anywhere apart from iif on wikipedia... Anyone have a linky for me? Thanks, Dead-Inside
×
×
  • Create New...