Mophead Posted September 19, 2005 Share Posted September 19, 2005 Can someone make a script for this, i have a members.txt and if there name isnt on that list and they contain the -XW- tag can they be kicked? If anybody can do this I would be grateful. regards, Mop-head PS. I'm new to mta im a css player Link to comment
Jani Posted September 19, 2005 Share Posted September 19, 2005 It's already included in Oli's GRS script. Link to comment
MrJax Posted September 19, 2005 Share Posted September 19, 2005 on *:SIGNAL:mta.join:{ if (-XW-* iswm $mta.name($1,$2)) { ( or if (-XW- isin $mta.name($1,$2)) { ) var %a = 1 while (%a <= $lines(members.txt)) { if ($mta.name($1,$2) == $read(members.txt,%a)) !break !inc %a } if (%a == $lines(members.txt) && $lines(members.txt) > 0) { mta.kick $1 $2 } } Link to comment
Silent Posted September 19, 2005 Share Posted September 19, 2005 Thank you Mr.[uVA]_ZzZ, This will come in useful for me aswell, Link to comment
andeh Posted September 20, 2005 Share Posted September 20, 2005 on *:SIGNAL:mta.join:{ if (-XW-* iswm $mta.name($1,$2)) { ( or if (-XW- isin $mta.name($1,$2)) { ) var %a = 1 while (%a <= $lines(members.txt)) { if ($mta.name($1,$2) == $read(members.txt,%a)) !break !inc %a } if (%a == $lines(members.txt) && $lines(members.txt) > 0) { mta.kick $1 $2 } } why not just: if (clan isin $mta.name($1,$2)) { if !$read(members.txt,w,$mta.name($1,$2)) { mta.kick $1 $2 } } Link to comment
MrJax Posted September 20, 2005 Share Posted September 20, 2005 why not just: if (clan isin $mta.name($1,$2)) { if !$read(members.txt,w,$mta.name($1,$2)) { mta.kick $1 $2 } } 1) its $read(.txt,r,text) 2) i didn't see it before Link to comment
andeh Posted September 20, 2005 Share Posted September 20, 2005 why not just: if (clan isin $mta.name($1,$2)) { if !$read(members.txt,w,$mta.name($1,$2)) { mta.kick $1 $2 } } 1) its $read(.txt,r,text) 2) i didn't see it before $read(members.txt,w,$mta.name($1,$2)) Works for me Link to comment
Mophead Posted September 20, 2005 Author Share Posted September 20, 2005 This is good thanks a lot people. Link to comment
Mophead Posted September 20, 2005 Author Share Posted September 20, 2005 Can you make it so I can add members and remove then from the list, like !addmember -XW-Bilbo -XW-Bilbo added to -XW- Member list.... !removemember -XW-Bilbo -XW-Bilbo has been removed from -XW- member list.... and it adds them to the members.txt itself and delets them itself. Link to comment
Oli Posted September 23, 2005 Share Posted September 23, 2005 shit scripters r us... *new thread title?* Link to comment
MrCeoZ Posted September 26, 2005 Share Posted September 26, 2005 looool Silent you sayd that you maked that script self Rofl! Link to comment
Harry Posted September 29, 2005 Share Posted September 29, 2005 shit scripters r us... *new thead title?* Agreed!!! PS: Oli, let speak in grs-glob again, i need some nformation from you, you're offline atm Link to comment
Recommended Posts