Jump to content

BetaDevil

Members
  • Posts

    153
  • Joined

  • Last visited

Everything posted by BetaDevil

  1. I rather have a nice version without bugs, than a version wit bugs
  2. yeah, but that's for the ID, not for nickname...
  3. I tried to put them into my ass, but it won't fit in? what do I do?
  4. Yeah that's right, and if you want to kick another you need to have this code: alias mta.getnick { var %a = 0 while (%a <= $mta.server($1).cmax) { if ($2 isin $mta.nick($1,%a)) !return %a !inc %a } !return -1 } on *:SIGNAL:mta.command: { var %a = $iif($4,$iif($mta.nick($1,$4) != $null,$4,$mta.getnick($1,$4)),$2) if ($3 == !kickme) mta.kick $1 $2 if ($3 == !kick) { if (%a == -1) mta.pm $1 $2 Error - Absent ID elseif (%a == $2) mta.pm $1 $2 Error - Can't $3 yourself else mta.kick %1 %a } }
  5. but, where do you have to put that silver mini pizza's in
  6. damm to long! Aeron, can you be a little bit more specific in years
  7. I think, all the back-ups will disappear and they have to start over again
  8. yeah, you're right... sometimes he is doing good and sometimes he's doing something wrong... but maybe lil Toady knows the answer
  9. Is it possible to do something like this? !.timer 0 $5 mta.text $1 blabla
  10. I'm not a very good scripter and never scripted for 0.5 but this should work on *:SIGNAL:mta.command: { var %a = $iif($4 == $null,$2,$iif($mta.getid($1,$4) == -1,$2,$v1)) if ($3 == !buyweed) { if (Ryton Aide isin $mta.area($1,$2) { if ($4 >= 1 && $4 <= 100) { mta.say $1 $mta.namce ($1,$2) brought $4 KG weed. writeini MTAScript.ini Cash $mta.name($1,$2) $calc($mta.cash($1,$2) - $4 * 100) writeini Drugs.ini Drugs $mta.name($1,%a) $calc($mta.drugs($1,%a) + $4) } else mta.msg $1 Enter a valid amount of drugs (1-100) } else mta.msg $1 $2 You are not at Ryton Aide } } alias mta.cash !return $iif($readini(MTAScript.ini,Cash,$mta.name($1,$2)) == $null,0,$v1) alias mta.drugs !return $iif($readini(Drugs.ini,Drugs,$mta.name($1,$2)) == $null,0,$v1)
  11. Found bug in setlevel-command else mta.pm $1 $3 Error - Syntax: $3 $1 $3 need to be $1 $2
  12. BetaDevil

    Trace

    I never edited it
  13. BetaDevil

    Trace

    Trace isn't working anymore... At the server of my friend he gives this message and iit's the same on my server. gus.dns.ini [CACHE] 127.0.0.*=Time to upgrade MTA:GUS Is this at other people to?
  14. Next time, search harder http://forum.mtavc.com/viewtopic.php?t=17776
  15. Like this (I think it works ) on *:QUIT:#: { mta.text $1 $nick left the channel! } on *:JOIN:#: { mta.text $1 $nick joined the channel! }
  16. It wasn't the meening to do that...
  17. I used lil Toady's script and made this one out of it: on *:SIGNAL:mta.finish: { if ($mta.rank($1,$2) <= 5 && $mta.server($1).players >= 2) { var %score = $replace($mta.rank($1,$2),1,5,2,4,3,3,4,2,5,1) var %position = $replace($mta.rank($1,$2),1,first,2,second,3,third,4,fourth,5,fifth) mta.text $1 $mta.nick($1,$2) came %position $+ and earned %score points! !writeini " $+ $scriptdir $+ points.ini" POINTS $mta.ip($1,$2) $iif($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)),$calc($v1 + %score),%score) } elseif ($mta.rank($1,$2) <= 5 && $mta.server($1).players == 1) { mta.text $1 Playing alone earned you 2 points! !writeini " $+ $scriptdir $+ points.ini" POINTS $mta.ip($1,$2) $iif($readini($scriptdir $+ points.ini,POINTS,$mta.ip($1,$2)),$calc($v1 + 2),2) } }
  18. coz, I think this is better: *:SIGNAL:mta.command:{ if ($3 == !command1) { mta.text $1 command 1 } elseif ($3 == !blabla2) { mta.text $1 blabla2 } }
  19. BetaDevil

    Admin-List

    I need a script that shows a list of admins, even the admins that are offline. Is it possible to make this for me? thx! Script for MTA:SA
  20. BetaDevil

    lastvisit

    thx, I forgot the last } of the last command stupid me..
  21. BetaDevil

    lastvisit

    After entering that script in my file, everytime I use a command this line shows up in mIRC: Line 234 - 237: on *:SIGNAL:mta.part: { !writeini " $+ $scriptdir $+ clan.ini" $mta.nick($1,$2) date $date !writeini " $+ $scriptdir $+ clan.ini" $mta.nick($1,$2) time $time }
  22. BetaDevil

    lastvisit

    It doesn't work the date and time can be showed with: date: $date $+ , time: $time($gmt) $+
  23. BetaDevil

    lastvisit

    Is it possible when players leave the server it will save the time and date, what signal do I have to use? I use MTA:SA
  24. http://home.deds.nl/~aeron/mtama/4.0/ There you can find 4.15
×
×
  • Create New...