[UVA]Bart
Members-
Posts
359 -
Joined
-
Last visited
Everything posted by [UVA]Bart
-
hum interesting point lol selliing things like race positions at a set price or even a specified price by the owner currently making a betting system and trying to make a installer so its easier to set up (not promising installer but i will give it a good bash )
-
lol want to learn lua but cannot test scripts but on the positive side i have got notepad ++
-
try this run it in a seperate script on *:SIGNAL:mta.command { if ($3 == !ban) slr.baning $1- } 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> else { if ($mta.level($1,$2) < 4) mta.pm $1 $2 Error: Incorrect Level if ($mta.level($1,$2) >= 4) mta.ban $1 %a mta.text $1 $mta.nick($1,$2) Has Just Banned: $mta.nick($1,%a) } }
-
Omg lil^san maybe you deserve a place on the betateam for that, or not, again you changed someones script to make it your own. By the way if you didnt know its level 4 for a reason because its only a 24hour ban so its nothing perminant, hence the lowish level !! you need to grow up and do something on your own i belive you been after the team MB's Gus script to use cause you cant even write your own !
-
ok i have fixed the !rank command and i am currently makeing something to use all your money on, then im planning on sorting the ! out that blue_sytem mentioned earlier any more small bugs or error you found you can post them here. currently taking ideas for buy, betting, and random other things
-
lol np, you can use $gus.level($1,$2) or $gus,level($1,%a). $gus.level($1,%a) means if some racer types !lol bart, it will say "racer is laughing out loud at [uva]bart" i usually it as ($1,%a) for other players nicks and ($1,$2) for returning the who initiated the commands nick
-
stfu! lil^san you are really winding me up now slight mistake, unlike what you promised people and didnt deliver the script, not even now! here try this mate 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) alias slr.unban { if ($slr.unban($1,%a) != $null) { !timer 1 86400 mta.unban $1 $slr.unbann($1,%a) mta.text $1 Unbanning $slr.unbann($1,%a) 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> else { if ($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) if ($gus.level($1,$2) >= 4) mta.ban $1 %a !writeini -n 24hban.ini 24hourban 24 $mta.nick($1,%a) slr.unban $1- }
-
ok can you check if there is a "slrcommands.ini" where you have got the script stored. if theres some thing wrote in it then its the way i have changed way you use the command i will need to get back to you on it as i will need to test it further when i have a min.
-
the file you uploaded prs.1.3 and gus, you want to merge gus + my slr + scoobys prs 1.3 ? in one script there will be very similar commands that may cause it to do some commands twice like stats it will show gus stats, prs stats and my stats
-
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) alias slr.unban { if ($slr.unban($1,%a) != $null) { !timer 1 86400 mta.unban $1 $slr.unbann($1,%a) mta.text $1 Unbanning $slr.unbann($1,%a) in 24h - 86400secs } } alias slr.baning { var %a = $iif(($4 == $null),$2,$iif(($slr.id($1,$4) == $null),$2,$v1)) if ($4 == $null) mta.pm $1 $2 Error: !ban <nick or id> else { if ($mta.level($1,$2) < 4) mta.pm $1 $2 $slr.inco if ($mta.level($1,$2) >= 4) mta.ban $1 %a !writeini -n 24hban.ini 24hourban 24 $mta.nick($1,%a) slr.unban $1- } }
-
It seems like it almost work, it doesn't show message "Kicking Ford - Ping 350 - Max Ping 300" but kicks player anyway What's wrong? ping kicker think it will work. alias gus.pingkick { var %a = 0 while (%a < $mta.server($1).cmax) { if ($mta.nick($1,%a) != -1 && $gus.maxping($1) isnum) { if ($mta.ping($1,%a) >= $gus.maxping($1) && $mta.ping($1,%a) != 0) && ($gus.level($1,%a) < 1) { mta.text $1 Kicking $mta.nick($1,%a) - Ping: $mta.ping($1,%a) - Max Ping: $gus.maxping($1) $mta.kick($1,%a) } !inc %a } } } the warn one there wasnt a space between the signal and the bracket causing a bracket mismatch alias gus.warns !return $iif($readini(gus.warns.ini,WARNS,$mta.nick($1,$2)),$v1,0) alias gus.getid { var %a = 0 while (%a <= $mta.server($1).cmax) { if ($+(*,$2,*) iswm $mta.nick($1,%a)) !return %a !inc %a } !return -1 } on *:SIGNAL:mta.command:{ var %a = $iif($4,$iif($mta.nick($1,$4) != $null,$4,$gus.getid($1,$4)),$2) if ($3 == !warn) { if ($gus.level($1,$2) < 7) Error - Level Needed 7 else { !writeini -n gus.warns.ini WARNS $mta.nick($1,%a) $calc($gus.warns($1,%a) + 1) if ($gus.warns($1,%a) = 1) { mta.text $1 Admin $mta.nick($1,$2) warned $mta.nick($1,%a) $+ , total warnings: $gus.warns($1,%a) $+ /3 ! } else { if ($gus.warns($1,%a) = 2) { mta.text $1 Admin $mta.nick($1,$2) warned $mta.nick($1,%a) $+ , total warnings: $gus.warns($1,%a) $+ /3 ! .timer 1 1 mta.kick $1 %a } else ( if ($gus.warns($1,%a) => 3) { mta.text $1 Admin $mta.nick($1,$2) warned $mta.nick($1,%a) $+ , total warnings: $gus.warns($1,%a) $+ /3 ! .timer 1 1 mta.ban $1 %a } } } } elseif ($3 == !unwarn) { if ($gus.level($1,$2) < 7) Error - Level Needed 7 else { !writeini -n gus.warns.ini WARNS $mta.nick($1,%a) 0 mta.text $1 Admin $mta.nick($1,$2) removed all warnings for $mta.nick($1,%a) $+ ! } } } } on *:SIGNAL:mta.join: { if ($gus.warns($1,%a) => 3) { mta.text $1 $mta.nick($1,%a) has more than 3 warnings. .timer 1 1 mta.ban $1 %a } }
-
try this, !points !cash on *:SIGNAL:mta.command { var %a = $iif(($4 == $null),$2,$iif(($mta.getid($1,$4) == $null),$2,$v1)) if ($3 == !points) mta.text $1 $mta.nick($1,%a) $+ 's points: $slr.points($1,%a) elseif ($3 == !cash) || ($3 == !money) mta.text $1 $mta.nick($1,%a) $+ 's cash: $slr.cash($1,%a) } 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.cash !return $iif($readini(cash.ini,cash,$mta.nick($1,$2)) == $null,0,$v1) alias slr.points !return $iif($readini(cash.ini,points,$mta.nick($1,$2)) == $null,0,$v1) 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) $+ ! !writeini -n cash.ini cash $mta.nick($1,%a) $calc($slr.cash($1,%a) + 10) !writeini -n cash.ini points $mta.nick($1,%a) $calc($slr.points($1,%a) + 5) !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 } }
-
you been editing it your self, because that might be the cause of the cash and points problem from when a player dies. also its not slr.id its $slr.id($1,$2) or you can use $mta.nick($1,%a)
-
blue_system for the added commands i changed it to just !lol as !- lol was a bit rubbish and thanks scoob for helping people i have no time at the moment because of building a house problems any way will try and get on when a have a free min
-
stats wont work there are only !racestats/rstats and !dmstats/dstats as there is a lot of stats to be shown at once if it was just !stats and i will have a look in to the death: counter when a have a min. do you have any ideas that you would like to see in the next release ?
-
its because if a player quits it counts the players allready as total in the server - 1
-
dont strop at me omg i cant test things at the mo cause mi othere computer down! spotted the error on my version alias gus.new !return $iif($readini(gus.map.ini,NEW,SERVER $+ $1),$v1,0) alias gus.vote !return $readini(gus.map.ini,Voted,$mta.nick($1,$2)) on *:SIGNAL:mta.command:{ if ($3 == !new) && ($gus.vote($1,$2) == $null) { !writeini -n gus.map.ini NEW SERVER $+ $1 $calc($gus.new($1) + 1) !writeini -n gus.map.ini Voted $mta.nick($1,$2) voted if ($gus.new($1) < $calc($mta.server($1).players - 1)) && ($gus.nick($1.$2) != Unknown) { mta.text $1 $mta.nick($1,$2) voted a new race! Votes needed $calc(($calc($mta.server($1).players - 1) )- $gus.new($1)) $+ / $+ $calc($mta.server($1).players - 1) } else { if ($gus.new($1) == $calc($mta.server($1).players - 1)) { mta.text $1 $mta.nick($1,$2) voted a new race! No Votes needed random map starting! .timer 1 1 mta.startrace $1 $rand(1,$mta.races($1)) !remini -n gus.map.ini NEW SERVER $+ $1 !remini -n gus.map.ini Voted } } } } on *:SIGNAL:mta.endrace:{ !remini -n gus.map.ini }
-
a random message will be shown every 60 seconds till you stop it.
-
ahh ok will test it when a have a min when a get home will update it asap thanks for the report any more new ideas blue ?
-
alias gus.new !return $iif($readini(gus.map.ini,NEW,SERVER $+ $1),$v1,0) alias gus.vote !return $readini(gus.map.ini,Voted,$mta.nick($1,$2)) on *:SIGNAL:mta.command:{ if ($3 == !new) && ($gus.vote($1,$2) == $null) { !writeini -n gus.map.ini NEW SERVER $+ $1 $calc($gus.new($1) + 1) !writeini -n gus.map.ini NEW $mta.nick($1,$2) voted if ($gus.new($1) < $calc($mta.server($1).players - 1)) && ($gus.nick($1.$2) != Unknown) { mta.text $1 $mta.nick($1,$2) voted a new race! Votes needed $calc(($calc($mta.server($1).players - 1) )- $gus.new($1)) $+ / $+ $calc($mta.server($1).players - 1) } else { if ($gus.new($1) == $calc($mta.server($1).players -1)) { mta.text $1 $mta.nick($1,$2) voted a new race! No Votes needed random map starting! .timer 1 1 mta.startrace $1 $rand(1,$mta.races($1)) !remini -n gus.map.ini NEW SERVER $+ $1 !remini -n gus.vote.ini Voted } } } } on *:SIGNAL:mta.endrace:{ !remini -n gus.map.ini NEW SERVER $+ $1 !remini -n gus.vote.ini Voted }
-
whats the calc for in this line if (gus.new($1) < $calc($mta.server($1).players)) alias gus.new !return $iif($readini(gus.map.ini,NEW,SERVER $+ $1),$v1,0) on *:SIGNAL:mta.command:{ if ($3 == !new) { !writeini -n gus.map.ini NEW SERVER $+ $1 $calc($gus.new($1) + 1) if ($gus.new($1) < $calc($mta.server($1).players - 1)) && ($gus.nick($1.$2) != Unknown) { mta.text $1 $mta.nick($1,$2) voted a new race! Votes needed $calc(($calc($mta.server($1).players - 1) )- $gus.new($1)) $+ / $+ $calc($mta.server($1).players - 1) } else { if ($gus.new($1) == $calc($mta.server($1).players -1)) { mta.text $1 $mta.nick($1,$2) voted a new race! No Votes needed random map starting! .timer 1 1 mta.startrace $1 $rand(1,$mta.races($1)) !remini -n gus.map.ini NEW SERVER $+ $1 } } } } on *:SIGNAL:mta.endrace:{ !writeini -n gus.map.ini NEW SERVER $+ $1 0 }
-
does it allways say you dont have enough money ? also have you set the map price in the bank config ? click on the new button i changed it lol:P
-
few small errors not to worry tho make sure you use $gus.warns($1,$2) the same for the new one you missed the $ off