Oli Posted February 6, 2006 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.
andeh Posted February 6, 2006 Posted February 6, 2006 can u add a way mtama can figure out if a player is AFK?
andeh Posted February 6, 2006 Posted February 6, 2006 can u add a way mtama can figure out if a player is AFK?
m0rfin Posted February 6, 2006 Posted February 6, 2006 Will this work? (SA) on *:SIGNAL:mta.command: { if ($3 == !up) { mta.say http://morfin.mine.nu:88 } }
m0rfin Posted February 6, 2006 Posted February 6, 2006 Will this work? (SA) on *:SIGNAL:mta.command: { if ($3 == !up) { mta.say http://morfin.mine.nu:88 } }
Oli Posted February 6, 2006 Posted February 6, 2006 can u add a way mtama can figure out if a player is AFK? ill think about it
Oli Posted February 6, 2006 Posted February 6, 2006 can u add a way mtama can figure out if a player is AFK? ill think about it
Aeron Posted February 6, 2006 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.
Aeron Posted February 6, 2006 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.
Oli Posted February 6, 2006 Posted February 6, 2006 i could theoretically get the server to send admin a packet when someone has actually been idle for say 5mins
Oli Posted February 6, 2006 Posted February 6, 2006 i could theoretically get the server to send admin a packet when someone has actually been idle for say 5mins
andeh Posted February 7, 2006 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.
andeh Posted February 7, 2006 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.
{VCU}Punk Posted February 7, 2006 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.
{VCU}Punk Posted February 7, 2006 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.
Jeremy Posted February 7, 2006 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 } } }
Jeremy Posted February 7, 2006 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 } } }
m0rfin Posted February 7, 2006 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
m0rfin Posted February 7, 2006 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
=TmM= DuffBeer Posted February 7, 2006 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 } }
m0rfin Posted February 7, 2006 Posted February 7, 2006 Duff: Thx How do i make a welcome msg to anyone who joins the server?
Jeremy Posted February 7, 2006 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
=TmM= DuffBeer Posted February 8, 2006 Posted February 8, 2006 Good, thanks Jeremy Although, Add the $1 parameter behind the mta.text and then it works a treat.
m0rfin Posted February 8, 2006 Posted February 8, 2006 Can someone code me a script like this: When a player dies it says $user ate the metal
{VCU}Punk Posted February 8, 2006 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.
Recommended Posts