Jump to content

Mta 0.5 Text command trouble


FFCFoo

Recommended Posts

Well im having a text command problem Here is the text and commands together it wont work together :fadein::?:

on *:SIGNAL:mta.command:{ 
  if ($3 == !bored) { 
  mta.say $1 $mta.name($1,$2) Is Bored 
} 
on *:SIGNAL:mta.text:{ 
  if ($3 == brb) { 
  mta.say $1 $mta.name($1,$2) Will Be Right Back! Reason: $4- 
  } 
  if ($3 == bbl) { 
  mta.say $1 $mta.name($1,$2) Will Be Back Later! Reason: $4- 
} 

What is ROng With it The txt wont work but the Command !bored will

Link to comment

on *:SIGNAL:mta.command:{ 
if ($3 == !bored) mta.say $1 $mta.name($1,$2) Is Bored 
} 
on *:SIGNAL:mta.text:{ 
if ($3 == brb) mta.say $1 $mta.name($1,$2) Will Be Right Back! Reason: $4- 
elseif ($3 == bbl) mta.say $1 $mta.name($1,$2) Will Be Back Later! Reason: $4- 
} 

--OR--

on *:SIGNAL:mta.command:{ 
if ($3 == !bored) { 
mta.say $1 $mta.name($1,$2) Is Bored 
} 
} 
on *:SIGNAL:mta.text:{ 
if ($3 == brb) { 
mta.say $1 $mta.name($1,$2) Will Be Right Back! Reason: $4- 
} 
elseif ($3 == bbl) { 
mta.say $1 $mta.name($1,$2) Will Be Back Later! Reason: $4- 
} 
} 

Both of them should works just fine :)

Link to comment
  • Recently Browsing   0 members

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