nivko Posted October 21, 2004 Share Posted October 21, 2004 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.vehicle($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! } } } Only !join is fixed $mta.getcar($1,$2).name = $mta.vehicle($1,$2).name Link to comment
Shib Posted October 21, 2004 Share Posted October 21, 2004 Didnt you read what Oli said? Link to comment
MTA-Fan Posted October 21, 2004 Share Posted October 21, 2004 Could you make a script that kicks everyone whose nick isn't in a ini? Link to comment
MrJax Posted October 21, 2004 Share Posted October 21, 2004 why not use a server password? alias mta.join { if ($mta.name($1,$2) !isin $readini(Ini.ini, Ini, Ini)) { mta.kick $1 $2 } } Link to comment
Oli Posted October 21, 2004 Share Posted October 21, 2004 or alias mta.join if !$read(members.txt,w,$mta.name($1,$2)) mta.kick $1 $2 then u dont have to worry about formatting the ini... just put a list of names in "members.txt" Link to comment
nivko Posted October 22, 2004 Share Posted October 22, 2004 can help my please with a ping script i need the calc code for average ping. Link to comment
Oli Posted October 22, 2004 Share Posted October 22, 2004 nivko.. we gave u TWO now would u kindly fuck off already.. uve been blocked on msn by both me and aeron, ure on the mtama blacklist... dont u take a hint? Link to comment
Shib Posted October 22, 2004 Share Posted October 22, 2004 Yeah same here, i blocked him. I gave him Harry's script from the scripts package which had the admin system in that he wanted. he went wtf do i do next. He asked this about 20 times so i got pissed and blcoked him. Link to comment
nivko Posted October 22, 2004 Share Posted October 22, 2004 sorry, iam not on blacklist and in it admin system form harry in scripts packase is dont work ! Link to comment
Shib Posted October 22, 2004 Share Posted October 22, 2004 Yes it does, you're obviously a shit scripter. I have the exact thing in my old script. So it does work. Plus Oli, i looked at nivko's main script and it was cracked, i think it was V1.xx. But he still added things to it. Link to comment
nivko Posted October 22, 2004 Share Posted October 22, 2004 my admin system in my script is Admin System V1.6 By Aeron Link to comment
nivko Posted October 22, 2004 Share Posted October 22, 2004 can you fix harrys admin system in Script Packase please. Link to comment
nivko Posted October 22, 2004 Share Posted October 22, 2004 i need a admin system without levels no GRS. Link to comment
Shib Posted October 22, 2004 Share Posted October 22, 2004 Well that's your problem, end of the day, the script in harrys script works, btw oli, he does have some of your commands in there aswell like the dialog i thnk not quite sure. But anyway back to subject, th script does work ur script is fucked end -of-. Link to comment
DeathB Posted October 23, 2004 Share Posted October 23, 2004 dan wtf have u actually scripted so far, all i see you doing in this thread is a bunch of arguing and drama drama drama. the one script i say u post i saw oli own 2 posts l8r Link to comment
Shib Posted October 23, 2004 Share Posted October 23, 2004 B shut ur gob, i keep most of my scripts to myself. I'd like to see what you produce. Link to comment
DeathB Posted October 23, 2004 Share Posted October 23, 2004 B shut ur gob, i keep most of my scripts to myself. I'd like to see what you produce. k, i have a script request for u. make a script that will ban all cheaters, by name. make sure ur name is on that list of course Link to comment
Shib Posted October 23, 2004 Share Posted October 23, 2004 Yeah well, most people have accepted that i dont mod. Obviously you dont, anyway, theres no point in that request. It's basically like the blacklist, so anything else? Thought not. Good. Link to comment
nivko Posted October 23, 2004 Share Posted October 23, 2004 can mIRC give on how big a script is ? Link to comment
Shib Posted October 23, 2004 Share Posted October 23, 2004 Nice cracked client: * Nols joins. [213.93.172.194] ** Admin PM send: Hello Nols welcome to eXperimental gAming! ** Admin PM send: The Time in Vice City today is 12:07 and its a lovely Sunny day! ** Admin PM send: Vehicle 5: Cheetah, Colour: Black, damage: 0% ** Admin PM send: you are not currently registered, you may register by saying /msg register password (change password to something else * Niels parts. [213.93.172.194] Now you're definately not getting help off me. Link to comment
DeathB Posted October 23, 2004 Share Posted October 23, 2004 how does that show a cracked client? and who are the "most" you refer to Link to comment
Shib Posted October 23, 2004 Share Posted October 23, 2004 He joined on several names in that log, that does not show all names, i couldnt be bothered to search the whole log. He's even told me he has a cracked client after in mIRC. Link to comment
Recommended Posts