Jump to content

Scooby

MTA Contributors
  • Posts

    976
  • Joined

  • Last visited

Everything posted by Scooby

  1. Scooby

    voting a map

    vote the map first i didnt include an instant map change vote system since so many people said they didnt like the idea of a new map being started while someone could be busy racing.. i know i never liked it, id be busy racing my heart out, way out in front, then a new map would come on and im like WTF!!! i was about to set a top time! anyway... the actual votemap system can be easily altered to start the map instatly.(if u really want to:P) replace this. alias checkmapvotes { if ($numtok($hget(prstemp,votemapvoter),41) == $ceil($calc($prs.players($1) / 1.5))) { mta.text $1 Vote Limit Reached, Next Map: $replace($hget(prstemp,votemapname),$chr(63),$chr(32)) mta.startrace $1 $mta.races($1,$replace($hget(prstemp,votemapname),$chr(63),$chr(32))) } }
  2. hehe its all good, i think most would have just cut the command and pasted it in if they wanted to use it. ok so here is the fixed version. sry, didnt notice it earlier:P like so: if ($3 == !rbuy) { var %a = $rand(1,200) if (%a > $pgs.cash($1,$2)) mta.pm $1 $2 Error: Not Enough Cash else { mta.text $1 $mta.nick($1,$2) has bought $4 for $ $+ %a pgs.sub $mta.nick($1,$2) %a } }
  3. hehe well next time remeber to post that final } for the noobs
  4. i actually looked at it and thought u did a nice job frozen. short, and does the job. (works too!) b4 u criticise other peoples work, u should maybe go fix some of ur own work that u have posted here (that doesnt work)
  5. Scooby

    voting a map

    !new is for instant map vote.
  6. i gave people plenty of time to ask for reasonable stuff to be added, 2 of those commands are already in PGS, and the buying of kicks and freezes sounds a little over the top, which is why i didnt add them. i could fix it, but its urs... so really if u got this far, u can finish it off, theres not much to do. remember the format: if - elseif - else u have: if - if - if both work. but using elseif will speed the script up. ur !buykick alias is mixed into mta.command alias, u need to lift one of the }'s up from below. a few other very minor things too, but it should work if u do those and just have a quick check thru.
  7. Well i have finished adding the things needed, its currently running on 2 servers and im fixing bugs when i find them. ive been pretty busy just lately so i havent had much time to do anything to it. i also made a top 100 times map rank system (this is variable from 1 to 999), im not sure if im going to add this yet tho. i doubt it will be long before i release it, i just want to iron out as many bugs as i can b4 i do so, theres not many major changes for the user, most things are for admins.
  8. Scooby

    Super Alias!

    This isnt for PRS, wont work so dont bother... editing 1 or 2 words doesnt make u any better...
  9. Scooby

    IRC script problems

    well thats all i have, and in mta.mrc, in alias mta.echo, i just have uva.echo $1- wierd how urs isnt working tho.. hope u find out the prob:) let me know if u do ok.
  10. Scooby

    IRC script problems

    strange, i have this alias run from mta.text: alias uva.echo { if ( IRC: !isin $1-) { if (*.*.* iswm $5) !msg #uva.echo $3 $4 elseif (Admin isin $2) !msg #uva.echo $3- else !msg #uva.echo $2- } } the top line was the only one needed, i just use the others for colours. this works fine for me.
  11. Scooby

    Super Alias!

    well i didnt know either till i realised some while loops wouldnt post.
  12. Scooby

    IRC script problems

    u need to add a check into ur line on mta.text u have: /msg #test $mta.nick(1,$2) $+ : 1 $3- which will echo all text back to ur irc server, u need to make it something like: if ( IRC: !isin $1-) /msg #test $mta.nick(1,$2) $+ : 1 $3- this will stop it echoing back.
  13. Scooby

    Super Alias!

    u should always preview it b4 u post... noone can use that like that
  14. seems a good idea, not sure if its an easy change for me to explain tho open ur script and replace all instances of: $pgs.incbidlevel($1) with: $calc($pgs.incbidlevel($1) * $pgs.bidlevel($1,$2)) u will also need to change the item message price to something like POA since it will vary for every player. i will add this to the next version if u want to wait.
  15. maybe u should fix it first... i took a quick look and its got some bugs/errors and could do with some elseif's
  16. hmm for what reason would u !Rec someone tho? and what good would it do?
  17. well i dont see how u guys, again seem to have so much money... i started with 5000, with max bid of 1000, 25k per bidlevel, im up to level 10 now, and still it seems ok. i run this on 3 other servers with the same settings and none of them seem to be having any problems either. so either ur server is full 24/7 or u need to maybe increase prices:P whats ur server called? i want to come and see how its running...
  18. of course this wouldnt have been a problem if u hadnt made them so cheap... but yeah. ok find this line: if (%item == bidlevel) %price = $pgs.incbidlevel($1) it should be around line 352, its in the alias pgs.fixedbuy. replace this line with: if (%item == bidlevel) { if ($pgs.bidlevel($1,$2) < 20) %price = $pgs.incbidlevel($1) else { mta.pm $1 $2 Max Bidlevel Reached! !halt } } as u can see its set to 20, u can change this to whatever u like. also u should think about the prices of things more.. then u wont get this problem. any probs, just let me know.
  19. there is no way to manually login if they havent been added to the config. those added to the config would press f8 to bring up the console, then type: rcon_login theirpass for those added via the script (in GUS), they should auto login when they join, it works on their IP, so as long as that doesnt change theyre ok.
  20. hmm i wrote it for some1... they just asked for it but i wasnt sure how it works, its on the forum around here somewhere. Ahh i see, i think i get u now. when i wrote it, the explaination for its use was a little vague. so this is just for admins? coz surely if anyone could use it, it would be abused?
  21. wierd:P ok heres the full alias: alias pgs.transfer { var %a = $iif($hget(pgscash,$4) == $null,0,$v1) if ($mta.level($1,$2) < 5) mta.pm $1 $2 Error: Level 5 Admins Only! elseif (($4 == $null) || ($5 == $null) || ($6 == $null) || ($6 !isnum)) { mta.pm $1 $2 Type: !transfer mta.pm $1 $2 Use Exact names, no wildcards! mta.pm $1 $2 Sends Cash From Nick1 to Nick2. } elseif ($calc(%a - $6) < 0) mta.pm $1 $2 Error $4 $+ 's Cash: $ $+ %a else { pgs.sub $4 $6 pgs.add $5 $6 mta.text $1 $mta.nick($1,$2) Transfered $ $+ $6 From $4 To $5 } } find that alias and replace with: alias pgs.transfer { var %a = $iif($hget(pgscash,$4) == $null,0,$v1) if ($gus.level($1,$2) < 10) mta.pm $1 $2 Error: Level 10 Admins Only! elseif (($4 == $null) || ($5 == $null) || ($6 == $null) || ($6 !isnum)) { mta.pm $1 $2 Type: !transfer mta.pm $1 $2 Use Exact names, no wildcards! mta.pm $1 $2 Sends Cash From Nick1 to Nick2. } elseif ($calc(%a - $6) < 0) mta.pm $1 $2 Error $4 $+ 's Cash: $ $+ %a else { pgs.sub $4 $6 pgs.add $5 $6 mta.text $1 $mta.nick($1,$2) Transfered $ $+ $6 From $4 To $5 } } lol it couldnt have been far off 155
×
×
  • Create New...