andeh Posted January 1, 2005 Share Posted January 1, 2005 everyone add this to your script:alias mta.cheat {mta.ban $1 $2 } thanks. wtf would that alias do on its own. Link to comment
Shib Posted January 1, 2005 Share Posted January 1, 2005 lmfao andy, it's a joke .../......../..... Link to comment
MAD_BOY Posted January 1, 2005 Share Posted January 1, 2005 %youcar. [ $+ [ $1 ] $+ . $+ [ $mta.getid($1, %youcar) ] ] laugh, poor kid. why dont you just give up the scripting and go back to your lego train sets. HEY! lego owns Link to comment
Niels Posted January 1, 2005 Share Posted January 1, 2005 Please help my this is my cars.ini file: [~XT~PingPong] vehicle=Gang Burrito This is it enter script: on *:SIGNAL:mta.enter: { if $readini(carsale.ini,car,on) { set %youcar 0 while (%youcar < 26 ) { if ($mta.name($1,%youcar) != Unknown) && (%youcar. [ $+ [ $1 ] $+ . $+ [ %youcar ] ] == $readini(cars.ini,$mta.name($1, %youcar),vehicle)) { mta.msg $1 $2 That car that you enterd is from $mta.name($1,$mta.getid($1, %youcar)) $+ ! Go out this car. } inc %youcar } } } The Varibale in mIRC is this: %youcar.1.0 Gang Burrito Can somone please help my ?? Link to comment
Aeron Posted January 1, 2005 Share Posted January 1, 2005 Please help my this is my cars.ini file: [~XT~PingPong] vehicle=Gang Burrito This is it enter script: on *:SIGNAL:mta.enter: { if $readini(carsale.ini,car,on) { set %youcar 0 while (%youcar < 26 ) { if ($mta.name($1,%youcar) != Unknown) && (%youcar. [ $+ [ $1 ] $+ . $+ [ %youcar ] ] == $readini(cars.ini,$mta.name($1, %youcar),vehicle)) { mta.msg $1 $2 That car that you enterd is from $mta.name($1,$mta.getid($1, %youcar)) $+ ! Go out this car. } inc %youcar } } } The Varibale in mIRC is this: %youcar.1.0 Gang Burrito Can somone please help my ?? No. Link to comment
Oli Posted January 1, 2005 Share Posted January 1, 2005 yeah i would help u but i just intensly dont want to Link to comment
XcR Posted January 1, 2005 Share Posted January 1, 2005 lmao, nasty guys, although, i aint gona help him either Link to comment
Scorp Posted January 1, 2005 Share Posted January 1, 2005 damn you used to get new kool scripts when you looked in this thread, now it's all spam Link to comment
XcR Posted January 1, 2005 Share Posted January 1, 2005 lol, the first page was the best.... then there was none Link to comment
MAD_BOY Posted January 1, 2005 Share Posted January 1, 2005 damn you used to get new kool scripts when you looked in this thread, now it's all spam it's not spam, it's an annoying kid that doesn't take the efford to read a manual Link to comment
Niels Posted January 2, 2005 Share Posted January 2, 2005 How can i make a weapon counter example mtafreak killed Blaat. (Stubby Shotgun) mtafreak: !kills Link to comment
Harry Posted January 2, 2005 Share Posted January 2, 2005 a) Open 'notepad.exe' (or better UltraEdit) b )Type some lines of code c) Test it d) Ask for some good advise e) try again f) bother someone else g) code again h) give up coding, stop bothering us, or PM someone... What do you think, people will code a new script for you every DAY?? Link to comment
Mike Posted January 2, 2005 Share Posted January 2, 2005 have an ini file to store the weapon count and then increase the count every time a kill is made with that weapon, i'd make it but i'm sure you are able to do it yourself. Link to comment
Niels Posted January 2, 2005 Share Posted January 2, 2005 !writeini -n "gun.ini" $mta.name($1,$3) $mta.weapon($1,$3) $calc($readini(gun.ini,$mta.name($1,$3),$mta.weapon($1,$3))+1) I try that, but he says Punch/kick Link to comment
XcR Posted January 2, 2005 Share Posted January 2, 2005 thats because ur increasing the weapon id, if im correct Link to comment
Jani Posted January 2, 2005 Share Posted January 2, 2005 ok put this in your script: alias mta.cheat { mta.ban $1 $2 } may cheaters never cheat on your server again! Link to comment
XcR Posted January 2, 2005 Share Posted January 2, 2005 mtafreak: a) Open 'notepad.exe' (or better UltraEdit)b )Type some lines of code c) Test it d) Ask for some good advise e) try again f) bother someone else g) code again h) give up coding, stop bothering us, or PM someone... What do you think, people will code a new script for you every DAY?? jani it shud be: on *:SIGNAL:mta.join:{ if $mta.name($1,$2) == [FKU]Jani { mta.say $1 feck orf u stupid dick mta.ban $1 $2 } } Link to comment
[FMJ]chode Posted January 2, 2005 Share Posted January 2, 2005 on *:SIGNAL:mta.join:{ if $mta.name($1,$2) == [FKU]Jani { mta.say $1 feck orf u stupid dick mta.ban $1 $2 } } hey you stole my script!!! Link to comment
Harry Posted January 2, 2005 Share Posted January 2, 2005 while (true) { /write "mtafreaksScript.mrc" $rand(A,Z) } Link to comment
Mike Posted January 2, 2005 Share Posted January 2, 2005 Let's break the tradition of all spam and no scripts... Here's a simple, but useful script for quick PMing ;/msg quick on *:SIGNAL:mta.pm:{ if ($3 == quick) { mta.msg $1 $mta.getid($1,$4) PM from $mta.name($1,$2) $+ : $5- !.timer 1 0.1 mta.msg $1 $2 PM sent to $mta.name($1,$mta.getid($1,$4)) } } PS: added the timer to combat the annoying mta bug where some text get's put in other things... you know what i mean Link to comment
Mike Posted January 3, 2005 Share Posted January 3, 2005 (edited) pwned Edit: Here's an updated version of Dredge's irc echo script: on *:SIGNAL:mta.command:{ /msg %mychan @ $mta.name($1,$2) $+ : $3- } on *:SIGNAL:mta.text:{ /msg %mychan @ $mta.name($1,$2) $+ : $3- } on *:SIGNAL:mta.join:{ /msg %mychan @ $mta.name($1,$2) joined the game } on *:SIGNAL:mta.part:{ /msg %mychan @ $mta.name($1,$2) left the game } on *:SIGNAL:mta.kill:{ if ( ( $3 == 255 ) || ( $3 == 254 ) ) { /msg %mychan @ $mta.name($1,$2) died } elseif ( $3 != $2 ) { /msg %mychan @ $mta.name($1,$3) killed $mta.name($1,$2) and has now $mta.kills($1,$3) kills } elseif ( $2 == $3 ) { /msg %mychan @ $mta.name($1,$2) killed himself } } on *:SIGNAL:mta.admin:{ /msg %mychan @ Admin: $2- } on *:SIGNAL:mta.action:{ /msg %mychan @ * $mta.name($1,$2) $3- } ;Uncomment this if you want to show pm's. ;alias mta.pm { ;/msg %mychan @ PM: $mta.name($1,$2) -> $3 $+ : $4- ;} ;Added this to allow %mychan voices to speak to the server #1 on *:text:!say*:#:{ if ( ( $chan == %mychan ) && ( $nick isvoice $chan ) ) { /mta.say 1 $nick on irc $+ : $2- } } ;Added a wildcard name !kick with reason ;usage: !kick ;Only one word in the nick! ;CHECK THE CHANGES IN mta.join&mta.part TOO! on *:text:!kick*:#:{ if ( ( $chan == %mychan ) && ( $nick isop $chan ) ) { if (!$readini($mta.dir $+ 1.ini,ID $+ $mta.getid(1,$2),level)) { /mta.say 1 $nick kicking $mta.name(1,$mta.getid(1,$2)) from irc. Reason: $iif($3,$3-,None) /mta.kick 1 $mta.getid(1,$2) } elseif ($readini($mta.dir $+ 1.ini,ID $+ $mta.getid(1,$2),level) !> 4) { /mta.say 1 $nick kicking $mta.name(1, [ [ $var(%name. [ $+ * $+ [ $2 ] $+ * $+ ] ,1) ] ] ) from irc. Reason: $iif($3,$3-,None) /mta.kick 1 [ [ $var(%name. [ $+ * $+ [ $2 ] $+ * $+ ] ,1) ] ] } else { /msg %mychan You cannot kick admins higher than lvl 4. mta.msg 1 $mta.getid(1,$2) $nick was trying to kick you from irc ( $+ $chan $+ ). } } } on *:TEXT:!players*:%mychan:{ set %a 0 set %c 0 while %a < $mta.maxplayers(1) { if ($mta.name(1,%a) != Unknown) { %b = %b $mta.name(1,%a) $+ , $+ $chr(32) inc %c } inc %a } /msg %mychan Players currently in server: %b /msg %mychan No. of players: %c unset %c unset %a unset %b } alias say { /mta.say 1 $me on irc $+ : $1- } Updates: !players command for people in irc, to see what players are in the server. !-commands can now be seen in irc when people say them. Conversion to 3.17 compatibility Level 5/6 admins (GRS) cannot be kicked from irc. Edited January 15, 2005 by Guest Link to comment
Oli Posted January 3, 2005 Share Posted January 3, 2005 lol @ level 6... it will soon be no more Link to comment
Recommended Posts