Jump to content

MTAMA Scripting


Si|ent

Recommended Posts

  • Replies 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

first attempt of making a script with a little help. its one that would ban if someone said "brb", so far i have this. it doesnt work though...can someone help please?:

alias $mta.text {

if (brb == $3) {

mta.say $1 I DON'T :o THINK SO!

mta.ban $1 $2

}

alias mta.text { 
if (brb == $3) { 
mta.say $1 I DON'T  THINK SO! 
mta.ban $1 $2 
}

don't have $ in your alias :P

Link to comment
first attempt of making a script with a little help. its one that would ban if someone said "brb", so far i have this. it doesnt work though...can someone help please?:

alias $mta.text {

if (brb == $3) {

mta.say $1 I DON'T :o THINK SO!

mta.ban $1 $2

}

alias mta.text { 
if (brb == $3) { 
mta.say $1 I DON'T  THINK SO! 
mta.ban $1 $2 
}

don't have $ in your alias :P

haha omg pwned im thick 8)

Link to comment
first attempt of making a script with a little help. its one that would ban if someone said "brb", so far i have this. it doesnt work though...can someone help please?:

alias $mta.text {

if (brb == $3) {

mta.say $1 I DON'T :o THINK SO!

mta.ban $1 $2

}

TRY:

alias mta.text { 
 if (brb == $3) { 
    mta.say $1 I DON'T  THINK SO! 
   mta.ban $1 * 
 }
}

...

Link to comment
first attempt of making a script with a little help. its one that would ban if someone said "brb", so far i have this. it doesnt work though...can someone help please?:

alias $mta.text {

if (brb == $3) {

mta.say $1 I DON'T :o THINK SO!

mta.ban $1 $2

}

TRY:

alias mta.text { 
 if (brb == $3) { 
    mta.say $1 I DON'T  THINK SO! 
   mta.ban $1 * 
 }
}

...

lmfao harry :lol:

Link to comment

ok im trying my hand at a script which will slap a specific player if they talk in in my server, and only that player. so far, me and deejay have managed to get it slapping either both of us when we talk, or neither of us when we talk. heres what i have:

alias mta.text {
   if ($mta.name($1,$2) == TmM-DeeJee){
   mta.say $1 /slap $mta.name($1,$2) 
   mta.say $1 Sorry $mta.name($1,$2) - this is an anti-talking server!
 }
}

any tips on how to make it work?

Link to comment
alias mta.command {
if ($3 == !setname) && ($mta.name($1,$2) == yourname) {
 if ($4 != $null) {
  if ($mta.name($1,$4) != Unknown) {
  mta.say $1 Set to $mta.name($1,$4)
  set %person $mta.name($1,$4)
  }
  else {
  mta.say $1 Error, ID not present.
  }
 }
 else {
 mta.say $1 Error, !setname 
 }
}
}
alias mta.text {
if ($mta.name($1,$2) == %person) {
mta.slap $1 $2
.timer 1 0 mta.say $1 Sorry $mta.name($1,$2) $+ , this is an anti-talking server! 
}
}

Link to comment

okay looking for a script that does a action (like mta.slap or mta.kick) when there are certain words in the chat.

TmM-DeeJee: blalblblallba noob blabla

**admin slapped TmM-DeeJee

**stop calling people noob**

summit like that..:)

and also looking for a script that eacts to the way people are killed:

*TmM-DeeJee died (impact)

**wear a helmet next time**

sumit like that..

thanks in advance

Link to comment

Okay question abouth locations..

let's say I want to set a place in my script.. and in that place there is something to be done or not to be done..

if ($3 == !dance) {
 if ($mta.area($1,$2) == pole) {

and then the rest of the code needed.. so far no problems..

but how do I get the coordinates form that place.. or any place for that mather, becuase I have some more Idea's..

so how to get the coordinates out of the game, and how to combine htose so I can set a larger place, like the whole scrapyard ..

any help would be great..

thru here or msn.

Link to comment
Oli, can you tell me how make !favourites the shortest way ? Because I don't know how and I want lear it. ok ?

ill write 1 for u tomorrow and post it. I appreciate ure effort, and its not bad, but it is actually amazing the amount variables :)

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...