well just to tell you scooby i not good at scripting and i added a phew more changes over the days
here is my script now
On *:SIGNAL:mta.command:{
var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2)
if ($3 == !slap) {
if ($mta.level($1,$2) >= 1) {
mta.slap $1 %a
}
}
elseif ($3 == !kill) {
if ($mta.level($1,$2) >= 1) {
mta.slap $1 %a
mta.slap $1 %a
mta.slap $1 %a
mta.slap $1 %a
mta.slap $1 %a
mta.slap $1 %a
}
}
elseif ($3 == !id) {
mta.say $1 $mta.name($1,%a) $+ 's Id = %a
}
elseif ($3 == !bot) {
mta.msg $1 $2 To spawn cars type this exactly: (!sp <Your Name> <Car Name/ID>)
mta.msg $1 $2 To Teleport Type This exactly (!tp <your Name> <Person's Name>)
mta.msg $1 $2 To spawn weapon's type this exactly (!wep <your Name> <Weapon Name/ID>)
}
elseif ($3 == ![FFC]) {
mta.say $1 Flippin Foes Clan
}
elseif ($3 == ![GN]) {
mta.say $1 Green Nova's
}
elseif ($3 == !info) {
mta.say $1 [FFC]Basic v1 By.[FFC]Foo
}
elseif ($3 == !commands) {
mta.say $1 Public Command's:!sp,!tp,!bot,![FFC],![GN],!info,!id,!wep
}
elseif ($3 == !members) {
mta.msg $1 $2 [FFC]Member's
mta.msg $1 $2 [FFC]Foo,[FFC]Foohy,[FFC]akia14
mta.msg $1 $2 [FFC]Big_Rod,[FFC]quake,[FFC]Gimp
}
elseif ($3 == !bored) {
mta.say $1 $mta.name($1,$2) is bored!
}
var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2)
if ($mta.level($1,$2) >= 4) {
if ($3 == !ck) {
if ($mta.status($1,%a) != 2) mta.msg $1 $2 Player is not ingame.
elseif ($mta.vehicle($1,%a).name != foot) mta.msg $1 $2 Player is not on foot.
elseif ($mta.health($1,%a) <= 20) mta.msg $1 $2 Player does not have enough health.
else {
var %hp = $mta.health($1,%a)
mta.say $1 Checking $mta.name($1,%a) for HP hacks ...
mta.slap $1 %a
.timer 1 1 mta.check $1 %a %hp
}
}
}
}
alias mta.check {
if ($mta.health($1,$2) >= $3) {
mta.say $1 WARNING: HP Cheats found on: $mta.name($1,$2)
mta.say $1 TempBanning $mta.name($1,$2) on ip: $mta.ip($1,$2) for 1 hour
mta.ban $1 $2 Checker found HP cheats.
!writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) name $mta.name($1,$2)
!writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) time $ctime
!writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) till $calc($ctime + 3600)
!writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) ip $mta.ip($1,$2)
!writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) server $mta.server($1)
!writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) serverno $1
!write " $+ $grs.dir $+ tempbans.txt" $mta.ip($1,$2)
!.timer 1 3600 grs.unban $mta.ip($1,$2)
}
else mta.say $1 No HP chears found on $mta.name($1,$2)
}
and here is the script with your command in it
On *:SIGNAL:mta.command:{
var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2)
if ($3 == !slap) {
if ($mta.level($1,$2) >= 1) {
mta.slap $1 %a
}
}
elseif (($3 == !kill) && ($mta.name($1,$2) == [FFC]Foo)) .timer 6 0 mta.slap $1 %a
}
elseif ($3 == !id) {
mta.say $1 $mta.name($1,%a) $+ 's Id = %a
}
elseif ($3 == !bot) {
mta.msg $1 $2 To spawn cars type this exactly: (!sp <Your Name> <Car Name/ID>)
mta.msg $1 $2 To Teleport Type This exactly (!tp <your Name> <Person's Name>)
mta.msg $1 $2 To spawn weapon's type this exactly (!wep <your Name> <Weapon Name/ID>)
}
elseif ($3 == ![FFC]) {
mta.say $1 Flippin Foes Clan
}
elseif ($3 == ![GN]) {
mta.say $1 Green Nova's
}
elseif ($3 == !info) {
mta.say $1 [FFC]Basic v1 By.[FFC]Foo
}
elseif ($3 == !commands) {
mta.say $1 Public Command's:!sp,!tp,!bot,![FFC],![GN],!info,!id,!wep
}
elseif ($3 == !members) {
mta.msg $1 $2 [FFC]Member's
mta.msg $1 $2 [FFC]Foo,[FFC]Foohy,[FFC]akia14
mta.msg $1 $2 [FFC]Big_Rod,[FFC]quake,[FFC]Gimp
}
elseif ($3 == !bored) {
mta.say $1 $mta.name($1,$2) is bored!
}
var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2)
if ($mta.level($1,$2) >= 4) {
if ($3 == !ck) {
if ($mta.status($1,%a) != 2) mta.msg $1 $2 Player is not ingame.
elseif ($mta.vehicle($1,%a).name != foot) mta.msg $1 $2 Player is not on foot.
elseif ($mta.health($1,%a) <= 20) mta.msg $1 $2 Player does not have enough health.
else {
var %hp = $mta.health($1,%a)
mta.say $1 Checking $mta.name($1,%a) for HP hacks ...
mta.slap $1 %a
.timer 1 1 mta.check $1 %a %hp
}
}
}
}
alias mta.check {
if ($mta.health($1,$2) >= $3) {
mta.say $1 WARNING: HP Cheats found on: $mta.name($1,$2)
mta.say $1 TempBanning $mta.name($1,$2) on ip: $mta.ip($1,$2) for 1 hour
mta.ban $1 $2 Checker found HP cheats.
!writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) name $mta.name($1,$2)
!writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) time $ctime
!writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) till $calc($ctime + 3600)
!writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) ip $mta.ip($1,$2)
!writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) server $mta.server($1)
!writeini -n " $+ $grs.dir $+ MTAbans.ini" $mta.ip($1,$2) serverno $1
!write " $+ $grs.dir $+ tempbans.txt" $mta.ip($1,$2)
!.timer 1 3600 grs.unban $mta.ip($1,$2)
}
else mta.say $1 No HP chears found on $mta.name($1,$2)
}
The only help is i need to no how can i have 2 people that can youse the script and do you see errors becouse some of the script wont work like ![GN] and all that