catman Posted May 4, 2005 Posted May 4, 2005 Can someone please tell me how to get these or do it for me thanks.
MrJax Posted May 4, 2005 Posted May 4, 2005 on *:SIGNAL:mta.command:{ var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) if (%a == -1) mta.say $1 Error: ID not present elseif ($3 == !spree) mta.say $1 $mta.name($1,%a) > Spree: $mta.spree($1,%a) elseif ($3 == !hp) mta.say $1 $mta.name($1,%a) > Health: $mta.health($1,%a) $+ % } on *:SIGNAL:mta.kill:{ !remini data.ini spree $mta.name($1,$2) if ($mta.name($1,$3) != Unknown && $2 != $3) !writeini data.ini spree $mta.name($1,$3) $calc($readini(data.ini,spree,$mta.name($1,$3)) + 1) } alias mta.spree !return $iif($readini(data.ini,spree,$mta.name($1,$2)),$readini(data.ini,spree,$mta.name($1,$2)),0) * Jax warns Oli not to say a word!
DJDenz Posted May 5, 2005 Posted May 5, 2005 Hey dude, here is a very good !hp script: var %a = $iif($4 != $null,$iif($ini($mta.dir $+ $1.ini,ID $+ $4),$4,$mta.getid($1,$4)),$2) if ($3 == !hp) { if (%a != -1) mta.say $1 $mta.name($1,%a) $+ 's health is $mta.health($1,%a) else mta.msg $1 $2 Error - Invalid ID } Put it under on *:SIGNAL:mta.command:{
catman Posted May 5, 2005 Author Posted May 5, 2005 Do i put these into a notepad document and run them?
Harry Posted May 6, 2005 Posted May 6, 2005 No, insert it in the script you're currently running, under the mta.command signal, as he said
topgun Posted May 7, 2005 Posted May 7, 2005 Do i put these into a notepad document and run them? u sound like a dude called stewie a hacker and he seems to have disappared maybe he was too embarrased to be here . but dude if u dont know how to run a script or copy paste it than as tlr randy said i give up too . but to help u copy paste in a doc txt or any text file of any kind and than rename it to blablafile.mrc and how to rename it dont ask me cause i dont know how to explain . and than load that script using mirc or if u have some script running open that script up in notepad and copy paste the code where it need to go and where it needs to go can be seen in jax script just find that part and paste it under there and paste only just under the command or wherever it need to go and after the { later and if this doesnt help sorry i cant help no more.
[TMG]Energy Posted May 7, 2005 Posted May 7, 2005 Basicscript: http://home.deds.nl/~aeron/scripts/Scripts.mrc and put one of the code under on *:SIGNAL:mta.command:{
[TMG]Energy Posted May 12, 2005 Posted May 12, 2005 begin with learn: $mta.name($1,$2) $mta.say $1 and all that shit
=DS=*Weed* Posted May 12, 2005 Posted May 12, 2005 Why don't u just use the grs.... blue is coming, if u now wanna learn scripting ur to late, in blue there are no scripts..... just give up now. If you wanted to learn scripting u should've start a long ( well not soo long ) ago.
MeanpantheR Posted May 12, 2005 Posted May 12, 2005 blue IS coming and by the looks of it, its taking its sweet time so theres plenty of time to learn how to script! catman- check the pm i sent u k
Silent Posted June 20, 2005 Posted June 20, 2005 Can anyone do this like the UVA server's !Spree script so that it shows your current and your best spree and when you type !topspree it comes up with the best in the server currently, thanks, Peace Out, Silent.
MrJax Posted June 20, 2005 Posted June 20, 2005 on *:SIGNAL:mta.command:{ var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) if ($3 == !spree) mta.say $1 $mta.name($1,%a) > Spree: $iif($readini(spree.ini,current,$mta.name($1,%a)),$readini(spree.ini,current,$mta.name($1,%a)),0) - Top: $iif($readini(spree.ini,top,$mta.name($1,%a)),$readini(spree.ini,top,$mta.name($1,%a)),0) elseif ($3 == !topspree) { var %a = 0,%b,%c,%d,%e while (%a < $mta.maxplayers($1)) { if ($mta.name($1,%a) != Unknown && $readini(spree.ini,top,$mta.name($1,%a)) > 0) { %b = $readini(spree.ini,top,$mta.name($1,%a)) if (%b > $iif($readini(spree.ini,top,%c),$readini(spree.ini,top,%c),0)) %c = $mta.name($1,%a) elseif (%b > $iif($readini(spree.ini,top,%d),$readini(spree.ini,top,%d),0)) %d = $mta.name($1,%a) elseif (%b > $iif($readini(spree.ini,top,%e),$readini(spree.ini,top,%e),0)) %e = $mta.name($1,%a) } !inc %a } if (%c) { mta.say $1 Top Kill Sprees: mta.say $1 1st > %c with $readini(spree.ini,top,%c) kills if (%d) mta.say $1 2nd > %d with $readini(spree.ini,top,%d) kills if (%e) mta.say $1 3rd > %e with $readini(spree.ini,top,%e) kills } else mta.say $1 No one in the server has a kill spree! } } on *:SIGNAL:mta.kill:{ if ($mta.name($1,$3) != Unknown && $2 != $3) { !writeini -n spree.ini current $mta.name($1,$3) $calc($readini(spree.ini,current,$mta.name($1,$3)) + 1) if ($readini(spree.ini,current,$mta.name($1,$3)) > $readini(spree.ini,top,$mta.name($1,$3))) !writeini spree.ini top $mta.name($1,$3) $readini(spree.ini,current,$mta.name($1,$3)) } !writeini -n spree.ini current $mta.name($1,$2) 0 }
catman Posted June 21, 2005 Author Posted June 21, 2005 It doesn't work....... When I type !spree it dont say best: and when i die my spree gets deleted help me please
MrJax Posted June 21, 2005 Posted June 21, 2005 What? It's suppose to get set back to 0 when you die, that's the whole point
Recommended Posts