Jump to content

Keslertje2005

Members
  • Posts

    111
  • Joined

  • Last visited

Everything posted by Keslertje2005

  1. Hi scripters, Im using the Gus x16 Final Version script. The problem is that the !ban doesn't work 100%. I've searched and saw that I'm not the only one. Sometimes it just bans without a reason. And sometimes it gives the text: Player banned by Keslertje2005 reason: Cheater, but it doenst ban. Is there maybe an update I'm not aware of? Or does anyone know what bug may cause this problem? Thanks!!
  2. I use GUS, I tryed it and its giving 2 messages .. First is No details set, than its === No details set,Details: or something, I changed mta.level in gus.level.. Can someone help me? Thnx
  3. Thomeke, If you want that tag script you will have to make a command that will store all your members with IP adresses and stuff. That's alot of work. The easiest way is to make someone Level 1, then he wont be an admin and change the script that it will kick a faker that comes with an other IP than the name that's stored in admin.ini . Now that only happens with level 2 I thought. And I'ts also possible that when people typ !lvl on a person that's level 1 this text will appear: is a Member. Or something like that, if you can't do it yourself I'll try to help you!
  4. Can't you just start and stop the messages with a command?
  5. Sorryr houseMD, but your script is bugged.. If anyone parts it says the one you want to kick has parted while he is still in the game... But I REALLY like the !yes and !no thing!!!
  6. BetaDevil's script is working fine!! Thanks 'Lil Toady and BetaDevil!
  7. Beautifull script! But you only get a rank if you have exactly 10 or 20 points, not when you have 13 or 21 points. Is there a way to get this fixed? You can add ranks by changing the blabla in something like Professional or something like that. You can also change the amount off points you need before you get that rank by changing the == 10 in == 2 or == 5. If you want more ranks you can add more elseifs like this: on *:SIGNAL:mta.join:{ !writeini " $+ $scriptdir $+ mta.rank.ini" RANKS $mta.nick($1,$2) $calc($readini($scriptdir $+ mta.rank.ini,RANKS,$mta.nick($1,$2)) + 1) mta.rank $1 $2 } on *:SIGNAL:mta.command:{ var %a = $iif($4,$iif($mta.nick($1,$4) != $null,$4,$iif($mta.getid($1,$4),$v1,-1)),$2) if ($3 == !rank) { if (%a == -1) mta.pm $1 $2 Error - Absent ID else mta.rank $1 %a } } alias mta.rank { var %rank = $readini($scriptdir $+ mta.rank.ini,RANKS,$mta.nick($1,$2)) if (%rank == 1) mta.text $1 $mta.nick($1,$2) $+ 's rank is: 1. Newbie elseif (%rank == 5) mta.text $1 $mta.nick($1,$2) $+ 's rank is: 2. Wannebe Amateur elseif (%rank == 10) mta.text $1 $mta.nick($1,$2) $+ 's rank is: 3. Amateur elseif (%rank == 15) mta.text $1 $mta.nick($1,$2) $+ 's rank is: 4. Wannabe Professional elseif (%rank == 20) mta.text $1 $mta.nick($1,$2) $+ 's rank is: 5. Profressional elseif (%rank == 25) mta.text $1 $mta.nick($1,$2) $+ 's rank is: 6. Smooth Agent elseif (%rank == 30) mta.text $1 $mta.nick($1,$2) $+ 's rank is: 7. Dangerous Killer elseif (%rank == 35) mta.text $1 $mta.nick($1,$2) $+ 's rank is: 8. Murderer }
  8. It is possible to create a line in a scrpt so it will only workin when there are at least 3 players in the server? I tryed a lot, but it wouldnt work. Could someone help me? Example: !say bla bla, that will not work with 2 players but only with 3 players in the server. tnx...
  9. that is because your command didnt work, and I tryed the other thing that other guy told me to do
  10. Dit this: on *:SIGNAL:mta.command: { ;Parameters: ;$1 = Server ;$2 = ID ;$3 = Command ;$4- = Parameters var %a = $iif($4,$iif($mta.nick($1,$4) != $null,$4,$gus.getid($1,$4)),$2) if (!%command [ $+ [ $1 ] $+ [ $3 ] ]) { set -u3 %command [ $+ [ $1 ] $+ [ $3 ] ] 1 } /* ///////////////////////////////////////////////////// ////////////// MTA:mA:GUS RPG ///////////// ///////////////////////////////////////////////////// // ..Work in Progress.. // // ..Please remember to update.. // ///////////////////////////////////////////////////// */ elseif (!vote* iswm $3) { if ($gus.didvote($1,$2) == 0) { if ($4 == $null) mta.pm $1 $2 Error - $3 <1> elseif ($4) { if (10 >= $4 && $4 >= 1) { mta.pm $1 $2 You have given race " $+ $mta.race($1) $+ " a $4 $+ /10 Rating. ( $+ $calc($4 * 10) $+ $chr(37) $+ ) !writeini -n " $+ $scriptdir $+ vote.ini" MAP $replace($mta.race($1),$chr(32),-) $gus.add($gus.votes($1),1) !writeini -n " $+ $scriptdir $+ vote.ini" VOTE $replace($mta.race($1),$chr(32),-) $+ $mta.nick($1,$2) 1 !writeini -n " $+ $scriptdir $+ vote.ini" PERCENT $replace($mta.race($1),$chr(32),-) $gus.add($gus.votepercent($1),$calc($4 * 10)) } Still isnt workin
  11. } on *:SIGNAL:mta.command: { ;Parameters: ;$1 = Server ;$2 = ID ;$3 = Command ;$4- = Parameters var %a = $iif($4,$iif($mta.nick($1,$4) != $null,$4,$gus.getid($1,$4)),$2) /* ///////////////////////////////////////////////////// ////////////// MTA:mA:GUS RPG ///////////// ///////////////////////////////////////////////////// // ..Work in Progress.. // // ..Please remember to update.. // ///////////////////////////////////////////////////// */ if (!%command [ $+ [ $1 ] $+ [ $3 ] ]) { set -u3 %command [ $+ [ $1 ] $+ [ $3 ] ] 1 if (!vote* iswm $3) { if ($gus.didvote($1,$2) == 0) { if ($4 == $null) mta.pm $1 $2 Error - $3 <1> elseif ($4) { if (10 >= $4 && $4 >= 1) { mta.pm $1 $2 You have given race " $+ $mta.race($1) $+ " a $4 $+ /10 Rating. ( $+ $calc($4 * 10) $+ $chr(37) $+ ) !writeini -n " $+ $scriptdir $+ vote.ini" MAP $replace($mta.race($1),$chr(32),-) $gus.add($gus.votes($1),1) !writeini -n " $+ $scriptdir $+ vote.ini" VOTE $replace($mta.race($1),$chr(32),-) $+ $mta.nick($1,$2) 1 !writeini -n " $+ $scriptdir $+ vote.ini" PERCENT $replace($mta.race($1),$chr(32),-) $gus.add($gus.votepercent($1),$calc($4 * 10)) } else mta.pm $1 $2 Error - $3 <1> } else mta.pm $1 $2 Error - $3 <1> } else mta.pm $1 $2 Error - You have already voted on this map. } elseif ($3 == !rating) { Thats what I did... but I dont think thats the way. I put that other message at the end of all the commands with mta.text.. What did u do wrong?
  12. Is this script for mta sa? And does this mean I have to add to all commands 2 spaces?
  13. I searched on Flood kick... but didnt found anything
  14. Hi scripters, As some of you might know I'ts possible to flood the server with commands like: This makes MIRC very slow, does any one know how to solve this problem? Because we can't ban them when they use this, only when we use remote admin... Thanks already!
  15. IS it possible to create an add races scruot fir deathmatch. So everytime a race starts it will be added to his stats? Something like this? Look at the bottom } on *:SIGNAL:mta.startrace: { ;Parameters: ;$1 = Server ;$2 = Race ID ;$3 = 0/1/2 (success,failed,no players) %remmap = $readini($scriptdir $+ remmap.ini,REMMAPS,$replace($mta.race($1),$chr(32),-)) if (%constant = on && %constantmap != $mta.race($1) && %remmap != 1) mta.startrace $1 %constantmapid if (%remmap == 1 && %constant != on) { mta.text $1 Map " $+ $mta.race($1) $+ " has been removed, changing to a random map.. !.timer 1 1 mta.startrace $1 $rand(0,$mta.races($1)) } if ($3 == 0 && %remmap != 1) { set %race $2 set %deaths 0 var %a = $calc($readini($scriptdir $+ mta.stats.ini,n,$mta.races($1,$2),times) + 1),%b = $calc($readini($scriptdir $+ mta.stats.ini,n,ALL,times) + 1) !writeini -n $+(",$scriptdir,mta.stats.ini,") ALL times %b !writeini -n $+(",$scriptdir,mta.stats.ini,") $+(",$mta.races($1,$2),") times %a mta.text $1 $mta.races($1,$2) - Top Time: $gus.toptime($1) - By: $gus.topname($1) - Deathlimit: $gus.deathlimit($1,$2) - Played: $+(%a,/,%b) times ( $+ $round($calc(100 / %b * %a),2) $+ % $+ ) } if ($readini($scriptdir $+ instructions.ini,INSTRUCTIONS,$replace($mta.races($1,$2),$chr(32),)) != $null && $readini($scriptdir $+ instructions.ini,INSTRUCTIONS,$replace($mta.races($1,$2),$chr(32),)) != default && %remmap != 1) { mta.text $1 $mta.races($1,$2) - Instructions: $readini($scriptdir $+ instructions.ini,INSTRUCTIONS,$replace($mta.races($1,$2),$chr(32),)) } var %a = 0 !writeini -n " $+ $scriptdir $+ stats.ini" RACES $mta.nick($1,%a) $gus.add($gus.races($1,%a),1) } [/code]
  16. Ive got a deathmatch server, but lil's script isnt workin on my server ... I had this script: var %a = 0 while (%a < $mta.server($1).cmax) { if ($mta.nick($1,%a) != -1) { if ($calc($mta.dead($1) + $mta.frozen($1) + 1) == $mta.server($1).players) { if ($mta.dead($1,%a) != 1 && $mta.dead($1,%a) != 2 && $mta.dead($1,%a) == $null) { mta.freeze $1 %a mta.text $1 $mta.nick($1,%a) won this map and will recieve 1 point! !writeini -n " $+ $scriptdir $+ stats.ini" WINS $mta.nick($1,%a) $gus.add($gus.wins($1,%a),1) } } } !inc %a } And it almost works.. But it isnt freezing everybody.. only 50% of the players or something. And some people never get freezed... Sometimes the scripts freezes someone before the last man died... Anyone?[/code]
  17. I have the scripts almost workin... I only have problems with ID's.. ID 0 always get freezed, but the other ones sometimes doesnt... Still searching for the problem
  18. I made this one, it is almost workin.. It gives you a win point, and freezes the winning player so he wont get a death point. But its not working on everybody.. What did I do wrong?
  19. Woops have to post it in this topic if ($findtok($3-,f*ck,32)) { !writeini -n " $+ $scriptdir $+ warnings8.ini" WARNINGS $mta.nick($1,$2) $calc($gus.warnings8($1,$2)+1) if ($gus.warnings8($1,$2) >= 3) { mta.text $1 $mta.nick($1,$2) has reached the warnings limit and will be muted for 1 minute! !.timer 1 3 mta.mute $1 $2 !writeini -n " $+ $scriptdir $+ warnings8.ini" WARNINGS $mta.nick($1,$2) 0 !.timer 1 63 mta.unmute $1 $2 } else mta.text $1 $mta.nick($1,$2) don't use that kind of language! $calc(3-$gus.warnings8($1,$2)) more warnings and you will be muted for 1 minute. } This is the script I am talkin about, but now I want to add more words without writing a second script. And will it be possible to let someone be muted too when hes saying (becuase the f*ck is in the word) But wont be kicked if hes saying Fighting ur cosins killer...? Someone? Thanks!
  20. if ($findtok($3-,f*ck,32)) { !writeini -n " $+ $scriptdir $+ warnings8.ini" WARNINGS $mta.nick($1,$2) $calc($gus.warnings8($1,$2)+1) if ($gus.warnings8($1,$2) >= 3) { mta.text $1 $mta.nick($1,$2) has reached the warnings limit and will be muted for 1 minute! !.timer 1 3 mta.mute $1 $2 !writeini -n " $+ $scriptdir $+ warnings8.ini" WARNINGS $mta.nick($1,$2) 0 !.timer 1 63 mta.unmute $1 $2 } else mta.text $1 $mta.nick($1,$2) don't use that kind of language! $calc(3-$gus.warnings8($1,$2)) more warnings and you will be muted for 1 minute. } This is the script I am talkin about, but now I want to add more words without writing a second script. And will it be possible to let someone be muted too when hes saying motherfucker (becuase the f*ck is in the word) But wont be kicked if hes saying Fighting ur cosins killer...? Someone? Thanks!
  21. Beta, please help if ($len($3-) > 10) && ($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.7)) { !writeini -n $+(",$mta.dir,$1.ini,") $2 warnings $calc($readini($mta.dir $+ $1.ini,$2,warnings) + 1) var %a = $readini($mta.dir $+ $1.ini,$2,warnings) if (%a >= 3) { mta.text $1 $mta.nick($1,$2) reached the warnings limit and will be muted for 1 minute! (Too much caps used) !writeini -n " $+ $scriptdir $+ $1.ini" WARNINGS $mta.nick($1,$2) 0 !.timer 1 3 mta.mute $1 $2 !.timer 1 63 mta.unmute $1 $2 } else mta.text $1 $mta.nick($1,$2) has been warned! $calc(3 - %a) more $iif($calc(3 - %a) == 1,warning,warnings) and you will be muted for 1 minute! (Too much caps used) } This is the whole command, but it wont delete the warnings... Thanks
  22. Hi scripters, I just found out that when there is only one person in the server, and that one gets kicked by high ping, bad language or to many caps the map will just go on till the timer has run out. So when you are connecting you'll see the timer for example on 3 minuts left but there will be nobody to spectate... Is it possible to fix this? Maybe with a *on signal command or something? so it wont only help for high ping but for all the kicking commands? Thanks!!! I really appreciate the fast responses and the good help!
  23. I dont gettit, ive copied the commands exactly as above. Have put it with the others, tryed to create my own one with that $4 reason thing. But it just doesnt work Its not saying the thing I want it to say Maybe my script is bugged? Or maybe my script doesnt know that commands yet? It is the newest one, X16... Please let there be a way to fix this I really need this $4 commands Thanks already...
×
×
  • Create New...