Jump to content

i need help


Squall

Recommended Posts

and also um

on *:SIGNAL:mta.command:{ 
 if ($3 == !pizza) { 
   if ($mta.status($1,$2) != 2) mta.msg $1 $2 You need to be in game to call for a pizza! 
   else { 
     var %a = 0,%b 
     while (%a < $mta.maxplayers($1))  { 
       if ($pizza.delivery($1,%a) == 1) { 
         mta.msg $1 %a $mta.name($1,$2) needs a pizza at $mta.area($1,$2) 
         if (!%b) %b = $mta.name($1,%a) 
         else %b = %b $+ , $mta.name($1,%a) 
       } 
       !inc %a 
     } 
     if (%b) mta.msg $1 $2 Pizza Delivery System: %b Notified. 
     else mta.msg $1 $2 There are no pizza people in Server. 
   } 
 } 
 elseif ($3 == !employes) { 
   var %a = 0,%b 
   while (%a < $mta.maxplayers($1))  { 
     if ($taxi.driver($1,%a) == 1) { 
       if (!%b) %b = $mta.name($1,%a) 
       else %b = %b $+ , $mta.name($1,%a) 
     } 
     !inc %a 
   } 
   if (%b) mta.say $1 Employes in Server: %b 
   else mta.say $1 There are no Employes in Server. 
 } 
 elseif ($3 == !help) mta.msg $1 $2 Pizza delivery Commands: !pizza, !employes !infp,  
} 
on *:SIGNAL:mta.pm:{ 
 if ($3 == pizza) { 
   if ($4 == on) { 
     !writeini " $+ $scriptdir $+ mypizza.ini" Drivers $mta.name($1,$2) 1 
     mta.msg $1 $2 An admin needs to accecpt your thing.  
   } 
   elseif ($4 == off) { 
     !remini " $+ $scriptdir $+ mypizza.ini" Drivers $mta.name($1,$2) 
     mta.msg $1 $2 You canceled your thing. 
   } 
   else mta.msg $1 $2 Error - Syntax: /msg pizza on/off 
 } 
} 
on *:SIGNAL:mta.part:{   
 alias pizza.delivery !return $readini($scriptdir $+ taxi.ini,Drivers,$mta.name($1,$2))
 mta.say $1 has left
}
}
on *:SIGNAL:mta.command:{
var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) 
if ($3 == !allow) {
 $readini($scriptdir $+ pizza.ini,Drivers,$mta.name($1,$2)
 mta.msg ($1,%a) you have been sent a accecpt thing 
}
elseif ($3 == !accecpt) {
 !writeini " $+ $scriptdir $+ pizza.ini" Accecpt $mta.name($1,$2) Yes 1 
 mta.say $1 $mta.name($1,$2) has accecpted pizza service
}
elseif ($3 == !decline) {
 !writeini " $+ $scriptdir $+ pizza.ini" Accecpt $mta.name($1,$2) Yes 1 
 mta.say $1 $mta.name ($1,$2) has declined pizza service
}
elseif ($3 == !stop)
!remini " $+ $scriptdir $+ pizza.ini" Accecpt $mta.name($1,$2) 
mta.say $1 $mta.name ($1,$2) has stopped being a pizza person
}
elseif ($3 == !infp)
$readini($scriptdir $+ pizza.ini,Drivers,$mta.name($1,$2)
if (%b) mta.msg ($1,$2) %b are the pizza delivery say !inpo for mor info
}
elseif ($3 == !inpo)
mta.msg ($1,$2) this script was made by Lil Toady but the pizza was made by me =LH=Theoden
}
}
on *:SIGNAL:mta.join:{
mta.msg ($1,$2) This server has a script called pizza delivery say !help for help
}
}
}

and is it possible to add a timed stfu script for e.g !stfu theoden 10 for 10 mins

thanks. hi oli[/code]

Link to comment
  • Recently Browsing   0 members

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