BetaDevil
Members-
Posts
153 -
Joined
-
Last visited
Everything posted by BetaDevil
-
BADD!!! As Scooby said there are many ways to do this, so here is the fastest one! on *:SIGNAL:mta.command: { if ($3 == !brb) mta.text $1 $mta.nick($1,$2) will be right back! $iif($4,Reason: $4-) elseif ($3 == !back) mta.text $1 $mta.nick($1,$2) is back! } so stop making scripts because it won't help anyway.
-
to much work for me
-
NO!!! how do you make your scripts? Notepad or something? And why do you still use GUS in standalone Standalone on *:SIGNAL:mta.command:{ elseif ($3 == !brb) { if ($4 == $null) { mta.text $1 $mta.nick($1,$2) will be right back. if ($mta.level($1,$2) >= 3) { mta.freeze $1 $2 } } else { mta.text $1 $mta.nick($1,$2) will be right back. mta.text $1 Reason: $4- if ($mta.level($1,$2) >= 3) { mta.freeze $1 $2 } } } elseif ($3 == !back) { mta.text $1 $mta.nick($1,$2) is back. if ($mta.level($1,$2) >= 3) { mta.unfreeze $1 $2 } } }
-
you want ppl to by bans, lol... kicks, ok, but a ban is to extreme... they can ban everyone and the admins don't want it, so they'll unban...
-
I didn't notice it was broken, I'll upload again... [ Zipped ] [ .mrc-file ]
-
Change: if ($readini($scriptdir $+ admin.ini,ADMIN,$mta.nick($1,%aa)) >= 2) { to if ($mta.level($1,%aa) >= 1) {
-
did you use the adminpassword or the password for your account? Maybe you used uppercase instead of lowercase.
-
you inserted the wrong password too many times so you're banned.
-
There's no reason for this, 'cause basically everyone likes PRS more (ok, I make my own scripts and never used PRS).
-
lol, you need to say that (and yeah, I have something against YOU, Team.D and uD).Sorry for this admins.
-
I never scripted this way before, but thiss will work (I hope)... alias prs.votekick { if ($3 == !votemap) votemap $1- elseif ($prs.votekicking($1) != yes) mta.pm $1 $2 Votekicking Is Currently Disabled. elseif ($prs.players($1) < 4) mta.pm $1 $2 Error: Not Enough Players - 4 needed. else { var %a = $iif((!$4),$2,$iif(($prs.getid($1,$4) == $null),$2,$v1)), %b = $chr(40) $+ $2 $+ $chr(41) if ($3 == !votekick) { if ($prs.votenick($1) != $null) mta.pm $1 $2 Error: Votekick Already Running on $mta.nick($1,$prs.votenick($1)) elseif (%a == $2) mta.pm $1 $2 Error: !votekick else { !hadd prstemp $mta.nick($1,$2) $calc($hget(prstemp,$mta.nick($1,$2)) + 1) if ($hget(prstemp,$mta.nick($1,$2)) >= 3) mta.pm $1 $2 Error: You votekick to much else { !hadd prstemp votenick %a !hadd prstemp voters %b mta.text $1 Type !vote If You Want $mta.nick($1,%a) Kicking. mta.text $1 Total Votes Needed: $ceil($calc($prs.players($1) / 2)) .timervotekick 1 90 prs.endvotekick $1- } } } elseif ($3 == !vote) { if (%b isin $hget(prstemp,voters)) mta.pm $1 $2 Error: You Have Already Voted! else { !hadd prstemp voters $hget(prstemp,voters) $+ %b mta.text $1 Total Votes: $numtok($hget(prstemp,voters),41) $+ / $+ $ceil($calc($prs.players($1) / 2)) prs.checkvotes $1- } } } } alias prs.checkvotes { if ($numtok($hget(prstemp,voters),41) == $ceil($calc($prs.players($1) / 2))) { mta.text $1 Kicking $mta.nick($1,$prs.votenick($1)) mta.kick $1 $prs.votenick($1) } } alias prs.endvotekick { if ($prs.votenick($1) != $null) mta.text $1 Votekick Ended On $mta.nick($1,$hget(prstemp,votenick)) !hdel prstemp voters !hdel prstemp votenick } on *:SIGNAL:mta.disconnect: { !hdel prstemp $mta.nick($1,$2) }
-
why not?
-
maybe you can post the vkick....
-
You only changed the text and timers, and you added a unnecessary if.
-
You can't, you can only let the bots say if they're online, or you need to make your scripts work with MySQL and things.
-
on 1:text:*:#CHANNELNAME:{ if ( $nick isop #CHANNELNAME ) { if ( !msg isin $1 ) { else mta.text 1 $nick $+ : $1- } } }
-
I see a mistake already by watching it for 5 sec...
-
Tommis took it out a few versions ago, but didn't update the list with commands here. So !setlevel
-
Updated with the new scripts of Scooby .
-
http://forum.mtavc.com/viewtopic.php?t=18105 Search has many functions, like search
-
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 unset %constant unset %constantmap unset %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 set %topt 0 set %currentdeaths 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 if ($mta.races($1,$2) != $null) 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) $+ % $+ ) set %topt $gus.toptime($1) } 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),)) } }
-
that isn't hard, it's just a matter of $replace($gus.level($1,$2),1,Member) but you need to add it in several places.
-
on *:SIGNAL:mta.command:{ var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) if ($3 == !lol) mta.text $1 $mta.name($1,$2) is laughing out loud $iif(%a != -1,$iif(%a != $2,@ $mta.name($1,%a))) }
-
Yeah, it works. But you get an annoying error-message every time.