ShaDoW Posted May 4, 2012 Share Posted May 4, 2012 Hello, I want to make the !spec command like on jaymod but how can I do it? Probably only with lua scriping, but how does it works? I have no expierence with lua scriping. Greetz ShaDoW Quote Link to comment Share on other sites More sharing options...
Petbark Posted May 4, 2012 Share Posted May 4, 2012 There is already a command in et for this which is /follow [slot number] Quote Link to comment Share on other sites More sharing options...
Dookie Posted May 4, 2012 Share Posted May 4, 2012 There is already a command in et for this which is /follow [slot number] yea we know, but we would like to make excatly a !spec command... Quote Link to comment Share on other sites More sharing options...
Dragonji Posted May 4, 2012 Share Posted May 4, 2012 You can try to write a Lua script for that. Quote Link to comment Share on other sites More sharing options...
Management TheSilencerPL Posted May 4, 2012 Management Share Posted May 4, 2012 yea we know, but we would like to make excatly a !spec command...Can you tell why you would like to do that particularly if you have follow command already? Is it just you are used to that cmd or something else? Quote Link to comment Share on other sites More sharing options...
Dookie Posted May 4, 2012 Share Posted May 4, 2012 Can you tell why you would like to do that particularly if you have follow command already? Is it just you are used to that cmd or something else? yes most of people are used to that command. Quote Link to comment Share on other sites More sharing options...
Chuckun Posted May 4, 2012 Share Posted May 4, 2012 Seems like it would be easy as hell considering all you'd do is trigger "follow <string>" (since only jaymod doesn't /follow partial names) Quote Link to comment Share on other sites More sharing options...
Dookie Posted May 6, 2012 Share Posted May 6, 2012 and follow command each time when a player die's you gotta write it again, and sumtimes it doesnt recognize's name, so u gotta search a player after his number...would be a great improvment to just have a spec command. Quote Link to comment Share on other sites More sharing options...
Management hellreturn Posted May 6, 2012 Management Share Posted May 6, 2012 It doesn't recognize name under this case: 2 players on server with name:- Dookie- DookieAngel Now when you do /follow dook it will not work cos name is not unique. I believe it's same with !spec too. Not sure on spec lock feature on specific player after follow. Quote Link to comment Share on other sites More sharing options...
Dookie Posted May 6, 2012 Share Posted May 6, 2012 but worse thing is that u need to do follow after each death. Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted May 6, 2012 Management Share Posted May 6, 2012 Take a look at http://mygamingtalk.com/wiki/index.php/Silent_Mod_Server_Cvar#g_spectator Quote Link to comment Share on other sites More sharing options...
Petbark Posted May 7, 2012 Share Posted May 7, 2012 With this senario why not use the slot number instead.So do either /players or !list to get the right slot. Quote Link to comment Share on other sites More sharing options...
Chuckun Posted May 7, 2012 Share Posted May 7, 2012 (edited) /follow re-follows a player once they respawn for us @ the two silent servers in my sig. I don't see how it would be different in your silent servers but just FYI, /follow is IDENTICAL to !spec for us. I haven't configured a single silent server at all but by looking at the documentation , all I can guess at a custom command is this.. in shrubbot.cfg [command] command = spec exec = follow [1] desc = Spectate a player levels = 0 1 2 3 4 5 (however many levels you have) Can anyone confirm? You might also want to try it replacing [1] with [1?].. according to the documentation of silent, the ? passes the fullname of a matching player, assuming there are no duplicates - not sure if it's necessary or would be a hinderence.. But try it both ways if you want. Edited May 7, 2012 by Chuckun Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted May 8, 2012 Management Share Posted May 8, 2012 It will not work as custom command. /follow is client command and custom commands are rcon commands. Quote Link to comment Share on other sites More sharing options...
Chuckun Posted May 8, 2012 Share Posted May 8, 2012 It will not work as custom command. /follow is client command and custom commands are rcon commands. Ahh yes, didn't really think that one through Well in that case, !spec is going to be a serious waste of you guys' time.. /follow does the exact same thing and it's a silent command too so you can follow cheaters without being known to be, etc.. Quote Link to comment Share on other sites More sharing options...
Dookie Posted May 8, 2012 Share Posted May 8, 2012 Ahh yes, didn't really think that one through Well in that case, !spec is going to be a serious waste of you guys' time.. /follow does the exact same thing and it's a silent command too so you can follow cheaters without being known to be, etc.. well, guess we will end up on that , thx anyway Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.