Jump to content

lil Toady

Retired Staff
  • Posts

    2,318
  • Joined

  • Last visited

Posts posted by lil Toady

  1. I don't want you to use GUS stuff. (since my name is in it i hope i can forbid that)

    You just want to take somebody's work and release as yours and i dont appreciate that. Why don't you write your own script in that case?

  2. im sure that hash tables would be better at this then files.

    No they won't. It would make sense if it was storing stuff for a long time about all the players in the server. Why would you want to create a new hash and controll it here and there, you'll need to write a few more funcs and process a few more events and they will just bring you more bugs, that's just useless here, in the script i posted i write the warnings to the mtama server ini, so after kick i wont even need to remove the warnings from it, mtama will do that for me.

    If you've heard somewhere that hashes are better that doesn't mean you have to use the everywhere, inis are quite good too ;)

  3. change the mta.kick to mta.mute for mute, and um, put words? you asked only about the "swear" word. Well, just search the forum, there was about 457286245 topics about that

  4. Wrong Marty, you have a way too much mistakes for such a little script :P

    on *:SIGNAL:mta.text:{
     if (swear isin $3) {
       var %a = $readini($mta.dir $+ $1.ini,n,$2,swears)
       !writeini " $+ $mta.dir $+ $1.ini" $1 $2 swears $iif(%a > 2,3,$calc(%a + 1))
       !inc %a
       mta.text $1 $mta.nick($1,$2) $+ , don't swear! ( $+ $replacex(%a,1,first,2,second,3,last) warning)
       if (%a > 2) mta.kick $1 $2
     }
    }

  5. hah Scooby, your one will also post all the PMs, IPs on join etc :P unsecure

    stylo, your script has a lot of mistakes

    T@rget, i've posted an echo script before, search the forum again. I'd upload it somewhere but the pc i had it on is broken atm. I can get it sometime on the weekends if u'll be still in need of it

  6. why do u use an image to post a script? nobody is able to copy it to try

    anyway, i'd do it like that

    on *:SIGNAL:mta.join:{
     if ($mta.nick($1,$2) != Player) {
       $+(.timer,mta.points,$1,$2) 0 600 mta.addpoints $1 $2
     }
    }
    on *:SIGNAL:mta.part:{
     if ($mta.nick($1,$2) != Player) {
       $+(.timer,mta.points,$1,$2) off
     }
    }
    on *:SIGNAL:mta.disconnect:{
     .timermta.points* off
    }
    alias mta.addpoints {
     mta.pm $1 $2 You've played for more than 10 minutes and 2 points were added - RESET TIMER!
     !writeini -n " $+ $scriptdir $+ timepoints.ini" TIMEPOINTS $mta.nick($1,$2) $calc($readini($scriptdir $+ timepoints.ini,TIMEPOINTS,$mta.nick($1,$2)) + 2)
    }

    this will also turn off the timers if you disconnect, it should fix lots off writeini errors in mirc. And those global vars were useless either :P

  7. Man can you imagin server somwere with 5-6 mods for cars(5-6mb each)

    6x6=36(im right?) So to start playing on this server you have to download 36mb.Maybe for or you this will not gona be a problem but what with 56k modem lovers?They will have to wait 2-3 hours to join someone server.But what with other server?WHat if some noob will replace all car's with custom new scins and other?Then im sure there will be topic like :"WTF NO 1 DON"T JONE MI SERVER !!!!!11111 one one one!1

    Robix brings up a good point, anything you have to download is going to be hard on some players with a slow connection. I would know, I was on 56k for awhile, and it sucked! There is no such thing as 56k lovers, only 56k sufferers.

    So the solution is: throw away your 56k modem.

  8. no i know but there must be an other command not mta.text but mta.say

    mta.say does not works couse thats of MTA.VC

    but i know an server and there are all messages not shown with mta.text aka admin but with

    there must be an script :P

    No, there is no way to remove the from a message, why won't you listen?

    That's not a script adding that, that's mta.

  9. well i dont really wanna fix that for u, sorry, it looks terrible :lol:

    u have the right idea, but as it stands, it has many things u dont check for. ie: if some1 holds the 8th best time then they set a new time which is 3rd best, ur script wont let them take the place coz they already hold 8th and i dont see u crosschecking. u only check the names. also, u need to compare names and times, in case a player has the best time, then improves on it. ur script wont let this happen.

    all in all its a mess. i told u how to start.. try getting it to work with top 3 times, once u can do that, add a few more, and so on.

    i dont think anyone could fix that for u, half is missing. :lol: im sure it could be rewritten faster than fixing.

    yeh, same here, can't even be botherd to read. I imagined a script to look up the first 10 places to be a way smaller

×
×
  • Create New...