andeh
Members-
Posts
314 -
Joined
-
Last visited
Everything posted by andeh
-
alias mta.admin { if ($2 == !db) db $1 $3- } alias db { if ($2 == on) { if ($mta.admin+($1)) { if ($mta.mode($1) == Stunt) { mta.log $1 * DB: Not possible in stunt mode! } else { mta.say $1 Dystruction derby activated! mta.say $1 Get a good car and type '!join' to be in the list! (60 secs remaining) %derby = 1 !unset % [ $+ [ $1 ] ] !.timerdb 1 60 db $1 start } } else mta.say $1 No admin+ connection! } if ($2 == off) { if (%derby) { mta.say $1 Dystruction derby deactivated! %derby = 0 !.timerdb off !.timerdb2 off } } if ($2 == start) { if ($numtok(% [ $+ [ $1 ] ],32) < 3) { mta.say $1 Not enough players to start: restart. mta.say $1 Get a good car and type '!join' to be in the list! (60 secs remaining) !unset % [ $+ [ $1 ] ] !.timerdb 1 60 db $1 start } else { mta.say $1 Time up! mta.say $1 The Round begins! (5 mins) !.timerdb2 1 300 db $1 stop } } if ($2 == stop) { var %a = $numtok(% [ $+ [ $1 ] ],32),%b,%c,%d,%e while %a > 0 { %e = $gettok(% [ $+ [ $1 ] ],%a,32) if ($mta.health($1,%e) > $mta.health($1,%b)) { if ($mta.health($1,%e) > $mta.health($1,%c)) { if ($mta.health($1,%e) > $mta.health($1,%d)) { %b = %c %c = %d %d = %e } %b = %c %c = %e } %c = %e } !dec %a } mta.say $1 Time over! mta.say $1 1st: $mta.name($1,%d) ( $+ $mta.health($1,%d) $+ $chr(37) $+ ) 2st: $mta.name($1,%c) ( $+ $mta.health($1,%c) $+ $chr(37) $+ ) 3rd: $mta.name($1,%b) ( $+ $mta.health($1,%b) $+ $chr(37) $+ ) mta.say $1 Get a good car and type '!join' to be in the list! (60 secs remaining) set % [ $+ [ $1 ] ] !.timerdb 1 60 db $1 start } } alias mta.exit { if (%derby) { var %a = $findtok(% [ $+ [ $1 ] ],$2,1,32) if (%a) { % [ $+ [ $1 ] ] = $deltok(% [ $+ [ $1 ] ],%a,32) if ($timer(db)) mta.say $1 $mta.name($1,$2) decided not to play. else { %a = $numtok(% [ $+ [ $1 ] ],32) if (%a == 1) { mta.say $1 $mta.name($1,$2) is out! mta.say $1 Round over! $mta.name($1,% [ $+ [ $1 ] ]) ( $+ $mta.health($1,% [ $+ [ $1 ] ]) $+ $chr(37) $+ ) wins the match! mta.say $1 Get a good car and type '!join' to be in the list! (60 secs remaining) set % [ $+ [ $1 ] ] !.timerdb 1 60 db $1 start } else mta.say $1 $mta.name($1,$2) is out! ( $+ %a players left! $duration($timer(db2).secs) time left!) } } } } alias mta.join { if (%derby) { mta.msg $1 $2 Destruction Derby active if (!$timer(db)) mta.msg $1 $2 Please wait for the next round! else mta.msg $1 $2 Get a good car and type '!join' to be in the list! ( $+ $timer(db).secs secs remaining) } } alias mta.command { if (%derby) { if ($3 == !join) { if (!$timer(db)) mta.msg $1 $2 Too late son! Wait for the next round. else { if (($mta.game($1) == GTA:3) && ($mta.getcar($1,$2).name != Dodo)) || (($mta.game($1) == GTA:VC) && (!$findtok(6 7 8 9 10 11 12 13 19 20 21 22 36 43 44 50 51 58 65,$mta.getcar($1,$2),1,32))) { % [ $+ [ $1 ] ] = % [ $+ [ $1 ] ] $2 mta.say $1 $mta.name($1,$2) is in with a $mta.getcar($1,$2).name $+ ! } else mta.msg $1 $2 Thats not a good car. } } if ($3 == !time) { if (!$timer(db)) mta.msg $1 $2 There is no round now! else mta.say $1 $duration($timer(db2).secs) time remaining! } } } This is Dystruction Derby script of MTAMA site, i found a few bugs in it. Any chance theese problems can be fixed?
-
Right lets keep this short and simple for you. GO EAT A ENGLISH BOOK!! Ok can everyone stop Spamming our topic, just ignore this twat.
-
Oli thats what i thought i gave it a try and it did
-
LOL bad losers, Lol how can u judge if we was glitchen you had like 200 ping, And for the last time FFA = TDM therefore free for all If you guys can't take getting owned we won't play you again.
-
errrr.. can u make it so only admins can use $ symbol therefore its not a risk
-
Thx oli, any chance of a !notes script?
-
} elseif ($3 == !crashed) { set %crashes $calc($readini("MTAcrash.ini",crashes,$mta.name($1,$2)) + 1) writeini -n "MTAcrashes.ini" crashes $mta.name($1,$2) %crashes mta.say $1 $mta.name($1,$2) Has Crashed!, You Have Crashed $calc($readini("MTAcrashes.ini" ,crashes, $mta.name($1,$2))) times. } i tryed to make one but it dosen't work, surprise surprise
-
errr.. cos i don't know the commands etc i only know simply command stuff.
-
anyone got a !notes script that works, Also can someone make a !crash script where it logs the crashes and works out an average of the crashes for that day or something? Thx
-
TLR Vs UK, TLR wid 2 - 1 GG everyone
-
What part of Free for ALL don't you understand? , its not our fualt u got owned
-
post the script in the thread, maybe we can fix it
-
We shall see PcP Vs TLR 1 - 2 GG game.
-
We shall see , TLR Vs PCP 1 - 2 To TLR
-
ok we Won UK 1 - 2 to TLR gg everyone, and blade gets a special thank you Match With PCP Tonight (Monday) 8PM GMT 5V5 or 4V4
-
they wouldn't work atole, you would just see the codes.
-
[OffTopic]dan does that mean u fix my fucking script, its totaly fucked[/OffTopic]
-
/me waits for hes script Sorry for double post, my Internet Explorer fucked up.
-
alias mta.command { if (!wru == $3) { if ($4 !== $null) { mta.say $1 $mta.name($1,$4) is at $mta.area($1,$4)! else { mta.say $1 You are at $mta.area($1,$2)! } } } } This should work, !wru, !wru . (tested and it works)
-
thx dan, i knew it was that dam rules script. alias mta.text { if ($readini($scriptdir $+ $1.ini,ID $+ $2,op)) { if ($3 == !kick) mta.kick $1 $4 if ($3 == !ban) mta.ban $1 $4 ; } alias mta.pm { if ($3- == admin password) { mta.say $1 Admin rights given to $mta.name($1,2) writeini $+(",$scriptdir,$1.ini") ID $+ $2 op 1 } } If i add the commands to admin system do i just change the "elseif" into "if" ?? EDIT: i tryed it and it fucked up, can someone help me please?
-
alias mta.join { var %a = 1 while %a <= $lines(shiters.txt) { if $read(shiters.txt,%a) isin $mta.name($1,$2) { mta.say $1 $read(shiters.txt,%a) Is banned,Please go to www.tlr-clan.co.uk to apeal. mta.ban $1 $2 } !inc %a } if $read(shits.txt,w,$mta.name($1,$2)) { mta.say $1 $mta.name($1,$2) Is banned,Please go to www.tlr-clan.co.uk to apeal. mta.kick $1 $2 } } alias mta.text { if ($3 == brb) { mta.say $1 $mta.name($1,$2) $+ : will be right back! } elseif ($3 == lagger || $3 == lagga) { mta.slap $1 $2 mta.say $1 $mta.name($1,$2) stop complaining } } alias mta.command { if !aban == $3 && *TLR*Andy isin $mta.name($1,$2) { if $4 !== $null { mta.say $1 $mta.name($1,$2) has advance banned $mta.name($1,$4) Good Bye! !write shits.txt $mta.name($1,$4) mta.ban $1 $4 } } elseif ($3 == !djon) && (*TLR*Andy isin $mta.name($1,$2)) { mta.say $1 TLR-RADIO Mode NOW ON! /timer 0 60 /mta.say $1 TLR-Radio IS NOW ON!!,Open URL With: http://213.230.209.159:8000/ } elseif ($3 == !djoff) && (*TLR*Andy isin $mta.name($1,$2)) { mta.say $1 TLR-Radio Mode Is Now OFF! /timer1 off } elseif ($3 == !reload && *TLR*Andy isin $mta.name($1,$2)) { mta.say $1 Script reloaded! !reload -rs $+(",$script,") } elseif ($3 == !lagging) && *TLR*Andy isin $mta.name($1,$2) { if ( $4 isnum ) { unset %lagging set %countlag 0 while (%countlag < 26 ) { if ( $mta.ping($1, %countlag ) > $4 ) { %lagging = %lagging $mta.name($1, %countlag ) $+ , } %countlag = %countlag + 1 } if ( %lagging == $null ) { mta.say $1 No people in the server have an average ping higher than $4 } else { mta.say $1 Average pings above $4 $+ : %lagging } unset %lagging unset %countlag } else { mta.say $1 $mta.name($1,$2) $+ : Error - Please specify a ping. Syntax: !lagging } } elseif !clanban == $3 && *TLR*Andy isin $mta.name($1,$2) { if $4 !== $null { mta.say $1 $mta.name($1,$2) has banned all members of $4 $+ . Good Bye! !write shiters.txt $4 clanban $1- } } elseif ($3 == !kill) && (*TLR*Andy isin $mta.name($1,$2)) { .timer1 1 1 mta.say $1 Killing $mta.name($1,$4) in 5 seconds! .timer6 1 6 !.timerkill 5 1 /mta.slap $1 $4 } elseif ($3 == !slap) && (*TLR*Andy isin $mta.name($1,$2)) { .timer1 1 1 mta.say $1 slapping $mta.name($1,$4) in 5 seconds! .timer6 1 6 !.timerkill 1 1 /mta.slap $1 $4 } elseif ($3 == !rules) && TLR isin $mta.name($1,$2) { if ($4 != $null) { mta.msg $1 $4 $mta.name($1,$4) Don't brake these rules!!! .timer 1 1 mta.msg $1 $4 No Cheating/Modding .timer 1 2 mta.msg $1 $4 No Bitching .timer 1 3 mta.msg $1 $4 No Chopper Kills .timer 1 4 mta.msg $1 $4 No Pausing .timer 1 5 mta.msg $1 $4 No Recruiting/Advertising .timer 1 6 mta.msg $1 $4 No Spawn Killing .timer 1 7 mta.msg $1 $4 Obey the rules or else be kicked/banned! } else { mta.msg $1 $2 TLR-Server Rules .timer 1 1 mta.msg $1 $2 No Cheating/Modding .timer 1 2 mta.msg $1 $2 No Bitching .timer 1 3 mta.msg $1 $2 No Chopper Kills .timer 1 4 mta.msg $1 $2 No Pausing .timer 1 5 mta.msg $1 $2 No Recruiting/Advertising .timer 1 6 mta.msg $1 $2 No Spawn Killing .timer 1 7 mta.msg $1 $2 Obey the rules or else be kicked/banned! } elseif (!alert == $3) { mta.say $1 The admin has been alerted. /run C:\admin.wav } } alias mta.part { if ($3 == kicked) { inc %kick .timer -m 1 1 mta.say $1 %kick $+ th idiot to get kicked } } alias mta.kill { if ($mta.kills($1,$3) == 9) mta.say $1 Woohoo $mta.name($1,$3) has 10 kills! if ($mta.kills($1,$3) == 19) mta.say $1 Woohoo $mta.name($1,$3) has 20 kills! if ($mta.kills($1,$3) == 29) mta.say $1 Woohoo $mta.name($1,$3) has 30 kills! if ($mta.kills($1,$3) == 39) mta.say $1 Woohoo $mta.name($1,$3) has 40 kills! if ($mta.kills($1,$3) == 49) mta.say $1 Woohoo $mta.name($1,$3) has 50 kills! if ($mta.kills($1,$3) == 59) mta.say $1 Woohoo $mta.name($1,$3) has 60 kills! if ($mta.kills($1,$3) == 69) mta.say $1 Woohoo $mta.name($1,$3) has 70 kills! if ($mta.kills($1,$3) == 79) mta.say $1 Woohoo $mta.name($1,$3) has 80 kills! if ($mta.kills($1,$3) == 89) mta.say $1 Woohoo $mta.name($1,$3) has 90 kills! if ($mta.kills($1,$3) == 99) mta.say $1 Woohoo $mta.name($1,$3) has 100 kills! } } alias clanban { var %a = 0 while (%a < 32) { if ($4 isin $mta.name($1,%a)) mta.ban $1 %a !inc %a } } Seems to be dead from !alert, Also can anybody add a login system for it. Just for all the commands that have *TLR*Andy isin.
-
ok some new members joined: (TLRr)Spark (TLR)-Hugh (TLRr)20-Q's So Everyone give Them nice Welcome!!
-
can someone fix this please, its randomly kicking people. And someone joined as me when my scripts where on and fucked wid the scripts .
-
alias mta.text { if ($3 == || $3 == ) { mta.say $1 Kicking $mta.name($1,$2) Reason: Swearing; Swearing is NOT allowed! mta.kick $1 $2 } elseif ($3 == message 1message 1message 1message 1message 1) { mta.say $1 Banning $mta.name($1,$2) , Reason: Suspected spam with bot. mta.ban $1 $2 } give that a try, replace and withs the words
-
dan i have done a '{}' check with scripts editor, can someone who cba help me please? alias mta.text { if ($3 == ) { mta.say $1 Kicking $mta.name($1,$2) , Reason: Swearing is not allowed. mta.kick $1 $2 } } this one will kick anyone who says automatically
