-
Posts
2,318 -
Joined
-
Last visited
Everything posted by lil Toady
-
Just Cause is a game? That's a place for MTA only as i know and devs are busy with mta, i don't think they are going to make a MP for Just Cause However nothing stops them from starting it, but i doubt they will
-
There are team colors, and the health bar also does change it's color when your hp goes down... read the blog
-
thats possible in blue if im right, but i dont really like 2 guns
-
lol, i need a copyright on my posts
-
download the script here change in the following lines %echoserverid to your server ID in mtama and %echochan to your channel on *:START:{ set %echoserverid 5 set %echochan #mytest } Load the script, restart mirc and you're done
-
of course it doesn't work...... stuff like this: if ( !kick isin $1,$2) { is wrong, better make it if ($1 == !kick) { then.. commands like mta.freeze $1 $2 or mta.kick $1 $2.. wont work also......... How will mtama know in what server it needs to perform commands? $1 - server id, $2 - player id, in your script $1 and $2 mean text from irc chan.. you need to set something as a server id, like set %serverid 1 and in a command like '!kick n00b', you need to get the players id like $mta.getid(%serverid,$2) so it will work
-
bleh, you could maybe say please or something.. So you ask us, uber 1337 scripters, to write you a little newb a !stfu script, here you go.. on *:SIGNAL:mta.command:{ var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) if ($readini($scriptdir $+ stfu.ini,STFULIST,$mta.name($1,$2))) { mta.say $1 $2 Kicking $mta.name($1,$2) for talking while on stfu list! mta.kick $1 $2 } elseif ($3 == !stfu) { if (%a == -1) mta.msg $1 $2 Error - Absent ID elseif (%a == $2) mta.msg $1 $2 Error - Can't stfu yourself else { mta.say $1 $mta.name($1,%a) has been added to the STFU list! $iif($5,Reason: $5-) mta.msg $1 %a If you talk while on STFU list, you will be kicked! !writeini -n " $+ $scriptdir $+ stfu.ini" STFULIST $mta.name($1,%a) 1 } } elseif ($3 == !unstfu) { if (%a == -1) mta.msg $1 $2 Error - Absent ID elseif (!$readini($scriptdir $+ stfu.ini,STFULIST,$mta.name($1,%a))) mta.msg $1 $2 Error - $mta.name($1,%a) is not on the stfu list. else { mta.say $1 $mta.name($1,%a) has been removed from the stfu list! !remini " $+ $scriptdir $+ stfu.ini" STFULIST $mta.name($1,%a) } } } on *:SIGNAL:mta.action:{ if ($readini($scriptdir $+ stfu.ini,STFULIST,$mta.name($1,$2))) { mta.say $1 $2 Kicking $mta.name($1,$2) for talking while on stfu list! mta.kick $1 $2 } } on *:SIGNAL:mta.text:{ if ($readini($scriptdir $+ stfu.ini,STFULIST,$mta.name($1,$2))) { mta.say $1 $2 Kicking $mta.name($1,$2) for talking while on stfu list! mta.kick $1 $2 } } on *:SIGNAL:mta.pm:{ if ($readini($scriptdir $+ stfu.ini,STFULIST,$mta.name($1,$2))) { mta.say $1 $2 Kicking $mta.name($1,$2) for talking while on stfu list! mta.kick $1 $2 } }
-
That's not the ingame stats script.. thats a PHP script for a site... here's a stats script alias mta.spree !return $iif($hget(mta.spree,$mta.name($1,$2)),$v1,0) alias my.kills !return $iif($readini($scriptdir $+ mta.stats.ini,KILLS,$mta.name($1,$2)),$v1,0) alias my.deaths !return $iif($readini($scriptdir $+ mta.stats.ini,DEATHS,$mta.name($1,$2)),$v1,0) alias my.spree !return $iif($readini($scriptdir $+ mta.stats.ini,SPREE,$mta.name($1,$2)),$v1,0) on *:SIGNAL:mta.kill:{ if (!$hget(mta.spree)) !hmake mta.spree 100 if ($3 != $2) { !writeini " $+ $scriptdir $+ mta.stats.ini" KILLS $mta.name($1,$3) $calc($my.kills($1,$3) + 1) !hadd mta.spree $mta.name($1,$3) $calc($mta.spree($1,$3) + 1) if ($mta.spree($1,$3) > $my.spree($1,$3)) !writeini " $+ $scriptdir $+ mta.stats.ini" SPREE $mta.name($1,$3) $calc($my.spree($1,$3) + 1) } !writeini " $+ $scriptdir $+ mta.stats.ini" DEATHS $mta.name($1,$2) $calc($mta.deaths($1,$2) + 1) !hdel mta.spree $mta.name($1,$2) } on *:SIGNAL:mta.command:{ var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) if (!stat* iswm $3) { if (%a == -1) mta.msg $1 $2 Error - Absent ID. else { mta.say $1 Stats for $mta.name($1,%a) - Kills: $mta.kills($1,%a) $+ , Deaths: $mta.deaths($1,%a) $+ , Spree: $mta.spree($1,%a) mta.say $1 Overall - Kills: $my.kills($1,%a) $+ , Deaths: $my.deaths($1,%a) $+ , Ratio: $round($calc($my.kills($1,%a) / $my.deaths($1,%a)),4) $+ , Score: $calc($my.kills($1,%a) - $my.deaths($1,%a)) $+ , Best Spree: $my.spree($1,%a) } } }
-
on *:SIGNAL:mta.command:{ if ($3 == !resetstats) { set %resetstats [ $+ [ $1 ] $+ [ $2 ] ] 1 $+(.timer,reset,$mta.name($1,$2)) 1 30 reset.fail $1 $2 mta.say $1 $mta.name($1,$2) $+ , you really want to reset your stats? Type !yes/!no } elseif (%resetstats [ $+ [ $1 ] $+ [ $2 ] ]) { if ($3 == !yes) { unset %resetstats [ $+ [ $1 ] $+ [ $2 ] ] mta.say $1 $mta.name($1,$2) $+ , your stats removed. !hdel kills $mta.name($1,$2) !hdel deaths $mta.name($1,$2) !remini " $+ $grs.dir $+ mta.kills.ini" hashtable $mta.name($1,$2) !remini " $+ $grs.dir $+ mta.deaths.ini" hashtable $mta.name($1,$2) } elseif ($3 == !no) reset.fail $1 $2 } } alias reset.fail { unset %resetstats [ $+ [ $1 ] $+ [ $2 ] ] mta.say $1 $mta.name($1,$2) $+ , your stats haven't been reset } and it will take long to reset stats in GRS manualy you need to remove kills/deaths in diff inis, and the same kills/deaths in diff hashtables
-
CoZ, that is when somebody joins/parts mta, its in my script and he wants when some1 joins/parts mirc (lazy to write one, will post a little bit later if no1 does before me)
-
if you tell me where and how you store stats i can do that....
-
Yeh, i also like VC much more, but anyway it won't be called mta 0.5.1 if it releases
-
if mine didnt work, you did something wrong...
-
on *:START:{ set %echoserverid 5 set %echochan #mytest } on *:TEXT:*:%echochan:{ if ($1 == !msg) mta.text %echoserverid $nick $+ : $2- } on *:SIGNAL:mta.text:{ if ($1 == %echoserverid) /msg #mytest $mta.nick($1,$2) $+ : $3- } on *:SIGNAL:mta.join:{ if ($1 == %echoserverid) /msg #mytest 3 $+ $mta.nick($1,$2) has joined the game. } on *:SIGNAL:mta.part:{ if ($1 == %echoserverid) /msg #mytest 3 $+ $mta.nick($1,$2) has left the game. } in following lines change 1 set %echoserverid 1 to your server id, and #mytest set %echochan #mytest to your channel then load the script and restart mirc, connect to an irc server and mta and you're done, i've tested
-
mta.data.ini is in the mta dir, and mta won't start if there's no mta.data.ini there
-
Ty, fixed. Link updated. Only needed to change elseif to if
-
there was an EVO clan before if im right. Anyway GL
-
Maybe make an option in the server that allows/disallows FL, so if it's allowed it sends a packet and player's game sets FL off, else its on
-
You can't make a script change your hp, can you? Not sure about SA DM tho
-
oh, that one, Hummel(S), that is not supposed to cause problems.. at least i've never seen a script having problems with that. However he also did try the players ID and it didn't work, i tested and it worked for me, so dunno whats wrong for him
-
yeh i fixed that already, just redownload the script
-
It pwnz, was my fav RTS game some time ago.. It's old tho
