Jump to content

BetaDevil

Members
  • Posts

    153
  • Joined

  • Last visited

Everything posted by BetaDevil

  1. yeah God knows everything but I don't think he's part of the team
  2. http://www.fsp-music.com/toinentie/Smoking%20kills2.jpg Sesamstraat
  3. [syntax=mIRC]on *:SIGNAL:mta.startrace: { set %cplayers $mta.server($1).players } on *:SIGNAL:mta.death: { set %cplayers $calc(%cplayers - 1) if (%cplayers == 1) { var %a = 0 while (%a < $mta.server($1).cmax) { if ($mta.dead($1,%a)) { mta.text $1 $mta.nick($1,%a) won! mta.freeze $1 %a !halt } !inc %a } } }[/lua] if this isn't working, nothing works!
  4. ah right, well I made a big mistake there. He returns nothing if you're alive. I never heard of !halt but it seems good and I forgot !inc %a
  5. can sum1 test this for me?[syntax=mIRC]on *:SIGNAL:mta.startrace: { set %cplayers $mta.server($1).players } on *:SIGNAL:mta.death: { set %cplayers $calc(%cplayers - 1) if (%cplayers == 1) { var %a = 0 while (%a < $mta.server($1).cmax) { if ($mta.dead($1,%a) == $null) { mta.text $1 $mta.nick($1,%a) won! mta.freeze $1 %a } } } }[/lua]
  6. well, on this moment I think it is possible on many ways, but on all ways it is very buggy.
  7. er is er een jarig hoera hoera, dat kun je wel zien dat is hij/zij
  8. yeah ok... Did you really writed that RPG for GUS? Doesn't think so The difference between == and != is something else than VC and SA
  9. CoZ, you can read codes... even if it isn't in code tags Here is a good code: [syntax=mIRC] if ($mta.name($1,$2) != MTAPlayer) { mta.say $1 $chr(124) Welcome To The Bond Family RPG & DM Server $chr(124) mta.say $1 $chr(124) The Current Weather Is: $mta.weather($1,$2) $+ . $chr(124) mta.say $1 $chr(124) Market Status $chr(124) Market: $readini(stockdata.ini,marketstatus,marketstatus)) $chr(124) $chr(124) Resell: $readini(stockdata.ini,resellstatus,resellstatus)) $chr(124) if ($readini($rpg.dir $+ rpg.ini,$mta.name($1,$2),Lead == Leader)) mta.say $1 $chr(124) Bond Synce Accepted Welcome Bond Leader $chr(124) if ($rpg.isclan($1,$2) == $true) mta.say $1 $chr(124) Bond Synce Accepted $chr(124) .timer 1 5 mta.msg $1 $2 For Script Help Type: !help } else { mta.say $1 $mta.name($1,$2) Please Change Your Name And Return. .timer 1 1 mta.kick $1 $2 } }[/lua]
  10. lol, it doesn't excist so you can use it
  11. Yeah, that's right... but you can make a command for that. on *:SIGNAL:mta.command: { if ($3 == !endrace) { if ($calc($mta.finish($1) + $mta.dead($1) + 1) == $mta.server($1).players) { mta.text $1 Race ended! mta.startrace $1 $rand(0,$mta.races($1)) } else mta.pm $1 $2 Error - There are still more people alive } } Ok, you have to type a command, but it is something. Edit: You can integrate it in !kick elseif ($3 == !kick) { var %l = 5 if ($gus.level($1,$2) >= %l) { if (%a == -1) mta.pm $1 $2 Error - Absent ID elseif (%a == $2) mta.pm $1 $2 Error - Cannot $3 yourself else { mta.kick $1 $2 if ($calc($mta.finish($1) + $mta.dead($1) + 1) == $mta.server($1).players) { mta.text $1 Race ended! mta.startrace $1 $rand(0,$mta.races($1)) } } else mta.pm $1 $2 Error - You need to be level %l to use this command } }
  12. http://www.gamesurge.net
  13. BetaDevil

    Name Kick

    ah damn lil Toady, always if I make a simple script you know to make a better one
  14. BetaDevil

    Name Kick

    on *:SIGNAL:mta.join: { if (dick isin $mta.nick($1,$2)) mta.kick $1 $2 elseif (fuck isin $mta.nick($1,$2)) mta.kick $1 $2 } on *:SIGNAL:mta.nick: { if (dick isin $mta.nick($1,$2)) mta.kick $1 $2 elseif (fuck isin $mta.nick($1,$2)) mta.kick $1 $2 }
  15. if you search IRC to mute or IRC to game or whatever I think you'll find it...
  16. the first is just: elseif ($3 == !brb) mta.text $1 $mta.nick($1,$2) will be right back! $iff($4,Reason: $5-) I don't know the other one cause I scripted that myself and it doesn't work
  17. elseif ($3 == !givewarning) { if ($gus.level($1,$2) >= 10) { if (%a == -1) mta.pm $1 $2 Error - Absent ID else { !writeini -n " $+ $scriptdir $+ warnings.ini" WARNINGS $mta.nick($1,%a) $calc($gus.warnings($1,%a)+1) if ($gus.warnings($1,%a) >= 3) { mta.text $1 $mta.nick($1,%a) has reached the warnings limit and will be kicked! mta.kick $1 %a !writeini -n " $+ $scriptdir $+ warnings.ini" WARNINGS $mta.nick($1,%a) 0 } else mta.text $1 $mta.nick($1,%a) has got a warning! $calc(3-$gus.warnings($1,%a)) more warnings and he will be banned. } } }
  18. he wanted a warnings-system for MTA:SA so if he types !camp that they get a kick after 3 times. lil Toady already scripted something like that for me: works only with GUS: Alias: alias gus.warnings !return $iif($readini($scriptdir $+ warnings.ini,WARNINGS,$mta.nick($1,$2)),$v1,0) Command: elseif (!givewarning* iswm $3) { if ($gus.level($1,$2) >= 10) { if (%a == -1) mta.pm $1 $2 Error - Absent ID else { !writeini -n " $+ $scriptdir $+ warnings.ini" WARNINGS $mta.nick($1,%a) $calc($gus.warnings($1,%a)+1) if ($gus.warnings($1,%a) >= 3) { mta.text $1 $mta.nick($1,%a) has reached the warnings limit and will be banned! mta.ban $1 %a } else mta.text $1 $mta.nick($1,%a) has got a warning! $calc(3-$gus.warnings($1,%a)) more warnings and he will be banned. } } }
×
×
  • Create New...