Oli Posted February 6, 2006 Share Posted February 6, 2006 yeah the admin client can calculate the race state with the info sent now, and they will be able to tell when a race fninishes. im also sending player pings to admin in the next server release, so ping kickers will be possible. Link to comment
andeh Posted February 6, 2006 Share Posted February 6, 2006 can u add a way mtama can figure out if a player is AFK? Link to comment
andeh Posted February 6, 2006 Share Posted February 6, 2006 can u add a way mtama can figure out if a player is AFK? Link to comment
m0rfin Posted February 6, 2006 Share Posted February 6, 2006 Will this work? (SA) on *:SIGNAL:mta.command: { if ($3 == !up) { mta.say http://morfin.mine.nu:88 } } Link to comment
m0rfin Posted February 6, 2006 Share Posted February 6, 2006 Will this work? (SA) on *:SIGNAL:mta.command: { if ($3 == !up) { mta.say http://morfin.mine.nu:88 } } Link to comment
Oli Posted February 6, 2006 Share Posted February 6, 2006 can u add a way mtama can figure out if a player is AFK? ill think about it Link to comment
Oli Posted February 6, 2006 Share Posted February 6, 2006 can u add a way mtama can figure out if a player is AFK? ill think about it Link to comment
Aeron Posted February 6, 2006 Share Posted February 6, 2006 Will this work? (SA) on *:SIGNAL:mta.command: { if ($3 == !up) { mta.say http://morfin.mine.nu:88 } } Fixed: on *:SIGNAL:mta.command: { if ($3 == !up) { mta.text $! http://morfin.mine.nu:88 } } can u add a way mtama can figure out if a player is AFK? I made $mta.idle(), it returns the number of $ticks a player hasn't said anything. Link to comment
Aeron Posted February 6, 2006 Share Posted February 6, 2006 Will this work? (SA) on *:SIGNAL:mta.command: { if ($3 == !up) { mta.say http://morfin.mine.nu:88 } } Fixed: on *:SIGNAL:mta.command: { if ($3 == !up) { mta.text $! http://morfin.mine.nu:88 } } can u add a way mtama can figure out if a player is AFK? I made $mta.idle(), it returns the number of $ticks a player hasn't said anything. Link to comment
Oli Posted February 6, 2006 Share Posted February 6, 2006 i could theoretically get the server to send admin a packet when someone has actually been idle for say 5mins Link to comment
Oli Posted February 6, 2006 Share Posted February 6, 2006 i could theoretically get the server to send admin a packet when someone has actually been idle for say 5mins Link to comment
andeh Posted February 7, 2006 Share Posted February 7, 2006 i could theoretically get the server to send admin a packet when someone has actually been idle for say 5mins that be great, becuase u can't go by mta.idle becuase its only counts when a player has said something. Not everyone speaks every 5 mins, specially when racing. Link to comment
andeh Posted February 7, 2006 Share Posted February 7, 2006 i could theoretically get the server to send admin a packet when someone has actually been idle for say 5mins that be great, becuase u can't go by mta.idle becuase its only counts when a player has said something. Not everyone speaks every 5 mins, specially when racing. Link to comment
{VCU}Punk Posted February 7, 2006 Share Posted February 7, 2006 Quick Question for expert scripters, why does this always produce a zero value?..... on *:SIGNAL:mta.command: { if ($3 == !skin) { if ($mta.name($1,$2) != Unknown) { mta.say $1 $mta.name($1,$2) - Skin: $readini(mta.data.ini, skin2, $mta.skin($1,$2)) else { mta.say $1 Unknown: ID not present. } } The "$readini(mta.data.ini, skin2, $mta.skin($1,$2))" should change from 0 -6 and use the Skin described in the mta.data.ini, which it reads, but only returns zero value... weirdly enough i cant figure it out. lemme know what you come up with. Link to comment
{VCU}Punk Posted February 7, 2006 Share Posted February 7, 2006 Quick Question for expert scripters, why does this always produce a zero value?..... on *:SIGNAL:mta.command: { if ($3 == !skin) { if ($mta.name($1,$2) != Unknown) { mta.say $1 $mta.name($1,$2) - Skin: $readini(mta.data.ini, skin2, $mta.skin($1,$2)) else { mta.say $1 Unknown: ID not present. } } The "$readini(mta.data.ini, skin2, $mta.skin($1,$2))" should change from 0 -6 and use the Skin described in the mta.data.ini, which it reads, but only returns zero value... weirdly enough i cant figure it out. lemme know what you come up with. Link to comment
Jeremy Posted February 7, 2006 Share Posted February 7, 2006 Here you go on *:SIGNAL:mta.command: { if ($3 == !skin) { if ($4 == $null) { mta.say $1 $mta.name($1,$2) Skin: $mta.skin($1,$2).name } elseif ($mta.name($1,$4) == Unknown) { mta.say $1 Error, ID Not Present! } else { mta.say $1 $mta.name($1,$4) Skin: $mta.skin($1,$4).name } } } Link to comment
Jeremy Posted February 7, 2006 Share Posted February 7, 2006 Here you go on *:SIGNAL:mta.command: { if ($3 == !skin) { if ($4 == $null) { mta.say $1 $mta.name($1,$2) Skin: $mta.skin($1,$2).name } elseif ($mta.name($1,$4) == Unknown) { mta.say $1 Error, ID Not Present! } else { mta.say $1 $mta.name($1,$4) Skin: $mta.skin($1,$4).name } } } Link to comment
m0rfin Posted February 7, 2006 Share Posted February 7, 2006 Will this work? (SA) on *:SIGNAL:mta.command: { if ($3 == !up) { mta.say http://morfin.mine.nu:88 } } Fixed: on *:SIGNAL:mta.command: { if ($3 == !up) { mta.text $! http://morfin.mine.nu:88 } } can u add a way mtama can figure out if a player is AFK? I made $mta.idle(), it returns the number of $ticks a player hasn't said anything. wont work * /mta.text: insufficient parameters Link to comment
m0rfin Posted February 7, 2006 Share Posted February 7, 2006 Will this work? (SA) on *:SIGNAL:mta.command: { if ($3 == !up) { mta.say http://morfin.mine.nu:88 } } Fixed: on *:SIGNAL:mta.command: { if ($3 == !up) { mta.text $! http://morfin.mine.nu:88 } } can u add a way mtama can figure out if a player is AFK? I made $mta.idle(), it returns the number of $ticks a player hasn't said anything. wont work * /mta.text: insufficient parameters Link to comment
=TmM= DuffBeer Posted February 7, 2006 Share Posted February 7, 2006 There was just one mistake. Try it with: on *:SIGNAL:mta.command: { if ($3 == !up) { mta.text $1 http://morfin.mine.nu:88 } } Link to comment
m0rfin Posted February 7, 2006 Share Posted February 7, 2006 Duff: Thx How do i make a welcome msg to anyone who joins the server? Link to comment
Jeremy Posted February 7, 2006 Share Posted February 7, 2006 (edited) on *:SIGNAL:mta.join: { mta.text $1 Welcome $mta.nick($1,$2) } */ EDIT thanks duff missed that Edited February 8, 2006 by Guest Link to comment
=TmM= DuffBeer Posted February 8, 2006 Share Posted February 8, 2006 Good, thanks Jeremy Although, Add the $1 parameter behind the mta.text and then it works a treat. Link to comment
m0rfin Posted February 8, 2006 Share Posted February 8, 2006 Can someone code me a script like this: When a player dies it says $user ate the metal Link to comment
{VCU}Punk Posted February 8, 2006 Share Posted February 8, 2006 on *:SIGNAL:mta.kill: { mta.say $1 $mta.name($1,$2) ate the metal! } i think thats all you need, check with others first. Link to comment
Recommended Posts