HouseMD
Members-
Posts
141 -
Joined
-
Last visited
Everything posted by HouseMD
-
Your copying Neo-Clan Cops And Robbers server script ^^ Don't worry...I'm on it ^^
-
I'll make one of them...I was already thinking about making one, I'll make one tommorow.
-
This is for those who want a !yes and !no To stop it saying the annoying message: "Nothing to deny in" goto mtagus.mrc and search "!yes" When u find it, change it to yeh or something similar, the !no is right under the !yes, change it to nah or something similar, also change the text of !resetstats which is on top of !yes and !no... Here is the script: [uPDATED] I'll give u a link instead http://rapidshare.com/files/22455378/HouseVotekick_Voteban.mrc.html Its very long yes, but it works...So enjoy! I set the !voteban to 80% and !votekick 50% All are done, stops votekick/voteban if someone parts etc. Tell me any bugs if you find one. Note: This script is better than my other !votekick script, if you want only !votekick remove the parts that are connected to If ($3 == !voteban) { and so on... Edit: make sure u put this script into the General Use Scripts folder...otherwise it won;t work...
-
Now I know that my votekick isn't the largest
-
ok ok... I fix it alias gus.getid { var %a = 0 while (%a <= $mta.server($1).cmax) { if ($+(*,$2,*) iswm $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,$gus.getid($1,$4)),$2) if ($3 == !time) || ($3 == !date) { mta.text $1 Time: $time - Date: $date } elseif ($3 == !map) { if ($mta.race($1) == Unknown) mta.pm $1 $2 Error - Unknown Race else mta.text $1 Current Race: $mta.race($1) } elseif ($3 == !restart) mta.startrace $1 $mta.races($1,$mta.race($1)) elseif ($3 == !lol) { if (%a == -1) mta.text $1 $mta.nick($1,$2) is laughing out loud elseif (%a == $2) mta.text $1 $mta.nick($1,$2) is laughing out loud else mta.text $1 $mta.nick($1,$2) is laughing out loud @ $mta.nick($1,%a) } There, it should say "Multikill is laughing out loud" when u say !lol and !lol player says "Multikill is laughing out loud @ Player"
-
as long as i know, the !ban works fine the only problem I had on my friends server is that i had to say !ban twice to actually ban them
-
alias gus.getid { var %a = 0 while (%a <= $mta.server($1).cmax) { if ($+(*,$2,*) iswm $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,$gus.getid($1,$4)),$2) if ($3 == !time) || ($3 == !date) { mta.text $1 Time: $time - Date: $date } elseif ($3 == !map) { if ($mta.race($1) == Unknown) mta.pm $1 $2 Error - Unknown Race else mta.text $1 Current Race: $mta.race($1) } elseif ($3 == !restart) mta.startrace $1 $mta.races($1,$mta.race($1)) elseif ($3 == !lol) { if (%a == -1) mta.text $1 $mta.nick($1,$2) is laughing out loud else mta.text $1 $mta.nick($1,$2) is laughing out loud @ $mta.nick($1,%a) } Try this
-
I said I will be releasing a new script... And if you say it doesn't work with gus...well, it does... btw come check rebornpublic, thats where i test my new scripts... also I fixed the parting bug (It was working good for me anyway )
-
What about MY votekick script, its huge but it works, btw i'll be releasing a new one soon...very soon...
-
make me lol, can anyone make this wonder happen 8===D
-
so can master "Scoob" make something for it
-
ok... I wonder if there is any way to make it detectable, like making it look inside the "Map" File
-
But players do...I want to find out what maps have respawn (let players respawn) and which don't
-
umm... RS = Respawn
-
I donno, I haven't seen, but IS there a command to find the RS of a map... (To find the RS so I don't have to set it manually)
-
umm... I increased the Voteban thing to 90% I was inside the server with my friend testing it, and it needed full servers votes, so i guess... it would need all 3 players to ban someone...You could increase it to 95% by setting the dividing rate to 1.1, which is 95% and 1.11 is 95.5% and so on...
-
but it works doesn't it... btw, I almost put the !votekick & !voteban together...Votekick works with 50% and !voteban works with 80% - My friend told me to make it 90% but that would be too much Edit: Scoob, don't worry, the !votekick and !voteban script will be much bigger
-
Scooby, look carefully, I record the "Name" of the person and the ID...actually it would be a better idea if I didn't record the name... And yea...ur right, I'll shorten then !remini's with alias
-
Here is my ".ini" version of !votekick with !yes and !no alias check.part { if ($readini($scriptdir $+ vk.ini,part,parted == $readini($scriptdir $+ vk.ini,names,votedon) )) { mta.text $1 $readini($scriptdir $+ vk.ini,names,votedon) Parted !remini -n vk.ini votedon !remini -n vk.ini vote !remini -n vk.ini playersvoted !remini -n vk.ini names !remini -n vk.ini id !remini -n vk.ini vk !remini -n vk.ini part } } alias finish.vote { if ($readini($scriptdir $+ vk.ini,number,parted >= 1)) { !writeini -n vk.ini number parted $calc($readini($scriptdir $+ vk.ini,number,parted) - 1) } if ($readini($scriptdir $+ vk.ini,vote,players) >= $round($calc($mta.server($1).players / 2),0)) { mta.text $1 Vote succeeded! Kicking: $readini($scriptdir $+ vk.ini,names,votedon) mta.kick $1 $readini($scriptdir $+ vk.ini,ID,votedon) !remini -n vk.ini votedon !remini -n vk.ini vote !remini -n vk.ini playersvoted !remini -n vk.ini names !remini -n vk.ini id !remini -n vk.ini vk !remini -n vk.ini part } if ($readini($scriptdir $+ vk.ini,vote,players) <= $round($calc($mta.server($1).players / 2),0)) { mta.text $1 Vote Unsuccessful for: $readini($scriptdir $+ vk.ini,names,votedon) !remini -n vk.ini votedon !remini -n vk.ini vote !remini -n vk.ini playersvoted !remini -n vk.ini names !remini -n vk.ini id !remini -n vk.ini vk !remini -n vk.ini part } } alias gus.getid { var %a = 0 while (%a <= $mta.server($1).cmax) { if ($+(*,$2,*) iswm $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,$gus.getid($1,$4)),$2) if ($3 == !votekick) { if (%a == -1) mta.pm $1 $2 Error - Absent ID if (%a == $2) mta.pm $1 $2 Error - Cannot !votekick yourself if ($readini($scriptdir $+ vk.ini,vk,votekick == 1)) mta.pm $1 $2 Another Votekick is already running else { mta.text $1 A Vote has been initiated to kick $mta.nick($1,%a) by $mta.nick($1,$2) $+ , !Yes and !No [20 Sec] [ $+ $round($calc($mta.server($1).players / 2),0) Votes needed] !writeini -n vk.ini vote players 0 !writeini -n vk.ini playersvoted $mta.nick($1,$2) 0 !writeini -n vk.ini names votedon $mta.nick($1,%a) !writeini -n vk.ini ID votedon %a !writeini -n vk.ini vk Votekick 1 !.timer 1 20 finish.vote $1 %a } } elseif ($3 == !yes) { if ($readini($scriptdir $+ vk.ini,vk,votekick != 1)) mta.pm $1 $2 A !votekick hasn't been started if ($readini(vk.ini,playersvoted,$mta.nick($1,$2) == 1)) mta.pm $1 $2 You have already voted else { !writeini -n vk.ini vote players $calc($readini($scriptdir $+ vk.ini,vote,players) + 1) !writeini -n vk.ini playersvoted $mta.nick($1,$2) 1 mta.pm $1 $2 You have voted Yes } } elseif ($3 == !no) { if ($readini($scriptdir $+ vk.ini,vk,votekick != 1)) mta.pm $1 $2 A !votekick hasn't been started if ($readini(vk.ini,playersvoted,$mta.nick($1,$2) == 1)) mta.pm $1 $2 You have already voted else { !writeini -n vk.ini vote players $calc($readini($scriptdir $+ vk.ini,vote,players) - 1) !writeini -n vk.ini playersvoted $mta.nick($1,$2) 1 mta.pm $1 $2 You have voted No } } } on *:SIGNAL:mta.part: { if ($3 == 0) { !writeini -n vk.ini part parted $mta.nick($1,$2) } check.part $1- if ($readini($scriptdir $+ vk.ini,part,parted == $readini($scriptdir $+ vk.ini,names,votedon) )) { !writeini -n vk.ini number parted $calc($readini($scriptdir $+ vk.ini,number,parted) + 1) } } Bugs: "Absent ID/Name" before !votekick is started, even if u chose the right person Good: If person parts...it stops the !votekick on that person !yes and !no You cannot be kicked in a server with 2 ppl unless you vote !yes Cannot say !yes or !no twice Cannot initiate 2 !votekicks Bad: Newbie scripters cannot create a !votekick and !voteban together Edit: Completed making !votekick and !voteban together, testing Edit2: Figured out why "Nothing to deny in" message is displayed, There is a !Yes and !No in the main "GUS" script, so you could change them to !yeh and !nah or similar...
-
how can u add 1 to eg 0 with !writeini because i tried all the ways here and it didn't work...
-
don't worry, I worked it out already, now stop thinking i am a retard...
-
I tried and failed, mostly because i didn;t understand this: var %t sockread %t if (country-rirdata isin %t) { tokenize 32 %my.trace mta.text $1 $mta.nick($1,$2) ( $+ $mta.ip($1,$2) $+ ) - Location: $gettok(%t,2-,58) sockclose $sockname What does the 2-,58 mean in gettok and "Country-rirdata" is something wroten on the website...I tried some other websites and they didn't work.