Jump to content
  • 0

How to call /commands in a script ?


Eross

Question


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.10
  • Content Count:  349
  • Reputation:   12
  • Joined:  04/05/20
  • Last Seen:  

for example OnPCloginevent: atcommand "/w"; ... Is it correct ???? can you teach me how to do this ? /am /showname etc

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  929
  • Reputation:   170
  • Joined:  04/05/13
  • Last Seen:  

Look like it's client command but some command link up with server like /w

The /commands I think it's not link up with server. so maybe you should try set motd?

 

Also /showname can be done in savedata folder (OptionInfo.lua)

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.10
  • Content Count:  349
  • Reputation:   12
  • Joined:  04/05/20
  • Last Seen:  

21 minutes ago, Start_ said:

Look like it's client command but some command link up with server like /w

The /commands I think it's not link up with server. so maybe you should try set motd?

 

Also /showname can be done in savedata folder (OptionInfo.lua)

Thankyou ! one more question .. Is it possible to configure or attach a command in UI buttons like the bank button in alt+V?? 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  929
  • Reputation:   170
  • Joined:  04/05/13
  • Last Seen:  

You should search in src folders like {bank, button, packet, receive}. (Not sure, I'm not know that much/abs)

Then write a debug console command to print out message if you're at correct coding lines. 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.10
  • Content Count:  349
  • Reputation:   12
  • Joined:  04/05/20
  • Last Seen:  

15 minutes ago, Start_ said:

You should search in src folders like {bank, button, packet, receive}. (Not sure, I'm not know that much/abs)

Then write a debug console command to print out message if you're at correct coding lines. 

Thankyou !

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...