Jump to content

I made 2 scripts for SA..... help?


SamB

Recommended Posts

Posted

neither of them work. have a look..

on *:SIGNAL:mta.talk:{
 if $3 == !site mta.say $1 www.xendot.com
 }
}

on *:SIGNAL:mta.join: { 
if $mta.nick($1,$2) == Player) { 
mta.text $1 The nickname $mta.nick($1,$2) is not allowed on this server
mta.kick $1 $2 
 } 
} 

Posted

on *:SIGNAL:mta.text:{
 if (site isin $3-) {
  mta.text $1 www.xendot.com
  }
}

this will spam when someone types the word "site"
but you probably meant it to respond to the command " !site "

on *:SIGNAL:mta.command: {
 if ($3 == !site) {
  mta.text $1 www.xendot.com
 }

on *:SIGNAL:mta.join: {
 if ($mta.nick($1,$2) == Player) {
   !.timer 1 5  mta.text $1 Player, please change nickname !
   !.timer 1 20 mta.text $1 Player, press ESCAPE click SETTINGS and change the name !!
 }
}


or

on *:SIGNAL:mta.join: {
 if ($mta.nick($1,$2) == Player) {
   !.timer 1 5  mta.text $1 Nickname player is not allowed
   !.timer 1 10 mta.kick $1 $2
 }
}

Posted

they both work fine :D

only prob is if someone changes their name back to player it doesnt kick them.

do u have to put on.mta:name or something

Posted
they both work fine :D
:)

only prob is if someone changes their name back to player it doesnt kick them.

do u have to put on.mta:name or something

on *:SIGNAL:mta.nick: {

  • Recently Browsing   0 members

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