Jump to content

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

custom commands


  • Please log in to reply
8 replies to this topic

#1
OFFLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPipPip
  • 420 posts
55
Getting Better
  • LocationCroatia
Hello, how to create a custom command like !putbotss, it automaticlly put all omni's to spectator?

#2
OFFLINE   hellreturn

hellreturn

    Management

  • Management
  • PipPipPipPip
  • 2693 posts
158
On the road to fame
Go to: /silent/database/ and open shrubbot.cfg

Add this:

[command]
command  = omnispec
exec	 = exec omnispec.cfg
desc	 = Put all bots to spec.
levels   = 8,9,10

In etmain add omnispec.cfg with below code and you can add more omni bot names in it as required.

!putteam destroya s
!putteam Chocolates s
!putteam $3xy s
!putteam Royal s


#3
OFFLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPipPip
  • 420 posts
55
Getting Better
  • LocationCroatia
hey, thanks for ur reply, this is what ive done so far and its not working:, i get or permission denied or nothing happends

in my shrubbot:


[command]
command = omnispec
exec = exec omnispec.cfg
desc = Put all bots to spec.
levels = 4,5,6,7,8,9,10,20,30

omnispec.cfg in etmain


!putteam ^1gay
!putteam soldier974
!putteam ^7Alta^8i^7r
!putteam ^5#^7AxE^5|^7Youri
!putteam ^s#^7AxE^s|^7The Sam1
!putteam ^6#^7AxE^6|^7PEDER
!putteam ^6gilou peder
!putteam ^4baker
!putteam ^2#^7AxE^2|^7Cruz
!putteam devy peder
!putteam ^4Homo^8fob
!putteam ^7Arrowgun^8<3
!putteam Dookie^6<3
!putteam Lelouch
!putteam ^8#^7AxE^8|^7TonT

#4
OFFLINE   clan DIABOLIK

clan DIABOLIK

    Advanced Member

  • Members
  • PipPipPipPip
  • 322 posts
36
Getting Better
!putteam toto s

You've forgot the "s" (for spectator-team)

#5
OFFLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPipPip
  • 420 posts
55
Getting Better
  • LocationCroatia
ah yes, now works but only for lvl 4, but as u can see in the 1st post ive added more levels...any ideas?

#6
OFFLINE   hellreturn

hellreturn

    Management

  • Management
  • PipPipPipPip
  • 2693 posts
158
On the road to fame
I don't think you need color tags in it. Remove all the color tags from !putteam command.

#7
OFFLINE   Dookie

Dookie

    Advanced Member

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

I don't think you need color tags in it. Remove all the color tags from !putteam command.


it works with color tags also, but works only for lvl 4, ive added other level's as u can see in 1st post, but only work for lvl 4, all others lvl's says premission denied :S

#8
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
Space separated list of levels. http://mygamingtalk....ot#shrubbot.cfg

levels = 4 5 6 7 8 9 10 20 30

#9
OFFLINE   Dookie

Dookie

    Advanced Member

  • Members
  • PipPipPipPip
  • 420 posts
55
Getting Better
  • LocationCroatia
oh yes, thx friend! ;)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users