Jump to content

Quig

Members
  • Posts

    597
  • Joined

  • Last visited

Everything posted by Quig

  1. 06/31/04 ULK vs FKU 2nd rematch ULK-Rounds won= 2 FKU-Rounds Won=0 ULK-Rounds won= 2 FKU-Rounds Won=0 ULK-Rounds won= 2 FKU-Rounds Won=0
  2. Quig

    MTArc Thread.

    on anycase and excellent program
  3. i know i'm not suppose to post here so sry in advance but FKU and fight blasta if u want?????
  4. hey bump can we set up a war??? for the weekend
  5. yea there is a script for that
  6. all u have to do is put them in the appropriate places in the .MRC files in the mIRC folder just open the files with notepad or something
  7. Quig

    MTAMA Scripting

    ok cool it cancells itself but it does it right away so noone has time to vote at all??????
  8. Quig

    MTAMA Scripting

    what i want it to do is if noone votes in say 5mins it would stop itself that way if the server is busy u won't have multiple votekicks running at the same time
  9. Quig

    MTAMA Scripting

    hey thx aeron it works but the timer isn't doing anything, i can't get it to stop by itself, so now when i test it everytime i activate a votekick it continues to run, can u see anything else wrong with this?? if ($3 == !votekick) { %vote.percentage = 50 if (%vote.nick. [ $+ [ $1 ] ] == $null) { if ($ini($+(".$scriptdir,$1,.ini,"),ID $+ $4)) { set %vote.nick. [ $+ [ $1 ] ] $4 set %vote.voters. [ $+ [ $1 ] ] $null mta.say $1 Votekick "!vote" if u want that $mta.name($1,$4) shall be kicked.[ $calc($left($did(mta,$1 $+ 21),2) / 2) votes needed] [30 sec] .timervote [ $+ [ $1 ] ] 1 30 mta.vote $1 } else mta.say $1 Give up an exisiting ID-number: "!votekick <#ID"> } else mta.say $1 Another votekick is running: $mta.name($1,%vote.nick. [ $+ [ $1 ] ]) } if (($3 == !vote) && (%vote.nick. [ $+ [ $1 ] ] != $null)) { if ($2 !isin %vote.voters. [ $+ [ $1 ] ]) { %vote.voters [ $+ [ $1 ] ] = %vote.voters. [ $+ [ $1 ] ] $2 mta.say $1 $numtok(%vote.voters. [ $+ $1 ] ],32 votes for $mta.name($1,%vote.nick. [ $+ [ $1 ] ]) if ($calc($numtok(%vote.voters. [ $+ [$1 ] ],32) / $mta.players($1) *100) >= %vote.percentage) { mta.say $1 $mta.name($1,%vote.nick. [ $+ [ $1 ] ]) $numtok(%vote.voters. [ $+ [ $! ] ],32 votes ur out! mta.kick $1 %vote.nick. [ $+ [ $1 ] ] unset %vote.nick. [ $+ [ $1 ] ] unset %vote.voters. [ $+ [ $1 ] ] .timervote [ $+ [ $1 ] ] on } } else mta.say $1 $mta.name($1,$2) You have already voted } } alias mta.vote { mta.say $1 Vote kick cancelled: $mta.name($1,%vote.nick. [ $+ [ $1 ] ]) unset %vote.nick. [ $+ $1 ] ] unset %vote.voters. [ $+ [ $1 ] ] }
  10. i know lol ur a pain in the ass but thats what makes u special (short school bus special)
  11. well maybe they should try thier luck against us
  12. Quig

    MTAMA Scripting

    hmmm ok thx again
  13. Quig

    MTAMA Scripting

    ha stupid mistakes thx aeron and the highping kicker just doesn't react at all i duuno why alias checkpings { set %temp.i 0 while (%temp.i < 26) { set %temp.ping $mta.ping(1, %temp.i) if ( (%temp.ping > 1000) || (%temp.ping < 0) ) { halt } if (%temp.ping != $null) { inc %loop. [ $+ [ %temp.i ] ] 1 if (%loop. [ $+ [ %temp.i ] ] > 12) { set %loop. [ $+ [ %temp.i ] ] 1 } set %ping. [ $+ [ %temp.i ] $+ . $+ [ %loop. [ $+ [ %temp.i ] ] ] ] %temp.ping if (%ping. [ $+ [ %temp.i ] $+ . $+ ] 12 != $null) { set %temp.j 1 set %temp.average 0 while (%temp.j <= 12) { inc %temp.average %ping. [ $+ [ %temp.i ] $+ . $+ [ %temp.j ] ] inc %temp.j 1 } set %temp.average $calc(%temp.average / 12) set %average. [ $+ [ %temp.i ] ] %temp.average if (%temp.average >= %max) { /mta.say 1 Kicking $mta.name(1, %temp.i) for having average ping over %max /mta.kick 1 %temp.i } } } inc %temp.i 1 } unset %temp.* } alias mta.start { timerping 0 10 checkpings } alias mta.join { unset %ping. [ $+ [ $2 ] $+ ] * set %loop [ $+ [ $2 ] ] 0 } and the votekick works good but i was wonder how would i put a timer on it, so if no one votes it would stop itself
  14. Quig

    MTAMA Scripting

    i have a problem with two script's i'm tryin to test can someone see if they can find an error if ($3 == !votekick) { if (%vote.nick. [ $+ [ $1 ] ] == $null) { if ($ini($+(".$scriptdir,$1,.ini,"),ID $+ $4)) { set %vote.nick. [ $+ [ $1 ] ] $4 set %vote.voters. [ $+ [ $1 ] ] $null mta.say $1 Votekick "!vote" if u want that $mta.name($1,$4) shall be kicked.[ $calc($left($did(mta,$1 $+ 21),2) / 2) votes needed] [30 sec] .timervote [ $+ [ $1 ] ] 1 30 mta.vote $1 } else mta.say $1 Give up an exisiting ID-number: "!votekick <#ID"> } else mta.say $1 Another votekick is running: $mta.name($1,%vote.nick. [ $+ [ $1 ] ]) } if (($3 == !vote) && (%vote.nick. [ $+ [ $1 ] ] != $null)) { if ($2 !isin %vote.voters. [ $+ [ $1 ] ]) { %vote.voters [ $+ [ $1 ] ] = %vote.voters. [ $+ [ $1 ] ] $2 mta.say $1 $numtok(%vote.voters. [ $+ $1 ] ],32 votes for $mta.name($1,%vote.nick. [ $+ [ $1 ] ]) if ($numtok(%vote.voters. [ $+ [$1 ] ],32 >= $calc($left($did(mta,$1 $+ 21),2) / 2)) { mta.say $1 $mta.name($1,%vote.nick. [ $+ [ $1 ] ]) $numtok(%vote.voters. [ $+ [ $! ] ],32 votes ur out! mta.kick $1 %vote.nick. [ $+ [ $1 ] ] unset %vote.nick. [ $+ [ $1 ] ] unset %vote.voters. [ $+ [ $1 ] ] .timervote [ $+ [ $1 ] ] off } } else mta.say $1 $mta.name($1,$2) You have already voted } } alais mta.vote { mta.say $1 Vote kick cancelled: $mta.name($1,%vote.nick. [ $+ [ $1 ] ]) unset %vote.nick. [ $+ $1 ] ] unset %vote.voters. [ $+ [ $1 ] ] } ok i got the votekick to work but i need to know how to set the pecentage of votes needed to kick someone alias checkpings { set %temp.i 0 while (%temp.i < 26) { set %temp.ping $mta.ping(1, %temp.i) if ( (%temp.ping > 1000) || (%temp.ping < 0) ) { halt } if (%temp.ping != $null) { inc %loop. [ $+ [ %temp.i ] ] 1 if (%loop. [ $+ [ %temp.i ] ] > 12) { set %loop. [ $+ [ %temp.i ] ] 1 } set %ping. [ $+ [ %temp.i ] $+ . $+ [ %loop. [ $+ [ %temp.i ] ] ] ] %temp.ping if (%ping. [ $+ [ %temp.i ] $+ . $+ ] 12 != $null) { set %temp.j 1 set %temp.average 0 while (%temp.j <= 12) { inc %temp.average %ping. [ $+ [ %temp.i ] $+ . $+ [ %temp.j ] ] inc %temp.j 1 } set %temp.average $calc(%temp.average / 12) set %average. [ $+ [ %temp.i ] ] %temp.average if (%temp.average >= %max) { /mta.say 1 Kicking $mta.name(1, %temp.i) for having average ping over %max /mta.kick 1 %temp.i } } } inc %temp.i 1 } unset %temp.* } alias mta.start { timerping 0 10 checkpings } alias mta.join { unset %ping. [ $+ [ $2 ] $+ ] * set %loop [ $+ [ $2 ] ] 0 }
  15. Quig

    MTAMA Scripting

    cool ya thats what i've been doing and i've figured out the basics but i still got alot of learning to do
  16. Quig

    MTAMA Scripting

    hi i'm lookin for any new scripts. now i can't write them myself yet but i'm teaching myself so i will be able to soon, but until then i would appreciate alittle help i have all the basic scripts and the ones i've found on here so if anyone has some they could send to me that would be great.. and if anyone knows about any good books or site that could help with understanding how to write this stuff pls post a link thx
  17. Quig

    RED FACTION GANG

    ahhh RF good to see u in here good luck with the gang hope to war with u soon
  18. We in FKU tried to read all msg's from the mods before starting the gang but i guess not too many gang do that
  19. 05/22/04 FKU vs KFC (2nd Rematch) KFC-Rounds won=2 FKU-Rounds Won=1
  20. 05/22/04 FKU vs FMJ FMJ-rounds won=2 FKU-Rounds won=0
  21. if a war isn't good for tonight we'll post a day and time for the weekend
  22. good louck with the new clan
  23. 05/16/04 FKU vs DA FKU-Rounds won=1 DA-Rounds won=2
×
×
  • Create New...