Jump to content

[UVA]Bart

Members
  • Posts

    359
  • Joined

  • Last visited

Everything posted by [UVA]Bart

  1. after doing !rrstats it then saves the players nick to a file for 60 seconds then to continue with the stat reset they have to do !okrace to compleatly reset them, they can only do !okrace if the !rrstats have been done first its kinda like a double thing to make it work
  2. wooooop more new things !search/checkmap searches for a map(belive it or not lmao) !rrstats/!resetracestatsresets all your race stats !okraceto do with the resetting of race stats !rdstats/!resetracestatsresets all your dm stats !okdmto do with the resetting of dm stats currently working on top times and a game or so... progress slow on this one cause am at collage more so will hope to get another release out within the nexe couple of weeks or so:)
  3. add me on msn a will explain it all on there: [email protected]
  4. gonna add a game and bet when a have a min and some other things as people think of them
  5. hi to inform you on some of the new aditions to the new slr-v-1.1.2 !sales the total ammount of sales a player has had. !gogo the winner gets to choose the next map if enabled on the control pannel !sell allows a player to sell 1st/2nd/3rd/dm wins/points again if enabled in the bank section of the control pannel. !buy allows a player to buy items that are for sale (the price of 1 item ie/1 point is set on the control pannel !addmail allows a player to add there email address !remmail to remove there email address !email to view a email
  6. totally useless post again , back to the specified topic mtasa slr-v-1.1.1 another one will be on the way sooooon with the broken things that people have specified fixed
  7. hum interesting point scoob lol made that one at collage then sent it home lol will try one with $ctime when a formatted my other computer that wont play mta for some unknown reason it just flashes random pixels
  8. the reason why "sanzors" wont work is its because its mine, he changed a few things! like allways. on *:SIGNAL:mta.connect { !timer 0 60 slr.unban $1- } on *:SIGNAL:mta.command { var %a = $iif(($4 == $null),$2,$iif(($mta.getid($1,$4) == $null),$2,$v1)) if ($3 == !ban) slr.baning $1- } alias slr.unbann !return $readini(24hban.ini,24hourban,24 $+ $mta.nick($1,$2)) alias slr.date !return $readini(24hban.ini,24hourban,$mta.nick($1,$2)) alias slr.unban { if ($slr.unban($1,$2) == banned) && ($slr.date($1,$2) < $date(d)) { !timer 1 86400 mta.unban $1 $slr.unbann($1,$2) !remini -n 24hban.ini 24hourban 24 $+ $mta.nick($1,$2) mta.text $1 Unbanning $slr.unbann($1,$2) in 24h - 86400secs } } alias slr.baning { var %a = $iif(($4 == $null),$2,$iif(($mta.getid($1,$4) == $null),$2,$v1)) if ($4 == $null) mta.pm $1 $2 Error: !ban <nick or id> elseif ($gus.level($1,$2) < 4) mta.pm $1 $2 Error: to use this command you need to be level 4 your level: $gus.level($1,$2) else { if ($gus.level($1,$2) >= 4) mta.ban $1 %a !writeini -n 24hban.ini 24hourban 24 $+ $mta.nick($1,%a) $mta.nick($1,%a) !writeini -n 24hban.ini 24hourban $mta.nick($1,%a) $date(d) } }
  9. think its a elseif problem on line 28 this line if ($slr.temp($1) == $slr.limit($1)) { change it to elseif ($slr.temp($1) == $slr.limit($1)) { let me know if it works as i still have no means of testing the script
  10. !writeini -n lag.nicks.ini BANNED $4- No why save things that arnt worth saving remove them lol !remini -n lag.nicks.ini BANNED $4-
  11. well you didnt say that lol this will work, i made the first one so that when you to !bannick to and theres a player in called todd it writed todd that way you dont have to type the whole nick lol this should work on *:SIGNAL:mta.join: { if ($readini($scriptdir $+ bannednick.ini,NICK,$mta.nick($1,$2)) == True) { .timer 1 1 mta.text $1 $mta.nick($1,$2) - nick banned, kicking... mta.kick $1 $2 } } on *:SIGNAL:mta.command { if ($3 == !bannick) { if ($gus.level($1,$2) > 6) { elseif ($readini($scriptdir $+ bannednick.ini,NICK,$4) != $null) { mta.pm $1 $2 Error - Nick $4 already banned. } else { if ($readini($scriptdir $+ bannednick.ini,NICK,$4) == $null) { !writeini -n " $+ $scriptdir $+ bannednick.ini" NICK $4 True !writeini -n " $+ $scriptdir $+ bannednick.ini" BANDETAILS $4 date: $date $+ , time: $time($gmt) $+ , by $mta.nick($1,$2) mta.text $1 $4 - nick banned. } else mta.pm $1 $2 Error - You need 7 lvl. } } } if ($3 == !unbannick) { if ($gus.level($1,$2) > 6) { elseif ($readini($scriptdir $+ bannednick.ini,NICK,$4) == $null) { mta.pm $1 $2 Error - Nick $4 isnt banned. } else { mta.text $1 $4 - nick unbanned. !remini -n " $+ $scriptdir $+ bannednick.ini" NICK $4 } else mta.pm $1 $2 Error - You need 7 lvl. } } }
  12. lol thats what im hoping for blue by making it better everytime lol making sell race positions and other stuff when my other computer is working but at the moment it keeps havin a fit
  13. all you have to do is type !bannick on *:SIGNAL:mta.join: { if ($readini($scriptdir $+ bannednick.ini,NICK,$mta.nick($1,$2)) == True) { mta.kick $1 $2 .timer 1 1 mta.text $1 $4 - nick banned, kicking... } } on *:SIGNAL:mta.command { var %x = $iif(($4 == $null),$2,$iif(($mta.getid($1,$4) == $null),$2,$v1)) if ($3 == !bannick) { if ($gus.level($1,$2) > 6) { elseif ($readini($scriptdir $+ bannednick.ini,NICK,$4) != $null) { mta.pm $1 $2 Error - Nick %n already banned. } else { if ($readini($scriptdir $+ bannednick.ini,NICK,$4) == $null) { !writeini -n " $+ $scriptdir $+ bannednick.ini" NICK %x True !writeini -n " $+ $scriptdir $+ bannednick.ini" BANDETAILS %x date: $date $+ , time: $time($gmt) $+ , by $mta.nick($1,$2) mta.text $1 %x - nick banned. } else mta.pm $1 $2 Error - You need 7 lvl. } } } if ($3 == !unbannick) { if ($gus.level($1,$2) > 6) { elseif ($readini($scriptdir $+ bannednick.ini,NICK,$4) == $null) { mta.pm $1 $2 Error - Nick %x isnt banned. } else { mta.text $1 %x - nick unbanned. !remini -n " $+ $scriptdir $+ bannednick.ini" NICK %x } else mta.pm $1 $2 Error - You need 7 lvl. } } }
  14. o lol gonna restore commy then will have a look at it for you
  15. dont change anything this time as it was broken the version you edited on *:SIGNAL:mta.join: { if ($readini($scriptdir $+ bannednick.ini,NICK,$mta.nick($1,$2)) == True) { mta.kick $1 $2 .timer 1 1 mta.text $1 $4 - nick banned, kicking... } } on *:SIGNAL:mta.command { var %x = $iif(($4 == $null),$2,$iif(($mta.getid($1,$4) == $null),$2,$v1)) if ($3 == !bannick) { if ($gus.level($1,$2) > 6) { elseif ($readini($scriptdir $+ bannednick.ini,NICK,%x) != $null) { mta.pm $1 $2 Error - Nick %n already banned. } else { if ($readini($scriptdir $+ bannednick.ini,NICK,%x) == $null) { !writeini -n " $+ $scriptdir $+ bannednick.ini" NICK %x True !writeini -n " $+ $scriptdir $+ bannednick.ini" BANDETAILS %x date: $date $+ , time: $time($gmt) $+ , by $mta.nick($1,$2) mta.text $1 %x - nick banned. } else mta.pm $1 $2 Error - You need 7 lvl. } } } if ($3 == !unbannick) { if ($gus.level($1,$2) > 6) { elseif ($readini($scriptdir $+ bannednick.ini,NICK,%x) == $null) { mta.pm $1 $2 Error - Nick %x isnt banned. } else { mta.text $1 %x - nick unbanned. !remini -n " $+ $scriptdir $+ bannednick.ini" NICK %x } else mta.pm $1 $2 Error - You need 7 lvl. } } }
  16. try this dazza its untested so any bugs report here, other computer broke. !limit for level 4 and above on *:SIGNAL:mta.connect { !.timerremini 0 1800 !remini -n slrtemp.ini played !.timertext 0 1800 mta.text $1 Disabled Maps Have Been Re-enabled! } on *:SIGNAL:mta.command { var %a = $iif(($4 == $null),$2,$iif(($mta.getid($1,$4) == $null),$2,$v1)) var %b = $replace($mta.race($1),$chr(32),%) if ($3 == !limit) { if ($mta.level($1,$2) < 4) mta.pm $1 $2 Error: Incorrect Level else { if ($mta.level($1,$2) >= 4) && ($slr.limit($1) == $null) { !writeini -n slrlimit.ini Maplimit %b $4 mta.text $1 $mta.nick($1,$2) Set $mta.race($1) $+ s Played Limit: $4 } else { if ($mta.level($1,$2) >= 4) && ($slr.limit($1) != $null) { !writeini -n slrlimit.ini Maplimit %b $4 mta.text $1 $mta.nick($1,$2) Changed $mta.race($1) $+ s Limit From: $slr.limit($1) - To: $4 } } } } } on *:SIGNAL:mta.startrace: { if ($slr.temp($1) < $slr.limit($1)) { !writeini -n slrtemp.ini played $replace($mta.race($1),$chr(32),%) $calc($slrtemp($1) + 1) } if ($slr.temp($1) == $slr.limit($1)) { mta.startrace $1 $rand(0,$mta.races($1)) mta.text $1 Starting Random Map $rand(0,$mta.races($1)) - Reason: Map Limit Breached, Disabled For 30 mins. } } alias slr.limit !return $iff($readini(slrlimit.ini,Maplimit,$replace($mta.race($1),$chr(32),%)) == $null,3,$v1) alias slr.temp !return $iff($readini($slrtemp.ini,played,$replace($mta.race($1),$chr(32),%)) == $null,0,$v1)
  17. var %x = $iif(($4 == $null),$2,$iif(($mta.getid($1,$4) == $null),$2,$v1)) if ($3 == !unbannick) { if ($gus.level($1,$2) > 6) { elseif ($readini($scriptdir $+ bannednick.ini,NICK,%x) == $null) { mta.pm $1 $2 Error - Nick %x isnt banned. } else { mta.text $1 %x - nick unbanned. !remini -n " $+ $scriptdir $+ bannednick.ini" NICK %x } else mta.pm $1 $2 Error - You need 7 lvl. } }
  18. you are reading it $mta.nick($1,$2) as $mta.nick($1,$4) where as it should be $2 small error nothing to worry about tho on *:SIGNAL:mta.join: { if ($readini($scriptdir $+ bannednick.ini,NICK,$mta.nick($1,$2)) == True) { mta.kick $1 $2 .timer 1 1 mta.text $1 $4 - nick banned, kicking... } }
  19. will sort it out when a get back from collage for you. Dazza
  20. errm, where to start well lil^san if you stop being annoying i will quite willingly check/help you with some problems in your script add me on msn [email protected]. The only way to make life easier on here is to do things your own way, a mean im no script genious and have to check the mirc help a few times but hey its part of learning. you can pester me for help on msn like i did when i was learning off scoob. perhaps you are trying to do to much for your first attempt at it, try making a small script then add things to it like money and points my first script wasnt anything special but now look at what its come to hashed! where before it was ini's
  21. no prob any problems post here mate. if you have any ideas then post them please.
  22. thanks scoob gonna try and make it better again lol making more newer commands so you can sell stuff for a price you specify and a few more dm stats
  23. [UVA]Bart

    wildcard name

    /me hates making small mistakes on small script lol cause they look even bigger mistakes
×
×
  • Create New...