SanZoR Posted May 1, 2007 Share Posted May 1, 2007 (edited) Hello, I have just finished my new !buy scripts. Please post there ideas, suggestions and anything what you want, and comment these scripts. All of them are tested, and works fine. REMEMBER: This version is ONLY for GUS. When i have free time, i will make them for PRS using hash tables. This one is using writeini commands. If you can modife it yourself, feel free to do it, but if you can wait few days i will do it. So there it goes: ----------------------------- ADDED SO FAR: --> !buykick - With this command you can buy kicks for some player. Price is $1000 --> !buyselffreeze - With this command you can freeze yourself for 15 seconds. Price is $200 --> !buyfreeze - With this command you can freeze another player for 5 seconds. This will be useful if there are you with monster and another player with normal car. Price is $200 --> !buystart - With this command you can start map what you want. Price is $500 ------------------------------ Feel free to edit prices and other stuff in scripts. So as i said, please post there !buy suggestions. If i have free time, i will add that in next version. ------------------------------ DOWNLOAD THIS SCRIPT HERE: http://pixelitaivas.com/buycommands.mrc ------------------------------ EDIT!!! PGS + PRS version out NOW!!! Download it HERE: http://pixelitaivas.com/buycommandsPGS.mrc Btw, someone, please check them! Im not sure am i done everything right, but i think so. Enjoy! ----------------------------- I hope you like them! - Lil'San^,^u<3 Edited May 2, 2007 by Guest Link to comment
Scooby Posted May 1, 2007 Share Posted May 1, 2007 maybe u should fix it first... i took a quick look and its got some bugs/errors and could do with some elseif's Link to comment
SanZoR Posted May 2, 2007 Author Share Posted May 2, 2007 i have added new prices into PGS version, please check PGS version out, cause im not sure am i did everything right way. Link to comment
Scooby Posted May 2, 2007 Share Posted May 2, 2007 i have added new prices into PGS version, please check PGS version out, cause im not sure am i did everything right way. now it wont work at all Link to comment
SanZoR Posted May 2, 2007 Author Share Posted May 2, 2007 lol, can you make that working? Link to comment
Scooby Posted May 2, 2007 Share Posted May 2, 2007 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. Link to comment
SanZoR Posted May 3, 2007 Author Share Posted May 3, 2007 Okay... I will try to edit prs version more... Btw, what was problem in gus version? Link to comment
Scooby Posted May 3, 2007 Share Posted May 3, 2007 well its almost identical... so the same errors really. Link to comment
SanZoR Posted May 4, 2007 Author Share Posted May 4, 2007 That works just fine, so i cannot see the error. Maybe i can add 'Signal' and under of it getid, but this one works fine too =P And im almost done my version 1.0, and i wanna it works perfectly, so i really wanna know what is wrong. Link to comment
PacMaan Posted May 4, 2007 Share Posted May 4, 2007 Personally i like the idea that i could !buystart a map like KOTH2, !buyfreeze someone i think most likely to beat me, !buyselffreeze once i hop on the cp stack, and in the unlikely event someone else does win, well i'll just !buykick the mf offline heheh Link to comment
Scooby Posted May 4, 2007 Share Posted May 4, 2007 lol pacmaan, nice! ok Lil'San^,^u<3, That works just fine, so i cannot see the error. Maybe i can add 'Signal' and under of it getid, but this one works fine too =P i already told u whats wrong... and why would u need to add signals and getid's? take this: on *:SIGNAL:mta.command: { if ($3 == !buykick) buy.kick $1- if ($3 == !buyselffreeze) buy.selffreeze $1- if ($3 == !buyfreeze) buy.freeze $1- if ($3 == !buystart) buy.start $1- if ($3 == !buy) { yes it will work, but mirc has to read the entire command alias coz u didnt add any elseif's. i very much doubt the whole script works since u have bracket errors. or maybe im looking at somthing u already fixed??? click the link and see for yourself! this is a minor error: alias buy.freeze { var %a = $iif((!$4),$2,$iif(($gus.getid($1,$4) == $null),$2,$v1)) if (%a == $null) mta.pm $1 $2 Error! Type !buykick also, maybe u should think about sending the ID/Name to the alias, since theyre all the same. then u can do away with all those var %a lines. Link to comment
HouseMD Posted May 5, 2007 Share Posted May 5, 2007 I think giving noobs admin powers is bad! so... be more creative, !buy map is good... my !buy script (not finished) has already some nice, not important, stuff... like "Friends List" where it PM's you when a friend has joined and you can say !friends (once you buy it ) and can see your online friends and not online friends! like "[uVA]Scooby - Not Online" or "Shadow_Lord - Online" this would help in a big and popular server! Link to comment
SanZoR Posted May 5, 2007 Author Share Posted May 5, 2007 Thanks for suggestions and anything else! Im almost done my version 1.0, and i have too friendlist there And i will make it for PGS, sure... Now i have done: - Friendlist - Own finish text. - Own join text. - own !nick text, where you can add anything what you want =D So... I will release them all, you have little time to post there more commands what you want be in next release! Link to comment
Scooby Posted May 5, 2007 Share Posted May 5, 2007 (edited) maybe u should try learning how to script better before u start adding new stuff to the broken script? u will find better ways to do things. i mean if u need someone to point out ur mistakes then maybe u should hold off untill it actually works.. just a suggestion Edited May 5, 2007 by Guest Link to comment
HouseMD Posted May 5, 2007 Share Posted May 5, 2007 I'll release mine after testing and thinking of some other cool stuff! Link to comment
Recommended Posts