Jump to content

Cube

Members
  • Posts

    211
  • Joined

  • Last visited

Everything posted by Cube

  1. Cube

    MTAMA Scripting

    WHO want how make script !stats, but !stats ??
  2. Cube

    MTAMA Scripting

    ok thx Aeron. Yet work.[/code]
  3. Cube

    MTAMA Scripting

    Aeron ?? Why if i have this: /set %life. [ $+ [ $2 ] ] $ctime } or this: unset %ping. [ $+ [ $2 ] $+ ] * set %loop. [ $+ [ $2 ] ] 0 } in alias mta.join , doesn't work all scripts in alias mta.text ??
  4. Cube

    MTAMA Scripting

    YEAAaaaa !!!! Very big thx Aeron, working . THX !!
  5. Cube

    MTAMA Scripting

    Ok THX Aeron , and this: /set %max 300 where i muts give it ??
  6. Cube

    MTAMA Scripting

    HI, - checkping: not connected to server what this is ???????? Why this not working ?? 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 } Can you help me AERON ????
  7. Cube

    MTAMA Scripting

    HI all, not working me 3 scripts. Can you help me ? 1. I have this /set %life. [ $+ [ $2 ] ] $ctime } in scripts.mrc in mta.join and this not working and all scripts in mta.text not working. WHY ? 2. I have this if ($mta.kills($1,$3) == 10) mta.say $1 No,no koles o imieniu $mta.name($1,$3) uwalil juz 10 frajerow ! if ($mta.kills($1,$3) == 20) mta.say $1 No,no koles o imieniu $mta.name($1,$3) uwalil juz 20 frajerow, uwazajcie na niego ! if ($mta.kills($1,$3) == 30) mta.say $1 No,no koles o imieniu $mta.name($1,$3) uwalil juz 30 frajerow, oj oj naginajcie od niego ! } in mta.kill and this not working , why ? 3. I have this 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 } in scripts.mrc and this not working. I don't know where i must giv this: /set %max 300 , but i want this have all in scripts.mrc. CAN YOU HELP ME ??
  8. Cube

    MTAMA Scripting

    OLI not working, have you this script in the scripts.mrc, write me this here ??
  9. Cube

    MTAMA Scripting

    Ok will trying, bix thx OLI.
  10. Cube

    MTAMA Scripting

    HI all, i from poland and i have problem. Beacause I want write script "high ping kick", max ping 300, but i want this have in scripts.mrc. I don't know where i must have this: /set %max 300. Can you help me ?
×
×
  • Create New...