thomeke Posted March 14, 2007 Share Posted March 14, 2007 Hi i like to make scripts and other stuff for my server but what i can't make is a !shutdown script. I need this script becouse if someone's cheating i can shutdown the server with the command Can someone help me ! Link to comment
thomeke Posted March 14, 2007 Author Share Posted March 14, 2007 I forgot to say that only admins with lvl 10 can use the !shutdown command Link to comment
stylo Posted March 14, 2007 Share Posted March 14, 2007 why the hell would you shutdown ur server when a cheater is there.. ? Just ban the noob.... Link to comment
thomeke Posted March 14, 2007 Author Share Posted March 14, 2007 why the hell would you shutdown ur server when a cheater is there.. ?Just ban the noob.... yeah i know but i mean if there is a hacker or something in the server or the server is stuck i can shutdown it with the '' !shutdown '' command Link to comment
Wheelburner Posted March 14, 2007 Share Posted March 14, 2007 U can shutdown server from remote admin I think this command is useless Link to comment
thomeke Posted March 14, 2007 Author Share Posted March 14, 2007 U can shutdown server from remote admin I think this command is useless yeah thats true , you can shutdown bij remote but i'm in my server playing a map but on my computer takes it 5 min. to quit the game and the server pc is another computer. i don't use a remote eather because i got hacked 1 time by the remote so ... Link to comment
BetaDevil Posted March 14, 2007 Share Posted March 14, 2007 on *:SIGNAL:mta.command: { if ($3 == !shutdown) { if ($mta.level($1,$2) == 5) || ($gus.level($1,$2) == 10) mta.shutdown $1 else mta.pm $1 $2 Error - You need a higer level for this command! } } I made it for GUS and RCON Link to comment
thomeke Posted March 14, 2007 Author Share Posted March 14, 2007 on *:SIGNAL:mta.command: { if ($3 == !shutdown) { if ($mta.level($1,$2) == 5) || ($gus.level($1,$2) == 10) mta.shutdown $1 else mta.pm $1 $2 Error - You need a higer level for this command! } } I made it for GUS and RCON Thank a lot betadevil but i still need 1 script. i have a clan and people come in with my clan tag but they aren't members. can i get a script fot that, if someone enter with my clan tag but he isn't member that he get kicked by the console i search for it but i never find it Link to comment
thomeke Posted March 14, 2007 Author Share Posted March 14, 2007 (edited) i have tested the shutdown script but it doesn't work HELP and i need that tag script very hard please CAN SOMEONE HELP ME Edited March 14, 2007 by Guest Link to comment
BetaDevil Posted March 14, 2007 Share Posted March 14, 2007 has it been enabled in mtaserver.conf? Link to comment
thomeke Posted March 14, 2007 Author Share Posted March 14, 2007 has it been enabled in mtaserver.conf? do you mean '' allowservershutdown '' yes that is allowed Link to comment
Keslertje2005 Posted March 17, 2007 Share Posted March 17, 2007 Thomeke, If you want that tag script you will have to make a command that will store all your members with IP adresses and stuff. That's alot of work. The easiest way is to make someone Level 1, then he wont be an admin and change the script that it will kick a faker that comes with an other IP than the name that's stored in admin.ini . Now that only happens with level 2 I thought. And I'ts also possible that when people typ !lvl on a person that's level 1 this text will appear: is a Member. Or something like that, if you can't do it yourself I'll try to help you! Link to comment
BetaDevil Posted March 17, 2007 Share Posted March 17, 2007 that isn't hard, it's just a matter of $replace($gus.level($1,$2),1,Member) but you need to add it in several places. Link to comment
Keslertje2005 Posted March 17, 2007 Share Posted March 17, 2007 Uhm, I don't really get it is it much work? Could you give me an example? Link to comment
{_AntiFreak_} Posted April 8, 2007 Share Posted April 8, 2007 Try this one, but it´s much work. You need to write in here all Nicknames of members you have in the clan: on *:SIGNAL:mta.join: { if ( isin $mta.nick($1,$2)) { if ($mta.nick($1,$2) == ) { mta.pm $1 $2 Hello $mta.nick($1,$2) } elseif ($mta.nick($1,$2) == ) { mta.pm $1 $2 Hello $mta.nick($1,$2) } elseif ($mta.nick($1,$2) == ) { mta.pm $1 $2 Hello $mta.nick($1,$2) } elseif ($mta.nick($1,$2) == ) { mta.pm $1 $2 Hello $mta.nick($1,$2) } elseif ($mta.nick($1,$2) == ) { mta.pm $1 $2 Hello $mta.nick($1,$2) } else { mta.text $1 $mta.nick($1,$2) has the Clan-tag, but he is not a clanmember!!! mta.kick $1 $2 } } } Link to comment
Recommended Posts