Jump to content

MTAMA Scripting


Si|ent

Recommended Posts

u need to set them together urself cos we aint got them all in 1

scripts are too diferent to put them all together :roll:

what u talking about??... mine r all in 1, like 130KB of them.. :shock:

omg

i dont fucking get a combo of them

they dont work when i put them toghether :roll:

alias mta.join {
 if ($chr(1) isin $mta.name($1,$2)) { 
   mta.say $1 $mta.name($1,$2) Reason: Color Codes 
   mta.kick $1 $2 
 } 
 elseif ($read(shitlist.txt,w,$mta.name($1,$2))) {
   mta.say $1 $mta.name($1,$2) Reason: Your not welcome here..!!!
   mta.ban $1 $2

}
 elseif (TmM isin $mta.name($1,$2)) {
   mta.say $1 TmM is a registered gang!, $mta.name($1,$2) you've got 30 seconds to login!.
   .timer 1 30 kicker $1 $2 
 }
}
alias mta.text {
 if (!stats isin $3) { 
   if ($4 isin) mta.say $1 Name: $mta.name($1,$4) - ID: $4 - Ping: $mta.ping($1,$4) - Kills: $mta.kills($1,$4) - Deaths: $mta.deaths($1,$4) - Online: $duration($mta.online($1,$4)) - Status: $iif($mta.status($1,$4) == 1,Out Game,In Game) 
   else mta.say $1 Name: $mta.name($1,$2) - ID: $2 - Ping: $mta.ping($1,$2) - Kills: $mta.kills($1,$2) - Deaths: $mta.deaths($1,$2) - Online: $duration($mta.online($1,$2)) - Status: $iif($mta.status($1,$2) == 1,Out Game,In Game) 
 } 
} 
alias mta.pm { 
 if ($3 == pass) { 
   .writeini $+(",$scriptdir,$1.ini") ID $+ $2 oper 1 
   mta.say $1 $mta.name($1,$2) logged in.
 } 
} 
alias kicker {
 if (!$readini($+($scriptdir,$1,.ini),ID $+ $2,oper)) mta.kick $1 $2
}

+

alias mta.pm { 
if ($3- == admin lama) { 
 mta.say $1 Admin rights given to $mta.name($1-2) 
 writeini $+(",$scriptdir,$1.ini") ID $+ $2 op 1 
} 
} 
alias mta.text { 
if ($readini($scriptdir $+ $1.ini,ID $+ $2,op)) { 
 if ($3 == !kick) mta.kick $1 $4 
 if ($3 == !ban) mta.ban $1 $4 

} 
}  

cant get them work together :roll:

oh and the stats dont work too :P

Link to comment
  • Replies 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

i have tested your script oli and most of it works except a couple of things

whn you manhunt vote or start manhunt on a specific person and there aint enough players for manhunt in the server you get this...

and if there are enough players and you start manhunt on a specific person you get this...

thats it eveything else is good, thanks oli

Link to comment

/me solved 1 of his problems now problem

alias mta.pm { 
if ($3- == admin pass) { 
 mta.say $1 Admin rights given to $mta.name($1-2) 
 writeini $+(",$scriptdir,$1.ini") ID $+ $2 op 1 
} 
} 
alias mta.text { 
if ($readini($scriptdir $+ $1.ini,ID $+ $2,op)) { 
 if ($3 == !kick) mta.kick $1 $4 
 if ($3 == !ban) mta.ban $1 $4 

} 
}  

it shows :-/

Link to comment
u need to set them together urself cos we aint got them all in 1

scripts are too diferent to put them all together :roll:

what u talking about??... mine r all in 1, like 130KB of them.. :shock:

Yeah but ive got a mail [email protected] plz send them to my mail plz plz and when my box is overload please send theme then to [email protected] plz plz im searching very long and i cant add them self plz send me your script file of 130kb plz plz :)

Link to comment
u need to set them together urself cos we aint got them all in 1

scripts are too diferent to put them all together :roll:

what u talking about??... mine r all in 1, like 130KB of them.. :shock:

Yeah but ive got a mail [email protected] plz send them to my mail plz plz and when my box is overload please send theme then to [email protected] plz plz im searching very long and i cant add them self plz send me your script file of 130kb plz plz :)

ok rambo, im pretty generous with ppl and the scripts i do for them, but im not gonna make one from scratch for u, and im certainly not sending u MY script.

If you want help MAKING ure own script then ill be happy to help but im not just gonna put one together for u.

PS.. uve given us no details on what u want in it.

Link to comment
u need to set them together urself cos we aint got them all in 1

scripts are too diferent to put them all together :roll:

what u talking about??... mine r all in 1, like 130KB of them.. :shock:

Yeah but ive got a mail [email protected] plz send them to my mail plz plz and when my box is overload please send theme then to [email protected] plz plz im searching very long and i cant add them self plz send me your script file of 130kb plz plz :)

ok rambo, im pretty generous with ppl and the scripts i do for them, but im not gonna make one from scratch for u, and im certainly not sending u MY script.

If you want help MAKING ure own script then ill be happy to help but im not just gonna put one together for u.

PS.. uve given us no details on what u want in it.

Ok ists good i want the following commands:

!admin That when i logging there come (cc)Rambo is a reserved name....

!stat(with overall kills)

!ping (a automatic ping kicker)

!capskick (a caps kicker)

!players (Show the totoal players in the game)

!visitor counter

!countdown

!color code kick

!votekick

Link to comment

Ok ists good i want the following commands:

!admin That when i logging there come (cc)Rambo is a reserved name....

!stat(with overall kills)

!ping (a automatic ping kicker)

!capskick (a caps kicker)

!players (Show the totoal players in the game)

!visitor counter

!countdown

!color code kick

!votekick

Almost all of these scripts are posted in the forum

Make a copy of your scripts.mrc and try it your self

Grz Michael

(Ramo er staat meestal wel bij waar je die scripts moet plaatsen bv alias mta.join dan moet je hem dus in de alias join zetten

Ik spreek je op msn Mzzl)

Link to comment

NEW VERSION VISITOR SCRIPT V 1.2 :wink:

Here is a new version these are count how must visits the visitor has done and hi count the total visits from every player

; Visitor Counter V1.2 
alias mta.join {
 set %visits $calc($readini("MTAStats.ini",visits,$mta.name($1,$2)) + 1)
 writeini -n "MTAStats.ini" visits $mta.name($1,$2) %visits
 set %totalvisits $calc($readini("MTAStats.ini",totalvisits,total) + 1)
 writeini -n "MTAStats.ini" totalvisits total %totalvisits
 mta.say $1 Welcome $mta.name($1,$2) total visits $calc($readini("MTAstats.ini",visits,$mta.name( $1 , $2 ))) 
 mta.say $1 This server has been visit for $calc($readini("MTAstats.ini",totalvisits,total)) times
}

Grz Michael :D

Link to comment
NEW VERSION VISITOR SCRIPT V 1.2 :wink:

Here is a new version these are count how must visits the visitor has done and hi count the total visits from every player

; Visitor Counter V1.2 
alias mta.join {
 set %visits $calc($readini("MTAStats.ini",visits,$mta.name($1,$2)) + 1)
 writeini -n "MTAStats.ini" visits $mta.name($1,$2) %visits
 set %totalvisits $calc($readini("MTAStats.ini",totalvisits,total) + 1)
 writeini -n "MTAStats.ini" totalvisits total %totalvisits
 mta.say $1 Welcome $mta.name($1,$2) total visits $calc($readini("MTAstats.ini",visits,$mta.name( $1 , $2 ))) 
 mta.say $1 This server has been visit for $calc($readini("MTAstats.ini",totalvisits,total)) times
}

Grz Michael :D

Eey michael

Ik plaats hem in mijn scripts onder die alias.mta.join maar hij werkt niet kun je me ff helpen plz

Link to comment
NEW VERSION VISITOR SCRIPT V 1.2 :wink:

Here is a new version these are count how must visits the visitor has done and hi count the total visits from every player

; Visitor Counter V1.2 
alias mta.join {
 set %visits $calc($readini("MTAStats.ini",visits,$mta.name($1,$2)) + 1)
 writeini -n "MTAStats.ini" visits $mta.name($1,$2) %visits
 set %totalvisits $calc($readini("MTAStats.ini",totalvisits,total) + 1)
 writeini -n "MTAStats.ini" totalvisits total %totalvisits
 mta.say $1 Welcome $mta.name($1,$2) total visits $calc($readini("MTAstats.ini",visits,$mta.name( $1 , $2 ))) 
 mta.say $1 This server has been visit for $calc($readini("MTAstats.ini",totalvisits,total)) times
}

Grz Michael :D

Eey michael

Ik plaats hem in mijn scripts onder die alias.mta.join maar hij werkt niet kun je me ff helpen plz

:!: ENGLISH ONLY :!:

Link to comment
NEW VERSION VISITOR SCRIPT V 1.2 :wink:

Here is a new version these are count how must visits the visitor has done and hi count the total visits from every player

; Visitor Counter V1.2 
alias mta.join {
 set %visits $calc($readini("MTAStats.ini",visits,$mta.name($1,$2)) + 1)
 writeini -n "MTAStats.ini" visits $mta.name($1,$2) %visits
 set %totalvisits $calc($readini("MTAStats.ini",totalvisits,total) + 1)
 writeini -n "MTAStats.ini" totalvisits total %totalvisits
 mta.say $1 Welcome $mta.name($1,$2) total visits $calc($readini("MTAstats.ini",visits,$mta.name( $1 , $2 ))) 
 mta.say $1 This server has been visit for $calc($readini("MTAstats.ini",totalvisits,total)) times
}

Grz Michael :D

Eey michael

Ik plaats hem in mijn scripts onder die alias.mta.join maar hij werkt niet kun je me ff helpen plz

:!: ENGLISH ONLY :!:

another idiot

Link to comment
NEW VERSION VISITOR SCRIPT V 1.2 :wink:

Here is a new version these are count how must visits the visitor has done and hi count the total visits from every player

; Visitor Counter V1.2 
alias mta.join {
 set %visits $calc($readini("MTAStats.ini",visits,$mta.name($1,$2)) + 1)
 writeini -n "MTAStats.ini" visits $mta.name($1,$2) %visits
 set %totalvisits $calc($readini("MTAStats.ini",totalvisits,total) + 1)
 writeini -n "MTAStats.ini" totalvisits total %totalvisits
 mta.say $1 Welcome $mta.name($1,$2) total visits $calc($readini("MTAstats.ini",visits,$mta.name( $1 , $2 ))) 
 mta.say $1 This server has been visit for $calc($readini("MTAstats.ini",totalvisits,total)) times
}

Grz Michael :D

Eey michael

Ik plaats hem in mijn scripts onder die alias.mta.join maar hij werkt niet kun je me ff helpen plz

:!: ENGLISH ONLY :!:

another idiot

Ok srry then but i onlt wonmt help i talk english before okay !?

And have someone a Working Warn script for me ?? :)

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

    • No registered users viewing this page.

×
×
  • Create New...