{CE}EyeZ Posted January 11, 2007 Share Posted January 11, 2007 Since i can no longer connect to mta:vc i thought why not put all the script's i have on mta:vc for people whoi need'em so here you go i don't use'em anymore i guess Password script when you type !pass the player's pasword will come up as a pm to you Script below on *:SIGNAL:mta.command:{ if $mta.level($1,$2) >= 5 { if ($3 == !pass) && ($4 !== $null) { if ($readini($mta.dir $+ mta.nickserv.ini,n,$4,pass)) { mta.msg $1 $2 password $4 $+ : $readini($grs.dir $+ mta.nickserv.ini,n,$4,pass)) } else mta.msg $1 $2 password " $+ $4 $+ " was not found. } } } A script combind i found somewhere i don't remember when you type !slap it will slap'em when you type !kill it will kill'em on * :SIGNAL:mta.command:{ if $mta.level($1,$2) >= 4 { if ((($4 == $null) || ($mta.name($1,$mta.findid($1,$4)) == Unknown)) && (($3 == !slap) || ($3 == !kill))) !.timer 1 0 mta.msg $1 $2 Cant find the name! elseif (($3 == !slap) && ($5 isnum) && ($5 <20> 0)) !.timer $5 0 mta.slap $1 $mta.name($1,$mta.findid($1,$4)) elseif ($3 == !slap) !.timer 1 0 mta.slap $1 $mta.name($1,$mta.findid($1,$4)) elseif ($3 == !kill) !.timer 5 0 mta.slap $1 $mta.name($1,$mta.findid($1,$4)) } } This one i had for a long time i don't know who wrote it When you type !getip it will find the person's ip even if they are not in-game on *:SIGNAL:mta.command: { %a = $mta.getid($1,$4) if (!getip == $3 && $readini(mta.nickserv.ini,$mta.name($1,$2),level) > 4) { if (*.*.*.* !iswm $readini(getiplist.ini,$4,Ip)) { mta.msg $1 $2 $4 was not found! } elseif (!getip == $3) { mta.msg $1 $2 $4 $+ 's ip is: $readini(getiplist.ini,$4,Ip) } } } on *:SIGNAL:mta.join: { .timerstoreip 1 5 !writeini getiplist.ini $mta.name($1,$2) Ip $mta.ip($1,$2) } This is a script that will ban a player's ip even if they are not in the server When you type !banip it will find the ip of the person in the ip's i think on *:SIGNAL:mta.command: { if ($3 == !banip) { if $iif($readini($rpg.dir $+ mta.nickserv.ini,$mta.name($1,$2),level),$readini($rpg.dir $+ mta.nickserv.ini,$mta.name($1,$2),level),-1) > 4 { if ($4) { if (*.*.*.* iswm $4) { mta.addban $1 $4 mta.say $1 $mta.name($1,$2) > Banip ' $+ $4 $+ ' Succeeded. } else mta.msg $1 $2 invalid IP. } else mta.msg $1 $2 Syntax: !banip } } elseif $3 == !gw { mta.setweather $1 0 mta.settime $1 10:00 } } This is a !addmcd and a !echo cmd When you type !addcmd For EXAMPLE BELOW REKINIZE: !addcmd !hi Hello all It will add a command such as the one up top Another one !echo EXAMPLE BELOW REKINIZE: !echo on Now will type messege Twice REKINIZE: LOL REKINIZE: LOL on *:SIGNAL:mta.command: { if $iif($readini($mta.dir $+ temp.ini,parrot,on),$readini($mta.dir $+ temp.ini,parrot,on),0) == 1 && $3 != !echo { !.timer $iif($readini($mta.dir $+ temp.ini,parrot,quant),$readini($mta.dir $+ temp.ini,parrot,quant),1) 0 mta.say $1 $mta.name($1,$2) $+ : $3- } if $iif($readini($mta.dir $+ addcommands.ini,Commands,$3),$readini($mta.dir $+ addcommands.ini,Commands,$3),$null) != $null { If ($chr(37) isin $readini($mta.dir $+ addcommands.ini,Commands,$3)) { if ($4 != $null && $5 = $null) { mta.say $1 $replace($replace($readini($mta.dir $+ addcommands.ini,n,Commands,$3),^,$mta.name($1,$2)),$chr(37),$mta.name($1,$mta.getid($1,$4))) } } elseif $4 = $null { mta.say $1 $replace($readini($mta.dir $+ addcommands.ini,n,Commands,$3),^,$mta.name($1,$2)) } } if $iif($readini($mta.dir $+ mta.nickserv.ini,$mta.name($1,$2),level),$readini($mta.dir $+ mta.nickserv.ini,$mta.name($1,$2),level),-1) > 4 { If $3 == !addcmd && $4 != $null && $5 != $null { if $iif($readini($mta.dir $+ addcommands.ini,Commands,$4),$readini($mta.dir $+ addcommands.ini,Commands,$4),$null) == $null { !writeini -n " $+ $mta.dir $+ addcommands.ini" Commands $4 $5- mta.msg $1 $2 Command $4 added succesfully. } else mta.msg $1 $2 $4 allready exists, use !editcmd to modify the command. } elseif $3 == !remcmd && $4 != $null { if $iif($readini($mta.dir $+ addcommands.ini,Commands,$4),$readini($mta.dir $+ addcommands.ini,Commands,$4),$null) != $null { !remini -n " $+ $mta.dir $+ addcommands.ini" Commands $4 mta.msg $1 $2 Removed $4 succesfully. } else mta.msg $1 $2 $4 does not exist! } elseif $3 == !editcmd && $4 != $null && $5 != $null { if $iif($readini($mta.dir $+ addcommands.ini,Commands,$4),$readini($mta.dir $+ addcommands.ini,Commands,$4),$null) != $null { !writeini -n " $+ $mta.dir $+ addcommands.ini" Commands $4 $5- mta.msg $1 $2 Modified $4 succesfully. } else mta.msg $1 $2 $4 does not exist! } } if ($3 == !echo) { if $iif($readini($mta.dir $+ mta.nickserv.ini,$mta.name($1,$2),level),$readini($mta.dir $+ mta.nickserv.ini,$mta.name($1,$2),level),-1) > 4 { If ($4 == on) { !writeini -n " $+ $mta.dir $+ temp.ini" parrot on 1 mta.msg $1 $2 Echo On, $iif($readini($mta.dir $+ temp.ini,parrot,quant),$readini($mta.dir $+ temp.ini,parrot,quant),1) times. } elseif ($4 == off) { !writeini -n " $+ $mta.dir $+ temp.ini" parrot on 0 mta.msg $1 $2 Echo Off. } elseif ($4 isnum && $4 <10> 0) { !writeini -n " $+ $mta.dir $+ temp.ini" parrot quant $int($4) mta.msg $1 $2 Echoing text $int($4) times. } elseif $4 == $null { if $iif($readini($mta.dir $+ temp.ini,parrot,on),$readini($mta.dir $+ temp.ini,parrot,on),0) = 1 { !writeini -n " $+ $mta.dir $+ temp.ini" parrot on 0 mta.msg $1 $2 Echo Off. } else { !writeini -n " $+ $mta.dir $+ temp.ini" parrot on 1 mta.msg $1 $2 Echo On, $iif($readini($mta.dir $+ temp.ini,parrot,quant),$readini($mta.dir $+ temp.ini,parrot,quant),1) times. } } } } } on *:SIGNAL:mta.text: { if $iif($readini($mta.dir $+ temp.ini,parrot,on),$readini($mta.dir $+ temp.ini,parrot,on),0) == 1 { !.timer $iif($readini($mta.dir $+ temp.ini,parrot,quant),$readini($mta.dir $+ temp.ini,parrot,quant),1) 0 mta.say $1 $mta.name($1,$2) $+ : $3- } if $iif($readini($mta.dir $+ addcommands.ini,Commands,$3),$readini($mta.dir $+ addcommands.ini,Commands,$3),$null) != $null { If ($chr(37) isin $readini($mta.dir $+ addcommands.ini,Commands,$3)) { if ($4 != $null && $5 = $null) { mta.say $1 $replace($replace($readini($mta.dir $+ addcommands.ini,n,Commands,$3),^,$mta.name($1,$2)),$chr(37),$mta.name($1,$mta.getid($1,$4))) } } elseif $4 = $null { mta.say $1 $replace($readini($mta.dir $+ addcommands.ini,n,Commands,$3),^,$mta.name($1,$2)) } } } This is a !check script that will check the player for ho hacks When you type !check it will slap'em then will tell you if they are using hacks or not on *:SIGNAL:mta.command:{ var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) if ($mta.level($1,$2) >= 4) { if ($3 == !check) { 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>= $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 cheats found on $mta.name($1,$2) } Hmmm i would give more but i was told i am not suppose to or bad thing's would happen to me Link to comment
{CE}EyeZ Posted January 22, 2007 Author Share Posted January 22, 2007 If you need to use these script's go right ahead! Link to comment
Squall Posted January 22, 2007 Share Posted January 22, 2007 hmm most of these scripts are usless cause who would want a echo script it gets annoying and some ppl dont use grs yet they are gud 4 beginners Link to comment
Recommended Posts