Special1 Posted May 8, 2007 Share Posted May 8, 2007 Hey guys, I didn't finded, please give me simple banning script by IP like if$mta.name($1,$2)&&IP=*.*.*.* thanks, deemon;) Link to comment
HouseMD Posted May 8, 2007 Share Posted May 8, 2007 Do you mean something like: on *:SIGNAL:mta.join: { if ($mta.ip($1,$2) == *.*.*.*) mta.ban $1 $2 } Note, This will ban everyone in the server, because " * = Anything ", do not upload this unless u want everyone coming to that server to be banned! Link to comment
Special1 Posted May 9, 2007 Author Share Posted May 9, 2007 Do you mean something like: on *:SIGNAL:mta.join: { if ($mta.ip($1,$2) == *.*.*.*) mta.ban $1 $2 } Note, This will ban everyone in the server, because " * = Anything ", do not upload this unless u want everyone coming to that server to be banned! no , but i thinked like !ban --.nickname-- or smt and reason. Link to comment
JB_frozen Posted May 9, 2007 Share Posted May 9, 2007 its in gus and in prs 1.3 ![/code] Link to comment
Special1 Posted May 9, 2007 Author Share Posted May 9, 2007 its in gus and in prs 1.3 ![/code] i need this for MTA 0.5 and WITHOUT MTAMA, im making me own admin system, Link to comment
JB_frozen Posted May 9, 2007 Share Posted May 9, 2007 then you gonna ask alot more i think Link to comment
Scooby Posted May 9, 2007 Share Posted May 9, 2007 i need this for MTA 0.5 and WITHOUT MTAMA, im making me own admin system, MTAMA = MTA Mirc Admin, if u think u can make ur own admin client then surely u dont need to ask how to use a command made for MTAMA. What u proabably mean is, u want to write ur own admin script, to run with MTAMA3.24 For MTAVC. I would have thought anyone who can make an admin script could make a line to ban a player. mta.ban mta.ban $1 $mta.getid($1,$4) $5- u should try reading the scripting.html that comes with mtama, it has lists of all the identifiers/commands needed to make everything. good luck Link to comment
lil Toady Posted May 10, 2007 Share Posted May 10, 2007 or mta.addban on *:SIGNAL:mta.command:{ if ($3 == !ban) { if (*.*.*.* iswm $4) { mta.addban $1 $4 mta.say $1 IP $+(',$4,') successfully banned. } else mta.msg $1 $2 Error - Invalid IP } } Link to comment
Special1 Posted May 10, 2007 Author Share Posted May 10, 2007 or mta.addban on *:SIGNAL:mta.command:{ if ($3 == !ban) { if (*.*.*.* iswm $4) { mta.addban $1 $4 mta.say $1 IP $+(',$4,') successfully banned. } else mta.msg $1 $2 Error - Invalid IP } } thanks for making this anyway, but you didnt got what i want , i meaned like !ban -playername- and then he gets kicked from server and banned Link to comment
Special1 Posted May 10, 2007 Author Share Posted May 10, 2007 Scooby's way then lol ok,kk. Link to comment
Recommended Posts