Niels Posted March 6, 2005 Posted March 6, 2005 on *:SIGNAL:mta.connect:{ set %online. [ $+ [ $1 ] ] true } on *:SIGNAL:mta.start:{ .timerping 0 10 checkpings } on *:SIGNAL:mta.quit:{ .timerping off } on *:SIGNAL:mta.join:{ unset %ping. [ $+ [ $2 ] $+ ] * set %loop. [ $+ [ $2 ] ] 0 } on *:SIGNAL:mta.disconnect:{ unset %online. [ $+ [ $1 ] ] } alias checkpings { set %server 0 if ( %max == $null ) echo -a Maximum ping not set, pingkick off set %ping_counter $calc( %ping_counter + 1 ) if ( %ping_counter > 12 ) { set %ping_counter 0 } while ( %server < 9 ) { if ( %online. [ $+ [ %server ] ] == true ) { set %playerid 0 while ( %playerid < $mta.maxplayers($1) ) { set %ping. [ $+ [ %server ] $+ . $+ [ %playerid ] $+ . $+ [ %ping_counter ] ] $mta.ping( %server , %playerid ) set %dummy 0 set %totalping 0 while ( %dummy < 13 ) { inc %totalping %ping. [ $+ [ %server ] $+ . $+ [ %playerid ] $+ . $+ [ %dummy ] ] inc %dummy 1 } set %averageping. [ $+ [ %server ] $+ . $+ [ %playerid ] ] $round($calc( %totalping / 13 ) , 0 ) if ( %averageping. [ $+ [ %server ] $+ . $+ [ %playerid ] ] > %max ) && (%rights. [ $+ [ %server ] $+ . $+ [ %playerid ] ] == 0) { mta.say %server Kicking $mta.name( %server, %playerid ) for a ping of $round(%averageping. [ $+ [ %server ] $+ . $+ [ %playerid ] ] , 2) $+ , maximum is %max $+ . mta.kick %server %playerid unset %averageping. [ $+ [ %server ] $+ . $+ [ %playerid ] ] unset %ping. [ $+ [ %server ] $+ . $+ [ %playerid ] $+ ] * } } inc %playerid 1 } } inc %server 1 } unset %server } This pingkicker is don't work, can somone fix it? mIRC is crashing every time
Oli Posted March 7, 2005 Posted March 7, 2005 fucking hell i really am starting to have a physical passionate hatred of u.. after months and months of this shit u still dont know what the fuck you are doing! /me refuses to help this complete fuck wit any more
[GL]Rider Posted March 7, 2005 Posted March 7, 2005 hell i really am starting to have a physical passionate hatred of u.. after months and months of this shit u still dont know what the you are doing!/me refuses to help this complete wit any more Another quality piece of advice from you, so helpful!
Harry Posted March 7, 2005 Posted March 7, 2005 Why do you keep posting extremely old scripts? I DO know this one, because all my typo's are still in there. Just learn to program, and not copy them like a mad man, might be better for all of us
[GL]Rider Posted March 8, 2005 Posted March 8, 2005 Why do you keep posting extremely old scripts? I DO know this one, because all my typo's are still in there.Just learn to program, and not copy them like a mad man, might be better for all of us Stern, but fair! on the subject, anyone got any tips, well.. links that can help start me off.. i started but gave up due to getting another day job.
Oli Posted March 8, 2005 Posted March 8, 2005 reading the mirc readme is a great start.. and u can find some tutorials and snippets/commeneted scripts at http://www.mircscripts.org/ hope this helps
[KFC]KungFu Posted March 8, 2005 Posted March 8, 2005 or my method Wait for Oli to make it then click the box Oli gives you a carton of new cigs and your still hand rolling with newspaper and captain black...
*FKU*$tylez Posted March 8, 2005 Posted March 8, 2005 Oli gives you a carton of new cigs and your still hand rolling with newspaper and captain black... rofl thats the best analogy i've heard in a while.
Aeron Posted March 8, 2005 Posted March 8, 2005 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O :O DIE DIE DIE http://home.deds.nl/~aeron/?help.html http://home.deds.nl/~aeron/?help.html http://home.deds.nl/~aeron/?help.html http://home.deds.nl/~aeron/?help.html http://home.deds.nl/~aeron/?help.html LOCK & BAN PLZ
Recommended Posts