He says /mta.startrace : Insiffucult paramaters
I have this
on *:SIGNAL:mta.text: {
if ($3 == ?startrace) {
if ($address($nick,2) == *!*@gtanet-9220466C.swk1.ov.home.nl) {
if ($readini($scriptdir $+ botadmin.ini,BOTADMIN,$mta.nick($1,$2)) >= {
mta.startrace $1 $mta.races($1,$4-)
}
else /mta.text 1 You need to be level 8 to use this command
}
}
}
Next map?
Can i make that with a a Writi ini and then on map change readini an rem ini?
And how can i make That Botlevel 9 can use ?kick But cant kick some one whi is higher as botlvl 9
The ini he writes the bot lvl in is botadmin.ini,BOTADMIN
My kick script
on *:SIGNAL:mta.text: {
var %a = $iif((!$4),$2,$iif(($getid($1,$4) == $null),$2,$v1))
if ($left($3,1) == $chr(63)) {
if (%admincmd == aan) {
if ($3 == ?kick) {
if ($4 == $null) {
mta.text 1 Please choose a name.
}
else {
if ($readini($scriptdir $+ botadmin.ini,BOTADMIN,$mta.nick($1,$2)) >= {
mta.kick 1 %a
mta.text 1 $mta.nick($1,%a) has been kick by $mta.nick($1,$2)
}
else /mta.text 1 You need to be level 8 to use this command!
}
}
}
}
}
Tnx for helping me agian