Jump to content
  • 0
Madeon

Editing @go command

Question

Hello, i want to edit @go to check if player is dead, if dead do atcommand @alive.

 

Something like:

doing @go 0

check if (playerisdead)

atcommand "@alive";

Edited by Madeon
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Basically if players is dead and then you do @go 0 player will be revived so I think you don't have to do a script for this one. But if there's something else you want to do please let us know. We'll be more glad to assist you.

Link to comment
Share on other sites

  • 0

hello,
I think you can catch with bindatcmd the go and check if player hp are 0 and do @alive instead of @go (and let @go happen if you don't need to do anything about it)

Link to comment
Share on other sites

  • 0
5 hours ago, Haruka Mayumi said:

you probably turn this off from conf/battle/player.conf

// Revive dead player while warping? (Note 1)
revive_onwarp: yes

Thanks, solved. 🙂

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.