JB_frozen Posted May 1, 2007 Share Posted May 1, 2007 hi i wrote a simple script what will work with pgs from scooby if you want to have it.. here it is! on *:Signal:mta.command:{ if ($3 == !rbuy) { var %a = $rand(1,200) if (%a > $pgs.cash($1,$2)) mta.pm $1 $2 Error: Not Enough Cash mta.text $1 $mta.nick($1,$2) has bought $4 for $ $+ %a pgs.sub $mta.nick($1,$2) %a } feel free to add you can buy all things you want and you can edit the command to just change the !rbuy to anything you want but i did !rbuy couse !buy already was in use Link to comment
SanZoR Posted May 2, 2007 Share Posted May 2, 2007 Did you wrote this with notepad? Looks noobish, and why did you wrote that like ''Signal'' You need to use ''SIGNAL''... However, this script is kinda useless... Link to comment
lil Toady Posted May 2, 2007 Share Posted May 2, 2007 Looks noobish, and why did you wrote that like ''Signal'' You need to use ''SIGNAL''... why would it look noobish? somebody might want it. And that Signal, it doesnt really matter how you write it.. 'signal', 'sIgNaL', 'SIGNAL' all will work the same Link to comment
JB_frozen Posted May 2, 2007 Author Share Posted May 2, 2007 boh i thought: let me make someone happy for who wants it; you dont have to take it! Link to comment
Scooby Posted May 2, 2007 Share Posted May 2, 2007 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) Link to comment
JB_frozen Posted May 2, 2007 Author Share Posted May 2, 2007 (edited) lmao actually scoob i learned how to script for mta sa by seeing other's work and ask a bit around how to do things [edit] after looking at my own work of this small script i can better fix it if you not have enough cash it will still work and i forgot a bracket [/code] Edited May 2, 2007 by Guest Link to comment
Scooby Posted May 2, 2007 Share Posted May 2, 2007 hehe well next time remeber to post that final } for the noobs Link to comment
JB_frozen Posted May 2, 2007 Author Share Posted May 2, 2007 hre is the fixed one: on *:Signal:mta.command:{ if ($3 == !rbuy) { var %a = $rand(1,200) if (%a > $pgs.cash($1,$2)) mta.pm $1 $2 Error: Not Enough Cash mta.text $1 $mta.nick($1,$2) has bought $4 for $ $+ %a pgs.sub $mta.nick($1,$2) %a } } Link to comment
Scooby Posted May 2, 2007 Share Posted May 2, 2007 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 } } Link to comment
NeO_Anderson Posted May 10, 2007 Share Posted May 10, 2007 Did you wrote this with notepad? Looks noobish, and why did you wrote that like ''Signal'' You need to use ''SIGNAL''... However, this script is kinda useless... ROFL and your calling his work "noobish" ? And in my opinion, using notepad to create a script is harder than using the normal script editor that mIRC has since nothing is spaced out properly in notepad... so there is really only one "noobish" scripter here... Link to comment
stylo Posted May 10, 2007 Share Posted May 10, 2007 ROFL and your calling his work "noobish" ? And in my opinion, using notepad to create a script is harder than using the normal script editor that mIRC has since nothing is spaced out properly in notepad... so there is really only one "noobish" scripter here... I guess that's a big: POWND Link to comment
Recommended Posts