Jump to content

[UVA]Bart

Members
  • Posts

    359
  • Joined

  • Last visited

Everything posted by [UVA]Bart

  1. it should bring up slr controle pannel ? fill in the details select the button text and put it to pm and then click on button 2 times and fill in the welcome message lol and fill in the other empty boxes as numbers from 1-10 for the admin command levels
  2. ok download slr-v-1.1 10 level admin system or mta.prs 1.3 they both have a auto message that you can configure in the control pannel!
  3. bassically for the money protection you can do !addpass and it gives you a random number assigned to you so when you login to bank manually you can access your money or if your ip matches the one from when you did !addpass then it autologs you in but if your ip has changed it asks for pass you can remove your own pass by !rempass
  4. try this one if that doesnt work then dunno why, what you are doing wrong cause the script is right ! on *:SIGNAL:mta.connect { .timer 1 2 mta.text $1 My Script Reactivated } on *:SIGNAL:mta.join { .timer 1 2 mta.pm $1 $2 Hello $mta.nick($1,$2) $+ , Welcome To My Server. }
  5. put that in and save it then reconnect to the server via mta:ma aeron and in the window if you have done it correctly it will say "My Script Reactivated" on *:SIGNAL:mta.connect { .timer 1 2 mta.text $1 My Script Reactivated } on *:SIGNAL:mta.join { mta.pm $1 $2 Hello $mta.nick($1,$2) $+ , Welcome To My Server. }
  6. will be in a day or two lol testing it cause its hashed now not ini's
  7. [UVA]Bart

    Swear filter.

    lol mine uses ip toady like the alias command it gets all there nicks and then if the ip matches one of the nicks uses then auto mute wd lagzilla
  8. it send in chatbox : 2 Welcome nickname! (the server say this message at everybody...) ok replace your bit with this on *:SIGNAL:mta.join:{ mta.pm $1 $2 Welcome $mta.nick($1,$2) $+ ! }
  9. alter the first one to mta.pm $1 $2 instead of mta.text $1
  10. [UVA]Bart

    Swear filter.

    Thats my attempt lol it saves the ip with all the players nicks so if a player changes there nick its recorded next to there ip and if they use that nick they are muted again !addmute !remmute on *:SIGNAL:mta.join: { if ($slr.ip($1,%a) == $mta.ip($1,%a)) { slr.checkpmute $1- } if ($readini(slrmute.ini,perminantmute,$mta.ip($1,$2)) == $null) { !writeini -n slrmute.ini perminantmute $mta.ip($1,$2) $mta.nick($1,$2) } else { if ($mta.nick($1,$2) !isin $readini(slrmute.ini,perminantmute,$mta.ip($1,$2))) { if ($numtok($readini(slrmute.ini,perminantmute,$mta.ip($1,$2)),32) <= 10) { !writeini -n slrmute.ini perminantmute $mta.ip($1,$2) $readini(slrmute.ini,perminantmute,$mta.ip($1,$2)) $+ , $mta.nick($1,$2) } } } } on *:SIGNAL:mta.command:{ var %a = $iif(($4 == $null),$2,$iif(($mta.getid($1,$4) == $null),$2,$v1)) if ($3 == !addmute) { if ($4 == $null) mta.pm $1 $2 Error: !addmute <nick> elseif ($mta.level($1,$2) < 4) mta.pm $1 $2 Error: Incorrect Admin Level else { if ($mta.level($1,$2) >= 4) { !writeini -n slrmute.ini perminantmute $mta.ip($1,$2) $readini(slrmute.ini,perminantmute,$mta.ip($1,$2)) $+ , $mta.nick($1,$2) !writeini -n slrmute.ini perminantmute $mta.nick($1,%a) $+ muted yes mta.pm $1 $2 $mta.nick($1,%a) Has Been Added To The Perminant Mute File. } } } if ($3 == !remmute) { if ($4 == $null) mta.pm $1 $2 Error: !remmute <nick> elseif ($mta.level($1,$2) < 4) mta.pm $1 $2 Error: Incorrect Admin Level else { if ($mta.level($1,$2) >= 4) { !remini slrmute.ini perminantmute $mta.ip($1,%a) !remini slrmute.ini perminantmute $mta.nick($1,%a) $+ muted mta.pm $1 $2 $mta.nick($1,%a) Has Been Removed From The Perminant Mute File. } } } } on *:SIGNAL:mta.nick { if ($slr.ip($1,%a) == $mta.ip($1,%a)) { if ($readini(slrmute.ini,perminantmute,$mta.ip($1,$2)) == $null) { !writeini -n slrmute.ini perminantmute $mta.ip($1,$2) $mta.nick($1,$2) } else { if ($mta.nick($1,$2) !isin $readini(slrmute.ini,perminantmute,$mta.ip($1,$2))) { if ($numtok($readini(slrmute.ini,perminantmute,$mta.ip($1,$2)),32) <= 10) { !writeini -n slrmute.ini perminantmute $mta.ip($1,$2) $readini(slrmute.ini,perminantmute,$mta.ip($1,$2)) $+ , $mta.nick($1,$2) } } } } } alias slr.ip !return $readini(slrmute.ini,perminantmute,$mta.ip($1,$2)) alias slr.muted !return $readini(slrmute.ini,perminantmute,$mta.nick($1,$2) $+ muted) alias slr.checkpmute { var %a = $iif(($4 == $null),$2,$iif(($mta.getid($1,$4) == $null),$2,$v1)) if ($slr.muted($1,%a) == yes) && ($mta.nick($1,%a) isin $slr.ip($1,%a)) { mta.text $1 Perminantly Muting $mta.nick($1,%a) mta.mute $1 %a } }
  11. i use $+ to join to words when writing ini's , hash or text as it doesnt show the text when you put say hello! so that would be hello $+ ! which joins them together ask toady for a more detailed explination
  12. dam your good lil^toady lol just beat me to the $+ lol
  13. and you say you can script lil^san /me shakes my head at him in !
  14. i can indeed thats why i wrote a response so houses sources are writing it and not you!
  15. on *:SIGNAL:mta.startrace: { if ($mta.nick($1,$2) != $null) { !writeini -n ad.ini tot total $mta.server($1).players slr.starting $1- } } on *:SIGNAL:mta.part: { if ($readini(ad.ini,ad,$mta.nick($1,$2)) == Alive) { !writeini -n ad.ini tot total $calc($slr.tot($1) - 1) !writeini -n ad.ini ad $mta.nick($1,$2) DEAD if ($slr.tot($1) == 1) mta.end $1- } } on *:SIGNAL:mta.death: { !writeini -n ad.ini tot total $calc($slr.tot($1) - 1) !writeini -n ad.ini ad $mta.nick($1,$2) DEAD if ($slr.tot($1) == 1) mta.end $1- } alias slr.tot !return $readini(ad.ini,tot,total) alias slr.starting { var %a = 0 while (%a <= $mta.server($1).cmax) { !writeini ad.ini ad $mta.nick($1,%a) Alive !inc %a } } alias mta.end { var %a = 0 while (%a <= $mta.server($1).cmax) { if ($readini(ad.ini,ad,$mta.nick($1,%a) == Alive)) { if ($mta.nick($1,%a) != $null) { mta.text $1 $mta.race($1) $+ : The Last Man Standing Is $mta.nick($1,%a) $+ ! !remini ad.ini tot !remini ad.ini ad !writeini -n stats.ini WINS $mta.nick($1,%a) $calc($readini(stats.ini,WINS,$mta.nick($1,%a)) + 1) !halt } } !inc %a } } shouldnt crash it now
  16. done the money protection thing altred my cashin command so that when they want there money out it checks there ip for auto or asks them a pass
  17. yawnnnnnnnnn house this house that lol you mean house does everything and you do nothing if he has been inactive then why havent you done it ?
  18. alll im gonna say is where the f*** is shs ? when i released 2 of my versions after you promised people that it was coming every week but nothing happend ? this shows you cant script cause the basic stuff onli takes a small ammount of time to make then its just a case of making it do better things but ? wheres yours if your soooooo good at scripting, and that mistake is because i didnt even test it i just wrote it in here so.......
  19. lol slight mistakes they the same on both so, plus i didnt test it lol but on the bright side its better than lil^sans
  20. lil^san lol you probably allready changed prs to shs also i bet you dont even know what a alias is lol because yours had useless stuff in it which i removed and by the way i used slr so immature people like you couldnt copie it and use it as your own
  21. wil do but not ablt to now lol drunk
  22. give this a bash on *:SIGNAL:mta.startrace: { if ($mta.nick($1,$2) != $null) { !writeini -n ad.ini tot total $mta.server($1).players slr.starting $1- } } on *:SIGNAL:mta.part: { if ($readini(ad.ini,ad,$mta.nick($1,$2)) == Alive) { !writeini -n ad.ini tot total $calc($slr.tot($1) - 1) !writeini -n ad.ini ad $mta.nick($1,$2) DEAD if ($slr.tot($1) == 1) mta.end $1- } } on *:SIGNAL:mta.death: { !writeini -n ad.ini tot total $calc($slr.tot($1) - 1) !writeini -n ad.ini ad $mta.nick($1,$2) DEAD if ($slr.tot($1) == 1) mta.end $1- } alias slr.tot !return $readini(ad.ini,tot,total) alias slr.starting { var %a = 0 while (%a <= $mta.server($1).cmax) { !writeini ad.ini ad $mta.nick($1,%a) Alive } !inc %a } alias mta.end { var %a = 0 while (%a <= $mta.server($1).cmax) { if ($readini(ad.ini,ad,$mta.nick($1,%a) == Alive)) { if ($mta.nick($1,%a) != $null) { mta.text $1 $mta.race($1) $+ : The Last Man Standing Is $mta.nick($1,%a) $+ ! !remini ad.ini tot !remini ad.ini ad !writeini -n stats.ini WINS $mta.nick($1,%a) $calc($readini(stats.ini,WINS,$mta.nick($1,%a)) + 1) !halt } !inc %a } } }
  23. probably lol thats coppied from my first ever release lol and not changed it will change it for the hashed version lol seeeeee scoob should do a combined on or not for this one but for mtasa:dm
  24. dude you really dont know ewt lol you got 2 bracket mismatches and your writing the players id to the folder which change! yours but i think fixed now and changed on *:SIGNAL:mta.startrace: { if ($mta.nick($1,$2) != $null) { !writeini -n ad.ini tot total $mta.server($1).players slr.starting $1- } } on *:SIGNAL:mta.part: { if ($readini(ad.ini,ad,$mta.nick($1,$2)) == Alive) { !writeini -n ad.ini tot total $calc($slr.tot($1) - 1) !writeini -n ad.ini ad $mta.nick($1,$2) DEAD if ($slr.tot($1) == 1) mta.end $1- } } on *:SIGNAL:mta.death: { !writeini -n ad.ini tot total $calc($slr.tot($1) - 1) !writeini -n ad.ini ad $mta.nick($1,$2) DEAD if ($slr.tot($1) == 1) mta.end $1- } alias slr.tot !return $readini(ad.ini,tot,total) alias slr.starting { var %a = 0 while (%a <= $mta.server($1).cmax) { !writeini ad.ini ad $mta.nick($1,%a) Alive } !inc %a } alias mta.end { var %a = 0 while (%a <= $mta.server($1).cmax) { if ($readini(ad.ini,ad,$mta.nick($1,%a) == Alive)) { if ($mta.nick($1,%a) != $null) { mta.text $1 $mta.race($1) $+ : The Last Man Standing Is $mta.nick($1,%a) $+ ! !remini ad.ini tot !remini ad.ini ad !writeini -n stats.ini WINS $mta.nick($1,%a) $calc($readini(stats.ini,WINS,$mta.nick($1,%a)) + 1) !halt } !inc %a } } }
  25. basically you want to find the last one alive ?
×
×
  • Create New...