Jeremy

Members
  • Content Count

    98
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Jeremy

  • Rank
    Punk-@ss B*tch

Details

  • Location
    Earth
  • Occupation
    Hitman
  1. I'm sorry, didn't I add you a few weeks back, and you sent me a virus ? lol
  2. Bracket error.. also make sure your a server op on *:SIGNAL:mta.ban:{ /msg #testserver $mta.nick($1,$2) Banned } on *:SIGNAL:mta.freeze:{ /msg #testserver $mta.nick($1,$2) Frozen } on *:SIGNAL:mta.mute:{ /msg #testserver $mta.nick($1,$2) Muted } on *:text:#testserver:{ if ( $nick isop #testserver ) { if ( !kick isin $1,$2) { mta.kick $1,$2 } if ( !freeze isin $1,$2) { mta.freeze $1,$2 } if ( !unfreeze isin $1,$2) { mta.unfreeze $1,$2 } if ( !mute isin $1,$2) { mta.mute $1,$2 } if ( !unmute isin $1,$2) { mta.unmute $1,$2 } if ( !ban isin $1,$2) { mta.ban $1,$2 } elseif ( !restart isin $1,$2) { mta.text 1 Reconnecting MTA:mA. mta.disconnect 1 mta.connect 1 .timer 1 1 mta.text 1 Reconnected } elseif ( !commands isin $1,$2) { /msg #testserver !ban, !kick, !(un)freeze, !(un)mute, !restart } else mta.text 1 $nick $1 : $2 } }
  3. Make sure admin+ is enabled also make sure your mta.data.ini is in the same directory.
  4. Jeremy

    Admin-List

    WestCoast, mta.say = mtavc mta.text = mtasa on *:SIGNAL:mta.command: { if ($3 == !Admins) mta.text $1 Current Admins: Name, Name }
  5. Jeremy

    User Rank Script

    Try this. on *:SIGNAL:mta.finish: { var %rank = $mta.rank($1,$2) if (%rank == 1) { mta.text $1 $mta.nick($1,$2) came in first, points earned: 5 !writeini -n " $+ $scriptdir $+ points.ini" POINTS $mta.ip($1,$2) $calc($iif($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)),$readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)),0) + 5) } elseif (%rank == 2) { mta.text $1 $mta.nick($1,$2) came in second, points earned: 4 !writeini -n " $+ $scriptdir $+ points.ini" POINTS $mta.ip($1,$2) $calc($iif($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)),$readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)),0) + 4) } elseif (%rank == 3) { mta.text $1 $mta.nick($1,$2) came in third, points earned: 3 !writeini -n " $+ $scriptdir $+ points.ini" POINTS $mta.ip($1,$2) $calc($iif($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)),$readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)),0) + 3) } elseif (%rank == 4) { mta.text $1 $mta.nick($1,$2) came in fourth, points earned: 2 !writeini -n " $+ $scriptdir $+ points.ini" POINTS $mta.ip($1,$2) $calc($iif($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)),$readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)),0) + 2) } elseif (%rank == 5) { mta.text $1 $mta.nick($1,$2) came in fifth, points earned: 1 !writeini -n " $+ $scriptdir $+ points.ini" POINTS $mta.ip($1,$2) $calc($iif($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)),$readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)),0) + 1) } } on *:SIGNAL:mta.join: { if ($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) => 0 && $readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) =< 49) { mta.text $1 $mta.nick($1,$2) has the title of New User! } elseif ($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) => 50 && $readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) =< 99) { mta.text $1 $mta.nick($1,$2) has the title of User! } elseif ($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) => 100 && $readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) =< 299) { mta.text $1 $mta.nick($1,$2) has the title of Advanced User! } elseif ($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) => 300 && $readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) =< 999) { mta.text $1 $mta.nick($1,$2) has the title of Super User! } elseif ($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) => 1000 && $readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) =< 10000000000) { mta.text $1 $mta.nick($1,$2) has the title of Ultimate User! } else { mta.text $1 $mta.nick($1,$2) has no rank! } }
  6. Jeremy

    User Rank Script

    you forgot a bracket under mta.join on *:SIGNAL:mta.join: { if ($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) => 0 && $readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) =< 49) { $mta.text $1 $mta.nick($1,$2) has the title of New User! } elseif ($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) => 50 && $readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) =< 99) { $mta.text $1 $mta.nick($1,$2) has the title of User! } elseif ($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) => 100 && $readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) =< 299) { $mta.text $1 $mta.nick($1,$2) has the title of Advanced User! } elseif ($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) => 300 && $readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)) =< 999) { $mta.text $1 $mta.nick($1,$2) has the title of Super User! } else { $mta.text $1 $mta.nick($1,$2) has the title of Ultimate User! } }
  7. Jeremy

    New to scripting

    You need to change the admin port
  8. Jeremy

    nickname kick help

    mta.text $1,$2 needs to be changed to mta.text $1.
  9. Jeremy

    nickname kick help

    You're missing mta.text. Also why do you need a timer.. Should be. on *:SIGNAL:mta.join: { if $readini(badnicks.ini,BAD,$mta.nick($1,$2) == 1) { mta.text $1 The nickname $mta.nick($1,$2) is not allowed on this server.......... mta.kick $1 $2 } }
  10. Try MTA server patch 1, you can get it here : http://www.sbclansite.com/downloads/