JB_frozen
Members-
Posts
53 -
Joined
-
Last visited
Everything posted by JB_frozen
-
You never need a script to run CnR
-
/me hands housemd an ice cold beer
-
try to talk lines with caps on
-
there was already a posted script from lil toady : on *:SIGNAL:mta.text:{ if ($len($3-) > 10) && ($calc($len($3-) - $len($removecs($3-,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z))) >= $calc($len($3-) * 0.7)) { !writeini -n $+(",$mta.dir,$1.ini,") $2 warnings $calc($readini($mta.dir $+ $1.ini,$2,warnings) + 1) var %a = $readini($mta.dir $+ $1.ini,$2,warnings) if (%a >= 3) { mta.text $1 $mta.nick($1,$2) reached the warnings limit and will be muted! (Too much caps used) mta.mute $1 $2 } else mta.text $1 $mta.nick($1,$2) has been warned! $calc(3 - %a) more $iif($calc(3 - %a) == 1,warning,warnings) and he will be Muted! (too much caps used) } }
-
to see all your commands that are added can just be done by this: on *:text:!show*:#:{ var %x = 1, %z = $lines($scriptdir $+ commands.txt) while %x <= %z { !write -ds " $+ $scriptdir $+ commands.txt" n %x inc %x } }
-
so an example of what scoob means on *:TEXT:!restart*:*:{ if ($nick !isaop $chan) { /mta.disconnect 1 .timer 1 3 /mta.connect 1 /msg $chan Script Restarting. !.reload -rs $+(",$script,") } }
-
robic (here ad by ur own this one is maded by someone else in an other topic) on *:SIGNAL:mta.command: { addcom $1- if ($3 == !addcom) { if (!$4) mta.pm $1 $2 Error: !addcom elseif (!$5) mta.pm $1 $2 Error: !addcom elseif ($readini(addcom.ini,addcom,$4) != $null) mta.pm $1 $2 Command Already Created! else { if ($left($4,1) == $chr(33)) { mta.text $1 The command " $+ $4 $+ " has been added! !writeini -n addcom.ini addcom $4 $5- } else mta.pm $1 $2 You need a "!" infront of your command! } } elseif ($3 == !remcom) { if (!$4) mta.pm $1 $2 Error: !remcom elseif ($readini(addcom.ini,addcom,$4) == $null) mta.pm $1 $2 Command Never Created! else { if ($left($4,1) == $chr(33)) { mta.text $1 Command " $+ $4 $+ " Deleted! !remini -n addcom.ini addcom $4 } else mta.pm $1 $2 You need a "!" infront of your command } } } alias Addcom { if ($readini(addcom.ini,addcom,$3) != $null) mta.text $1 $readini(addcom.ini,addcom,$3) } i only toke the admin thingy out it you must change the commands by ur own and you must finger out by ur own how to make the script that u can use wildcards!
-
eh anderson *cough* oftopic *cough* advertise *cough* rules *cough*
-
well the question shall i post his request or not?!
-
*cough* i can make the exact same scripts to *cough*
-
look what i found with search http://forum.mtavc.com/viewtopic.php?t=19742
-
one thing, this forum has search funcions and btw that command is officialy from team neo
-
lolz and thx anderson
-
then you gonna ask alot more i think
-
its in gus and in prs 1.3 ![/code]
-
you mean finding things in $4 and more? try this $4-
-
you mean this!? on *:signal:mta.command:{ if ($3 == !cracksafe) { mta.pm $1 $2 you got 1 minute to crack the safe !writeini -n " $+ $scriptdir $+ safe.ini" timer $mta.nick($1,$2) 1 .timer 1 60 Next $1- } elseif ($3 == !crack) { if ($readini($scriptdir $+ safe.ini,timer,$mta.nick($1,$2)) == $null) { mta.pm $1 $2 you havent did !cracksafe first } else win $1- } } alias win { var %a = $rand(1,5),%b = $rand(1,500) if (%a == 3) { mta.pm $1 $2 you cracked the Safe and earned $ $+ %b !remini " $+ $scriptdir $+ safe.ini" timer $mta.nick($1,$2) pgs.add $mta.nick($1,$2) %b } else mta.pm $1 $2 you didnt make it your frend did explosives on the safe and you didnt notice! !remini " $+ $scriptdir $+ safe.ini" timer $mta.nick($1,$2) } alias next { if ($readini($scriptdir $+ safe.ini,timer,$mta.nick($1,$2)) == 1) { mta.pm $1 $2 you didnt make it the cops spotted you! !remini " $+ $scriptdir $+ safe.ini" timer $mta.nick($1,$2) } }
-
this is better and works better on *:Signal:mta.command:{ if ($3 == !wow) { 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) .oooO / ) ( \ Oooo. ( ) / ( ) \ ( ) \ ( ( ) ( ) ) / ----\_).oooO-Oooo.(_/---- pgs.sub $mta.nick($1,$2) %a } } btw it looks extremely much like mine sript with !rbuy
-
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 } }
-
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]
-
boh i thought: let me make someone happy for who wants it; you dont have to take it!
-
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
-
no. just load the script in thats all
-
just load the script in by script editor EG place thhe script in C:/myscripts and then goto script editor in IRC and goto the same file then load the script so easy and btw pgs 1.2 is already released that one is better