Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

!spec command


  • Please log in to reply
15 replies to this topic

#1
OFFLINE   ShaDoW

ShaDoW

    Member

  • Members
  • PipPip
  • 41 posts
1
A step in the right direction
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

#2
OFFLINE   Petbark

Petbark

    Advanced Member

  • Members
  • PipPipPipPip
  • 185 posts
30
Getting Better
There is already a command in et for this which is /follow [slot number]

#3
OFFLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPipPip
  • 420 posts
55
Getting Better
  • LocationCroatia

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...

#4
OFFLINE   Dragonji

Dragonji

    Advanced Member

  • Members
  • PipPipPipPip
  • 514 posts
142
On the road to fame
  • LocationPoland
You can try to write a Lua script for that.

#5
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPipPip
  • 3099 posts
216
On the road to fame
  • LocationPoland

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?

#6
OFFLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPipPip
  • 420 posts
55
Getting Better
  • LocationCroatia

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.

#7
OFFLINE   Chuckun

Chuckun

    Regular Member

  • Members
  • PipPipPip
  • 130 posts
20
On a distinguished road
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)

#8
OFFLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPipPip
  • 420 posts
55
Getting Better
  • LocationCroatia
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.

#9
OFFLINE   hellreturn

hellreturn

    Management

  • Management
  • PipPipPipPip
  • 2693 posts
158
On the road to fame
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.

#10
OFFLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPipPip
  • 420 posts
55
Getting Better
  • LocationCroatia
but worse thing is that u need to do follow after each death.

#11
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
Take a look at http://mygamingtalk....var#g_spectator

#12
OFFLINE   Petbark

Petbark

    Advanced Member

  • Members
  • PipPipPipPip
  • 185 posts
30
Getting Better
With this senario why not use the slot number instead.
So do either /players or !list to get the right slot.

#13
OFFLINE   Chuckun

Chuckun

    Regular Member

  • Members
  • PipPipPip
  • 130 posts
20
On a distinguished road
/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 by Chuckun, 08 May 2012 - 12:04 AM.


#14
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
It will not work as custom command. /follow is client command and custom commands are rcon commands.

#15
OFFLINE   Chuckun

Chuckun

    Regular Member

  • Members
  • PipPipPip
  • 130 posts
20
On a distinguished road

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 :P 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..

#16
OFFLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPipPip
  • 420 posts
55
Getting Better
  • LocationCroatia

Ahh yes, didn't really think that one through :P 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 :D, thx anyway :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users