Jump to content

LIL HELP ME WITH THIS SITUATION


thomeke

Recommended Posts

HI

in my prev. message i asked for a '' !shutdown '' script but that doesn't work so lil can you help me with this please .

and the second thing i wanna ask you is a clan tag script .

the script that if you have a clan and someone that is not added to the member list and he uses the tag he/she get kicked!?

to add members you must typ :: !addmember

te delete members you must typ: !delmember

help me please lil i need it very hard right now

Link to comment

Here, you only have to add some levels for the commands and change the CLANTAG to your clan tag

P.S: Next time use search. Scripts like that have been posted before.

on *:SIGNAL:mta.join:{
 if (CLANTAG isin $mta.nick($1,$2)) {
   var %a = 0
   while (%a <= $lines($scriptdir $+ members.txt)) {
     if ($mta.nick($1,$2) == $read($scriptdir $+ members.txt,%a)) !halt
     !inc %a
   }
   mta.text $1 Kicking: $+(',$mta.nick($1,$2),') - imposter.
   mta.kick $1 $2
 }
}
on *:SIGNAL:mta.command:{
 if ($3 == !shutdown) {
   mta.text $1 Server is being shut down.
   mta.shutdown $1
 }
 elseif ($3 == !addmember) {
   if ($4) {
     mta.text $1 Member $+(',$4,') added.
     !write " $+ $scriptdir $+ members.txt" $4
   }
   else mta.pm $1 $2 Error - Member name missing
 }
 elseif ($3 == !remmember) {
   if ($4) {
     var %a = 0
     while (%a <= $lines($scriptdir $+ members.txt)) {
       if ($4 == $read($scriptdir $+ members.txt,%a)) {
         mta.text $1 Member $+(',$read($scriptdir $+ members.txt,%a),') removed.
         !write -dl $+ %a " $+ $scriptdir $+ members.txt"
         !halt
       }
       !inc %a
     }
     mta.pm $1 $2 Member $+(',$4,') not found
   }
   else mta.pm $1 $2 Error - Member name missing
 }
}

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...