-
Posts
976 -
Joined
-
Last visited
Everything posted by Scooby
-
id sooner have it working showing the country, than a broken one ive used this since toady made it and its always been fine... for like about 6 months now. if u want to really know their location u could always ask them
-
ok thanks, i didnt know... seems like ive lost the host, along with my files stored there.
-
if u need to ask that then ur probably best not to even bother, i stored $ctime on mta.kill if the player was a crusader, then check the sotred time minus $ctime when he next spawns. if its less than 20 secs, then they probably didnt restart their game. im kinda busy right now or id make it for u. if noone posts one for u, when i get some time, i'll post it.
-
No permission is needed to post a link to a script u have made or are currently making. There are several out there already, of various types (Race/DM/respawnable DM/Freeroam) u only have to browse the addons section to see some of them. They usually list their current features. Just coz something has already been made by someone else, doesnt mean u cant make it yourself. good luck
-
Theres no -1 in prs and also u cant start with an elseif. try something like this for ur command alias: on *:SIGNAL:mta.command:{ var %a = $iif((!$4),$2,$iif(($prs.getid($1,$4) == $null),$2,$v1)) if ($3 == !trace) if ($prs.level($1,$2) == 0) insuf $1 $2 else do.trace $1 %a } }
-
Just tested mine and its still working fine. 03:22 GMT
-
yes, its: players / 1.25 so if u have 5 players u need 4 votes. is there a question to this, like something u need to change? im still a little unsure of what ur asking? or if ur asking anything at all.
-
As Toady says. I think i used 20 seconds on my timer, we tested it a few times and thats roughly how long it takes to /quit, restart game and spawn. might be slightly different nowdays with dual cores, but not a deal in it.
-
its not detectable, however there are a few ways to work around it. none of which are very easy and none of which will be 100% perfect.
-
what do u mean multikill?
-
i think the command is !setdmlimit u can set it to what u like.
-
ok good glad its working. although u changed it so it needs the exact mapname in full, so really the whole alias is now pointless but as long as ur ok with it then thats fine
-
the !retun will return the info needed, ie: $mta.races($1,%a) or nothing. all u need to do is get it to return the map name u require, its not rocket science how u changed it it will only return what u sent it.. if it exists. alias findmap { var %a = 0,%b = $2- while (%a < $mta.races($1)) { if (%b isin $mta.races($1,%a)) !return = $mta.races($1,%a) !inc %a } !return } here... use this to get ur mapname from $5- with $findmap($1,$5-) i havent tested it but it looks ok, and should work. once u have ur mapname, it should be simple enough to do what ur trying.
-
you should be able to edit the prs.getid alias, so if u give an ID, it will be used instead of the Nick. change it to this: alias prs.getid { if ($2 isnum) !return $2 else { var %a = 0 while (%a < %loop) { if ($+(*,$2,*) iswm $mta.nick($1,%a)) !return %a !inc %a } } } this should work although i havent had time to test it.
-
well the alias should work, try doing some echo's into mirc to see what the alias is returning, do some tests on the alias and add: !echo 1 mapname: $findmap($1,$5) into ur script so it will show u what values are being returned when u do !20del 1 drift and then u should be able to fix the problem, if single words work, move onto bigger ones. it doesnt look anything major.
-
no they cant use any command... they can only use LEVEL 1 commands, ie: set upload url, setwarnlimit, setdmlimit, un/warn, exportmaps, cancelvotekicks, add/rem creators and so on... i personally wouldnt want any old person using some of these, but its starting to fall into place now and from what i can tell, basically ur making a big issue from nothing... all u want to do is make level 1 show as FOS... i think? which i think xbost already showed.
-
ok ur almost there, elseif ($3 == !rank) { if ($mta.nick($1,$2) == Nick) mta.text $1 Blablabla else prs.rank $1- } adding the 'else' will make this show a custom rank for 'nick' and no second line, which is what i think ur after.
-
Thanks for your help guys. But I am concerned with your comments Scooby. Maybe its a misunderstanding - FriendOfServer status is not given to everyone - I just want level 1 admins to be known as firends of server so I can justify having plenty of level 1s. Plus, I only give rcon to admin level 3 and higher - therefore manual logon would not matter. With this explanation in mind, will that script above do as I need without mucking up the other admin levels? Level 1 or FOS can mute and freeze in my server - will these abilities be affected by changing what the server says when you type !level or !admin. Thanks for the help. well i suppose u could edit the !Admin alias to not show level 1 admins, and manually add the Level 1's with the !Addadmin command, u would just need to maybe change some of the level 1 commands. this of course would only work for people with static IP's. look in ur script for: ;start of Admin level 1 commands. look down the list and u will see the command available to level 1 admins, if there are any that u dont want these people to use, u just need to add to each line: && ($prs.level($1,$2) > 1) eg: elseif ($3 == !setwarnlimit) prs.setwarnlimit $1- would be: elseif ($3 == !setwarnlimit) && ($prs.level($1,$2) > 1) prs.setwarnlimit $1- this would all work fine i guess, although all ur doing is changing level 1 admins to show are FOS.
-
if u still need help with this, add my msn: [email protected] and i'll talk u through it on msn.
-
its simple enough to change, however the script will need modifying in many places (admin commands for level 1 will need changing to level 2 to stop general users using the admin commands), also, genral users wont be able to login manually (since their IP isnt added to the config file), so its kinda pointless.
-
damn ur still trying to do this?? u really need to start to learn how to use while loops and variables more they would make ur script so much smaller and easier to read and use, also, rather than using the whole command in ur command alias, start using seperate aliases. i can see what ur doing here and im guessing u want to delete a certain time from any race? more than likely, it would be the time in first place... so all u need to do is get the race name from $5- once u have the name, its only a matter of using a small loop to rewrite the ini so u would have ur first alias to find the map name, once u can do that, remove the time. its a simple to find the map name from $5- alias findmap { var %a = 0,%b = $5- while (%a < $mta.races($1)) { if (%b isin $mta.races($1,%a)) !return = $mta.races($1,%a) !inc %a } !return } once u get it to return the map name, u already have what u need to remove the time. sorry if this isnt helpful but i cant be bothered to go thru ur massive script
-
f8 to bring up the console, then: rcon_login password after u login, ur ip will store and it should auto login untill ur ip changes.
-
email not valid if u cant get prs to dowlonad from under my sig... i know if u use firefox it tries to open it as a page, so, right click the link under my sig and select 'save link as...' sorted.
-
i have over a years stats and it doesnt slow me down... i run 3 copys of mirc and the script and it runs with less than 15% cpu on a 2gig machine with 512 of ram. it has spikes at times but seems fine on all servers. as for ur points, the top3 alias updates at differnt times since it was added later, i'll check it out when i have time tho, although im sure uve told me this b4
-
ok well yeah i guessed they were for that. the script is still pretty nasty looking to me and i wouldnt use it. especially since its almost as fast to write the line into the script. so im guessing u have it working ok now then.. good good