Jump to content

help


multikill

Recommended Posts

need script

if i say: !lol Player

its say: Multikill laughting out loud @ Player

this script not work :/

on *:SIGNAL:mta.command:{ 
 var %a = $iif($4,$iif($mta.nick($1,$4) != $null,$4,$iif($mta.getid($1,$4),$v1,-1)),$2) 
 if ($3 == !lol) mta.text $1 $mta.nick($1,$2) is laughing out loud $iif(%a != -1,$iif(%a != $2,@ $mta.nick($1,%a))) 
}

Link to comment

it does work on mta:sa, if you need that for 0.5 u need this:

on *:SIGNAL:mta.command:{
 var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2)
 if ($3 == !lol) mta.say $1 $mta.name($1,$2) is laughing out loud $iif(%a != -1,$iif(%a != $2,@ $mta.name($1,%a)))
}

Link to comment

on *:SIGNAL:mta.command:{ 
 if ($3 == !time) || ($3 == !date) {
   mta.text $1 Time: $time - Date: $date
}
   elseif ($3 == !map) {
   if ($mta.race($1) == Unknown) mta.pm $1 $2 Error - Unknown Race
   else mta.text $1 Current Race: $mta.race($1)
}
 elseif ($3 == !restart) mta.startrace $1 $mta.races($1,$mta.race($1))
   if ($gus.level($1,$2) >= 10) {
}
var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) 
 if ($3 == !lol) mta.text $1 $mta.name($1,$2) is laughing out loud $iif(%a != -1,$iif(%a != $2,@ $mta.name($1,%a))) 
}

This. All those work, but not that !lol.

Link to comment

thats because some of the code u used is for mtavc not mtasa

try this:

on *:SIGNAL:mta.command:{

var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2)

if ($3 == !time) || ($3 == !date) {

mta.text $1 Time: $time - Date: $date

}

elseif ($3 == !map) {

if ($mta.race($1) == Unknown) mta.pm $1 $2 Error - Unknown Race

else mta.text $1 Current Race: $mta.race($1)

}

elseif ($3 == !restart) mta.startrace $1 $mta.races($1,$mta.race($1))

elseif ($3 == !lol) mta.text $1 $mta.nick($1,$2) is laughing out loud $iif(%a != -1,$iif(%a != $2,@ $mta.nick($1,%a)))

}

Link to comment

alias gus.getid {
 var %a = 0
 while (%a <= $mta.server($1).cmax)  {
   if ($+(*,$2,*) iswm $mta.nick($1,%a)) !return %a
   !inc %a
 }
 !return -1
}

on *:SIGNAL:mta.command:{ 
var %a = $iif($4,$iif($mta.nick($1,$4) != $null,$4,$gus.getid($1,$4)),$2)
if ($3 == !time) || ($3 == !date) { 
mta.text $1 Time: $time - Date: $date 
} 
elseif ($3 == !map) { 
if ($mta.race($1) == Unknown) mta.pm $1 $2 Error - Unknown Race 
else mta.text $1 Current Race: $mta.race($1) 
} 
elseif ($3 == !restart) mta.startrace $1 $mta.races($1,$mta.race($1)) 
elseif ($3 == !lol) {
if (%a == -1) mta.text $1 $mta.nick($1,$2) is laughing out loud
else mta.text $1 $mta.nick($1,$2) is laughing out loud @ $mta.nick($1,%a)
} 

Try this -_-

Link to comment

on *:SIGNAL:mta.command:{ 
 var %a = $iif($4,$iif($mta.nick($1,$4) != $null,$4,$iif($mta.getid($1,$4),$v1,-1)),$2)
 if (($3 == !time) || ($3 == !date)) mta.text $1 Time: $time - Date: $date 
 elseif ($3 == !map) { 
   if ($mta.race($1) == Unknown) mta.pm $1 $2 Error - Unknown Race 
   else mta.text $1 Current Race: $mta.race($1) 
 } 
 elseif ($3 == !restart) mta.startrace $1 $mta.races($1,$mta.race($1)) 
 elseif ($3 == !lol) mta.text $1 $mta.nick($1,$2) is laughing out loud $iif(%a != -1,$iif(%a != $2,@ $mta.nick($1,%a))) 
}

!!!

Link to comment

not work lil toady

and HouseMDD script... :roll:

if i say "!lol Player" = "Multikill laughting out loud @ Player!"

but "!lol" = "Multikill laughting out loud @ multikill" Real was "Multikill laughting out loud"

And i using GUS if its help anything...

Edited by Guest
Link to comment

so much hassle for a useless little thing :lol:

here:

 elseif ($3 == !lol) {
   var %a = $iif((!$4),$2,$iif(($mta.getid($1,$+(*,$4,*)) == $null),$2,$v1))
   mta.text $1 $mta.nick($1,$2) Is Laughing Out Loud $iif(%a != $2,At $mta.nick($1,%a))
 }

ive left my var %a line in the command so it wont interfere with the one u already use.

Link to comment

ok ok... I fix it :P

alias gus.getid { 
 var %a = 0 
 while (%a <= $mta.server($1).cmax)  { 
   if ($+(*,$2,*) iswm $mta.nick($1,%a)) !return %a 
   !inc %a 
 } 
 !return -1 
} 

on *:SIGNAL:mta.command:{ 
var %a = $iif($4,$iif($mta.nick($1,$4) != $null,$4,$gus.getid($1,$4)),$2) 
if ($3 == !time) || ($3 == !date) { 
mta.text $1 Time: $time - Date: $date 
} 
elseif ($3 == !map) { 
if ($mta.race($1) == Unknown) mta.pm $1 $2 Error - Unknown Race 
else mta.text $1 Current Race: $mta.race($1) 
} 
elseif ($3 == !restart) mta.startrace $1 $mta.races($1,$mta.race($1)) 
elseif ($3 == !lol) { 
if (%a == -1) mta.text $1 $mta.nick($1,$2) is laughing out loud
elseif (%a == $2) mta.text $1 $mta.nick($1,$2) is laughing out loud
else mta.text $1 $mta.nick($1,$2) is laughing out loud @ $mta.nick($1,%a) 
} 

There, it should say "Multikill is laughing out loud" when u say !lol and !lol player says "Multikill is laughing out loud @ Player"

Link to comment
  • Recently Browsing   0 members

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