Jump to content

Aeron

Retired Staff
  • Posts

    968
  • Joined

  • Last visited

Everything posted by Aeron

  1. Aeron

    New Error?!

    I think he posted in the wrong forum...
  2. It may accure the the list is not updated because you halt the alias 'mta.kill'. If you halt it, it wil not process the code after it (which is delte info and refresh list).
  3. Aeron

    MTAMA Scripting

    alias mta.join { if (RP isin $mta.name($1,$2)) { mta.say $1 $+(',$mta.name($1,$2),') please login. ("/msg login ", 10 seconds) $+(!.timer,$1,.,$2) 1 10 mta.kick $1 $2 } } alias mta.part { $+(!.timer,$1,.,$2) off } alias mta.pm { if ($3- == login ) { mta.say $1 $+(',$mta.name($1,$2),') logged in. $+(!.timer,$1,.,$2) off } } ^ Fixed ^
  4. Aeron

    MTAMA Scripting

    5 time banned thing not included: alias mta.join { if (RP isin $mta.name($1,$2)) { mta.say $1 $+(',$mta.name($1,$2),') please login. ("/msg login ", 10 seconds) $+(!.timer,$1,.,$2) mta.kick $1 $2 } } alias mta.part { $+(!.timer,$1,.,$2) off } alias mta.pm { if ($3- == login ) { mta.say $1 $+(',$mta.name($1,$2),') logged in. $+(!.timer,$1,.,$2) off } } *Un tested*
  5. Aeron

    MTAMA Scripting

    I build in some script checkers in MTA:mA (Only Double alaises yet...)
  6. Aeron

    MTAMA Scripting

    Dont load the script if mtama is already running.... load before you run OR rebot MTA:mA
  7. Aeron

    MTAMA Scripting

    I improved the ping kicker! (See 1 page back)
  8. Aeron

    MTAMA Scripting

    Improved Ping kicker which is faster. Please leave the comment inside You may edit the mta.* aliases a bit. alias mta.start { %ping.max = 200 !.timerpingkick 0 10 pingkick } alias mta.quit { !.timerpingkick off } alias mta.part { !hdel Ping. $+ $1 $2 } alias pingkick { ;Made by Aeron ;Contact at [email protected] var %a = 1,%b if (%ping.max !isnum) { !echo Maximum ping not set. !halt } while %a < 9 { if ($sock(mta. $+ %a)) { %b = $readini($nofile($script(mta.mrc)) $+ mta.ini,%a,max) while %b >= 0 { !tokenize 32 $hget(Ping. $+ %a,%b) !hadd -m Ping. $+ %a %b $calc($mta.ping(%a,%b) +$1) $calc(1+$2) if $2 > 5 { if $calc($1 /$2) > %ping.max { mta.say %a $mta.name(%a,%b) Reason: High ping. (Max: %ping.max $+ ) mta.kick %a %b } !hadd -m Ping. $+ %a %b $mta.ping(%a,%b) 1 } !dec %b } } !inc %a } }
  9. [20:06:42] * Aeron sticks a "IDIOT"-sticker on Ransom's head [20:06:43] * Ransom directs Aeron towards JHXP [20:07:19] [20:07:35] * Ransom takes it off and throws it across the room [20:07:46] it still stuck on ur hand [20:08:06] nah cause ... I'm made of water [20:08:11] so HAH [20:08:16] * Aeron drinks Ransom [20:08:25] toxic water [20:08:33] * Aeron takes some pills [20:08:43] lol Ransom [20:08:46] toxic water that you cant cure EVER [20:08:54] Aeron: disgusting [20:09:07] hahaaha [20:09:07] * Aeron pukes
  10. Aeron

    MTAMA Scripting

    Ah no.. You only changed some of the messages, and post it again.. wow.. now i know why this thread is allmost 50 pages... How could anybody find something here, if everything it justered for just 2 charecters, and no real big improvments, and posted over and over again? indeed...
  11. Aeron

    MTAMA Scripting

    Dont forget the alias mta.quit { .timerping off } !!!
  12. My MTA:mA works fine If a player is kicked its info is removed and the list refrshes. MTA:mA doesn't give a shit if mIRC is connect or not.
  13. 1. Ok good idea. 2. MTA:mA has nothing to do with IRC
  14. You prolly mean AcraCrabaSimsalabinSeron ? Or me? Dude i can't even program C or C++ to creat a sorte of DDOS program
  15. Aeron

    MTAMA Scripting

    idiot "ZC" not "Z" and "C"
  16. Aeron

    MTAMA Scripting

    Good idea. PM me to give the info and i send your the info I prefere to have 24/7 hosting.
  17. Aeron

    MTAMA Scripting

    Ask [FMJ]Oli. Debugged: alias mta.pm { ;Set to your real password if (admin == $3-) { .writeini $+(",$scriptdir,$1.ini") ID $+ $2 oper 1 mta.say $1 Admin rights given to $mta.name($1,$2) } if (($calc($len($3-) - $len($removecs($3-,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z))) >= $calc($len($3-) * 0.5)) && ($len($3-) >= 5)) { mta.say $1 $mta.name($1,$2) Reason: Please do not use caps! mta.kick $1 $2 } } alias mta.join { mta.say $1 $mta.name($1,$2) Welcome to DaNThANuTTa's Ultimate Stunt Server! mta.say $1 Please visit my website www.danthanutta.instantws.com! } alias mta.text { if (($calc($len($3-) - $len($removecs($3-,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z))) >= $calc($len($3-) * 0.5)) && ($len($3-) > 5)) { mta.say $1 $mta.name($1,$2) Reason: Caps usage mta.kick $1 $2 } if ($readini($+($nofile($script(mta.mrc)),$1,.ini),ID $+ $2,oper)) { if ($3 == !kick) mta.kick $1 $4 if ($3 == !ban) mta.ban $1 $4 } if (!stats* iswm $3) { if ($4 isnum) mta.say $1 Name: $mta.name($1,$4) - ID: $4 - Ping: $mta.ping($1,$4) - Kills: $mta.kills($1,$4) - Deaths: $mta.deaths($1,$4) - Online: $duration($mta.online($1,$4)) - Status: $iif($mta.status($1,$4) == 1,Out Game,In Game) else mta.say $1 Name: $mta.name($1,$2) - ID: $2 - Ping: $mta.ping($1,$2) - Kills: $mta.kills($1,$2) - Deaths: $mta.deaths($1,$2) - Online: $duration($mta.online($1,$2)) - Status: $iif($mta.status($1,$2) == 1,Out Game,In Game) } if ($3 == !ping) { mta.say $1 $mta.name($1,$2) $+ , your ping is: $mta.ping($1,$2) } if ($3 == !players) { var %a = 0,%b,%c while %a < 26 { if ($mta.game($1,%a) == 1) !inc %b if ($mta.game($1,%a) == 2) !inc %c inc %a } mta.say $1 $mta.maxplayers($1) player server, $mta.players($1) $+ / $+ $mta.maxplayers($1) $+ , %a player(s) ingame, %b player(s) outgame. } if ($3 == !admin) { var %a = 0,%b while %a < 26 { if ($readini($+($nofile($script(mta.mrc)),$1,.ini),ID $+ $2,oper)) %b = %b $mta.name($1,$2) !inc %a } mta.say $1 Current admins: %b } if (!count* iswm $3) { mta.say $1 Countdown! .timerc1 1 1 mta.say $1 5 .timerc2 1 2 mta.say $1 4 .timerc3 1 3 mta.say $1 3 .timerc4 1 4 mta.say $1 2 .timerc5 1 5 mta.say $1 1 .timerc6 1 6 mta.say $1 GO GO GO! } 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 existing ID-number: "!votekick " } 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. [ $+ [ $1 ] ],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 } } alias mta.vote { mta.say $1 Vote kick cancelled: $mta.name($1,%vote.nick. [ $+ [ $1 ] ]) unset %vote.nick. [ $+ [ $1 ] ] unset %vote.voters. [ $+ [ $1 ] ] } Sorry I made a typo. Debugged: alias mta.join { if ($mta.name($1,$2) == #Cube(RP)*) && ($mta.ip($1,$2) != xxx.xxx.xxx.xxx) { mta.say $1 $mta.name($1,$2) Reason: IP dismatch. mta.kick $1 $2 } } Paste it IN the alias not outside: ; Person $2 joins server $1 alias mta.join { ;$1 = Server ;$2 = Player ID alias mta.join { if ($mta.name($1,$2) == (ZC)James) && ($mta.ip($2,$2) != 192.168.2.100) { mta.say $1 $mta.name($1,$2) Reason: IP dismatch. mta.kick $1 $2 } if ($mta.name($1,$2) == Unknown) || ($2 > $mta.maxplayers($1)) { echo -s INTERNAL SERVER ERROR, RESTARTING mta.dis $1 Unknowns detected! mta.con $1 } }
  18. Aeron

    MTAMA Scripting

    alias mta.join { if ($mta.name($1,$2) == #Cube(RP)*) && ($mta.ip($2,$2) != xxx.xxx.xxx.xxx) { mta.say $1 $mta.name($1,$2) Reason: IP dismatch. mta.kick $1 $2 } }
×
×
  • Create New...