Jump to content

Scooby

MTA Contributors
  • Posts

    976
  • Joined

  • Last visited

Everything posted by Scooby

  1. fair enough.. but i dont hate u, i dont hate anyone, this is just a forum... im here to help, just like im sure you are. but if u wanna help, then u need to stop being so lazy and learn new stuff. editing or copying other people's work will never get u any credit unless u give credit to whos work it was before u edited it. if ur making posts to help people with things, make sure they work first or people will moan. i cant help u with the enemies u have already made.. thats ur own prob.
  2. Scooby

    wildcard name

    np anytime, if u need any other help, and need a quicker response, u can usually find me on irc: server: irc.multitheftauto.com channel: #uva
  3. Scooby

    wildcard name

    ok try something like this for ur var line: var %a = $iif($2 == $null,$nick,$iif($mta.getid(%serverID,* $+ $2 $+ *) == $null,$nick,$v1))
  4. I suppose noone will care for your opinion. Since there are only from what i can tell, 3 Complete Script setups, prs,gus and now slr, its far from poor. All 3 of them are better than nothing, but then everyone has their own opinion. sure it has some bugs, but then most scripts this size will have at first. people still use gus and slr is a lot better. maybe u should spend some time finishing yours (instead of the useless posts on here), since u claim its going to be better than prs.. im still waiting to see it. Racer - Aka [uVA]Bart, has written this on this own, way after you started yours and already its being used on a few servers. in fact it only took a few weeks to write from what i know of. He's always working trying to improve it and replies to all his posts from the known people using it. so from what i can tell so far he's been pretty usefull and is trying to help. Lets try not carry on the bitching... u can use msn for that. im sure u have enough enemies out there, without adding more to the list. im guessing your only trying to help too, but the way u go about things is all wrong. if u dont have anything constructive to say, then why bother posting?
  5. Scooby

    wildcard name

    sure... thats what i mean, but no need for $2- just $2 would be fine. does it work?
  6. Scooby

    wildcard name

    using the script from irc would mean u need to change the parameters a little, but the script could still be made to work. eg $1 would be !freeze, $2 would be the wilcard u needed to find, $1 is no longer the server ID and there is no $4 which is why u get an invalid parameters error.
  7. Scooby

    !id script

    yeah.. looks fine, dont forget the final bracket thats missing.
  8. I found a way that works, using rcon. this would mean all admin levels would need altering since level 1 would be a registered player. but it is possible, players could be given a pin code to login (since u cant pm a pass) with which should be easy enough to remember. i started writing it but never got round to finishing it. basically just have a duplicate config file with ur mirc and add/remove names from it when needed with the script, then set the script to upload it at timed intervals. unused registered accounts could be auto deleted after a certain time to stop the config filling up. normal players could login with rcon just like admins do, which could be linked to an auto login for those with static ip's. this isnt something that can be made in a few lines of text in ur script tho, its a lot of work. i ask is it really worth it? no doubt all these scripts will be obsolete when dm is out.
  9. Scooby

    !id script

    If anyone could shed some light on this it would be great! for !id bob try using $mta.getid(1,$2) the 1 being ur server id if u use another tab on mtama change the number accordingly.
  10. 1 thing u might consider, if ur mirc crashes or gets restarted, the player stays banned.
  11. Scooby

    wildcard name

    still forgetting ur else/elseifs! (after getting incorrect level, u would then get the text saying u had banned him) also, u can easily ban yourself with this... not wise a checker for if (%a == $2) would be wise. u can still use mta.getid from irc as long as its in the same mirc running mta. just remember to specify the server number since $1 is different in ur irc script
  12. mta.getid is still there so u can still use it, srl.id will be the same too. somthing like: if ($1 == !kick) mta.kick 1 $mta.getid(1,$2) or: if ($1 == !kick) mta.kick 1 $slr.id(1,$2) both should work for you.
  13. pm's with !pm what would be the point... everyone would see the msg. use /pm or /msg i think both work. The rest... sounds oh so familier.
  14. Scooby

    Your MTA History!

    Ahh good point, Id forgot about that one I think it was something like: T}{e-0ne I Had to change it though after seeing so many people with the same name.
  15. Scooby

    Your MTA History!

    Started Back in MTA-VC 0.3 After discovering it at a friends house. loved it from day one.. Spent many non stop 10hour days at prawn back in the day, with a load of VCES, TMM & FMJ (and a few others that came later) - great times when i think back. Only ever been in my own clan, [uVA] although the name changed slightly from the original after a few weeks. Nicks: KrazyKev (about 2 weeks, before i started the clan) then Scooby ever since. Admin: Over the years I've had some form of admin level on tons of servers, i cant remeber them all, but I normally stick to my own server. LOL @ Brophy's P.S! Gunny's still around.... New nick. maybe he could post the clans he hasnt been in, might be quicker Really looking forward to getting some of those 4way matches going in SA hopefully on a larger scale.
  16. Cant say u werent warned Id's change so u have to use the names.
  17. if u use a timer, the $ $+ messes it up, remove the $+ and it'll work with a space. however: mta.pm $1 $2 Thank you for voting, Bonus $ $+ %cash For Your Time! should have worked since theres no timer.. if u cant fix it, just remove the $+ another reason why the stats are in hash. if they were in an INI, then yes, this script wouldnt even run after a few weeks, but in hash its not a problem. the size of the hashes are still so very small compared to how much they can handle. for me its usually the other way round, people want to change their names and keep thier stats. (clanhoppers )
  18. ok try this. alias prs.ratemap { var %race = $replace($mta.race($1),$chr(32),$chr(45)) if (%race == Unknown || %race == $null) { mta.text $1 Error: Unknown Mapname - Unable To Rate. } else { var %nick = $mta.nick($1,$2) if (!$4) { mta.text $1 $mta.race($1) $+ : Map Rating: $prs.rating($1) $+ /10 mta.pm $1 $2 Your Rating For This Map: $prs.playerrating($1,$2) $+ /10 } elseif (($4 < 1) || ($4 > 10) || ($4 !isnum)) { mta.pm $1 $2 Error: Invalid Amount (1-10) } else { if (($prs.playerrating($1,$2) == Unrated) && (%pgs == on)) { var %cash = $calc(75 * $pgs.bidlevel($1,$2)) ;change this calc ^ to what u want, i think its a bit high at this... maybe $250? mta.pm $1 $2 Thank you for voting, Bonus $ $+ %cash For Your Time! pgs.add $mta.nick($1,$2) %cash } elseif ($prs.playerrating($1,$2) != Unrated) { !hadd prsmaprate %race $+ total $calc($iif($hget(prsmaprate,%race $+ total) == $null,0,$v1) - 1) !hadd prsmaprate %race $+ maxvotes $calc($iif($hget(prsmaprate,%race $+ maxvotes) == $null,0,$v1) - $prs.playerrating($1,$2)) } !hadd prsmaprate %nick $+ %race $4 !hadd prsmaprate %race $+ total $calc($iif($hget(prsmaprate,%race $+ total) == $null,0,$v1) + 1) !hadd prsmaprate %race $+ maxvotes $calc($iif($hget(prsmaprate,%race $+ maxvotes) == $null,0,$v1) + $4) mta.text $1 %nick Rated $mta.race($1) $+ : $prs.playerrating($1,$2) $+ /10 .timer 1 1 mta.text $1 Current Map Rating: $prs.rating($1) $+ /10 - Total Votes: $iif($hget(prsmaprate,%race $+ total) == $null,0,$v1) ; used to auto remove maps after 10 votes if map rating is less than 2. (the 10 votes and 2 rating can be changed to suit) if ($hget(prsmaprate,%race $+ total) == 10) && ($prs.rating($1) < 4) { !hadd prsstats removed $+ %race removed !hdel prstimes 1stnick $+ %race !hdel prstimes 1st $+ %race mta.text $1 $prs.mode($1) $+ : $mta.race($1) Had less then 4 rating so has been Auto-Removed } } } } Secondly, removing stats, i take it u mean totally wiping a players stats? if so, no, its not added and would take ages to do. theres probably around 2000 individual stats recorded per regular player, so as u can imagine, deleting these fully wouldnt be easy. why would people want new stats anyway? stats are stats, restarting them hardly makes them real stats, the only option they have is to modify their name. adding a full stop or something minor would do it. Hope this helps.
  19. on *:SIGNAL:mta.command: { if ($3 == !tournament) { if ($prs.level($1,$2) != 5) mta.pm $1 $2 Error: Level 5 Command! elseif ($4 == off) { mta.text $1 Tournament Stopped! !hdel -w prstemp tourney* } elseif ($4 !isnum) mta.pm $1 $2 Error: !tournament <number of rounds> elseif ($hget(prstemp,tourneyrounds) != $null) mta.pm $1 $2 Error: Tournament In Progress! else { !hadd prstemp tourneyrounds $4 mta.text $1 Tournament Will Start On Next Map, For $4 $iif($4 == 1,Round,Rounds) } } elseif ($3 == !rounds) { if ($hget(prstemp,tourneyrounds) == $null) mta.pm $1 $2 Error: No Tournament In Progress! else mta.text $1 Tournament Rounds Left: $hget(prstemp,tourneyrounds) } elseif ($3 == !tpoints) mta.text $1 $mta.nick($1,$2) $+ 's Points $hget(prstemp,tourneypoints $+ $mta.nick($1,$2)) } on *:SIGNAL:mta.startrace: { if ($hget(prstemp,tourneyrounds) != $null) mta.text $1 Tournament Rounds Remainding: $hget(prstemp,tourneyrounds) } on *:SIGNAL:prs.endrace: { if ($hget(prstemp,tourneyrounds) != $null) { var %a = $mta.nick($1,$2) !hadd prstemp tourneypoints $+ %a $calc($hget(prstemp,tourneypoints $+ %a) + 1) mta.text $1 Tournament Point Goes To %a $+ ! - Total: $hget(prstemp,tourneypoints $+ %a) !hadd prstemp tourneyrounds $calc($hget(prstemp,tourneyrounds) - 1) if ($hget(prstemp,tourneyrounds) == 0) { mta.text $1 Counting Tournament Scores.... .timer 1 5 prs.tourneyfinish $1- } } } alias prs.tourneyfinish { var %a = 0, %b, %c = 0, %d while (%a < %loop) { if ($mta.nick($1,%a) != $null) { %b = $hget(prstemp,tourneypoints $+ $mta.nick($1,%a)) if (%b > %c) { %d = $mta.nick($1,%a) %c = %b } } !inc %a } var %a = 0, %b, %e = 0 while (%a < %loop) { %b = $hget(prstemp,tourneypoints $+ $mta.nick($1,%a)) if ((%b == %c) && (%d != $mta.nick($1,%a))) { %e = 1 %d = %d $mta.nick($1,%a) } !inc %a } if (%e == 1) mta.text $1 Its A Draw With %c Points: %d else mta.text $1 Tournament Winner With %c Points: %d !hdel -w prstemp tourney* } sorry, i havent got round to even trying the script, try this one tho, fixed a bug
  20. if u have VC u can get writing and testing right away. if not, u'l have to wait for SA.
  21. no, not like ur button:P i told u how best to do it, but im sure ul do it ur own way.
  22. sounds like ur describing prs:P
  23. hehe no probs, i do have a few ideas for minor updates, but nothing worth worrying about just yet. i know some people use only DM and ive shown lines to convert, but it could be handy to have a button on the dialog. hardly worth a release just for that tho. also, maybe just a few extra's on the dialog. maybe i'll look into it if i get some more ideas and/or more time
  24. its already added, but not exactly like that, also its blanked out.. it looks like this: ; used to auto remove maps after 10 votes if map rating is less than 2. (the 10 votes and 2 rating can be changed to suit) ; if ($hget(prsmaprate,%race $+ total) == 10) && ($prs.rating($1) < 2) { ; !hadd prsstats removed $+ %race removed ; !hdel prstimes 1stnick $+ %race ; !hdel prstimes 1st $+ %race ; mta.text $1 $prs.mode($1) $+ : $mta.race($1) Has Been Auto-Removed ; } is this any good to u? if so, just remove the semicolons to make it work. its in 'alias prs.ratemap {' and works off the player ratings. its set to 10 votes but can be changed to whatever u like, also, set to once the map reaches below a rating of 2, which can also be changed.
  25. I think the 2/3 are yours tho
×
×
  • Create New...