WolfNetDevelopment / Wormhole-X-Treme

WormholeXTreme is a Stargate plugin for CraftBukkit
http://jira.luricos.de/browse/Wormhole
Other
25 stars 17 forks source link

Deleting Stargates with Spaces #15

Closed trendkilla254 closed 12 years ago

trendkilla254 commented 12 years ago

I repeatedly tell my admins DO NOT make stargates with names... Unfortunately They have done it again. Please add the ability to delete these stargates. It does show the name when you type /wxlist. Such as "NPC Town" shows up but cannot be removed.

server 66.196.1.30:25565 Trendkilla254 Killadro

lycano commented 12 years ago

Actually you can remove it when you type it as you just did =)

trendkilla254 commented 12 years ago

I have tried. It does not work for me. /wxremove NPC Town will not work. I have tried, I can let you team viewer into my server and I can show you. On Dec 5, 2011 9:51 AM, "Lycano" < reply@reply.github.com> wrote:

Actually you can remove it when you type it as you just did =)


Reply to this email directly or view it on GitHub: https://github.com/lycano/Wormhole-X-Treme/issues/15#issuecomment-3018634

lycano commented 12 years ago

Ok, maybe this wasnt clear you did wrote "NPC Town" in your comment. So i assumed you do write this ingame too.

Please try /wxremove "NPC Town"

If you have spaces inside names quotation is used to say "hey this is one variable"

trendkilla254 commented 12 years ago

Ugh, No I'm sorry I should not have put the "" in there...

/wxremove NPC Town

will not remove

NPC Town

On Mon, Dec 5, 2011 at 10:15 AM, Lycano < reply@reply.github.com

wrote:

Ok, maybe this wasnt clear you did wrote "NPC Town" in your comment. So i assumed you do write this ingame too.

Please try /wxremove "NPC Town"

If you have spaces inside names quotation is used to say "hey this is one variable"


Reply to this email directly or view it on GitHub: https://github.com/lycano/Wormhole-X-Treme/issues/15#issuecomment-3018974

lycano commented 12 years ago

@trendkilla254 Err ... could you please answer the question? You always type: /wxremove NPC Town, and this doesnt work while i did mentioned that you should try /wxremove "NPC Town"

I know that the command /wxremove NPC Town doesnt work because it will only get NPC while Town is the second argument. Again: Please try /wxremove "NPC Town". I still think that you didn't used the double quotes ;)

If you use double quotes around the Argument that contains spaces then you can use names with spaces without a problem.

Ex.: /command arg1 arg2 arg3 arg4 /wxremove NPC Town => arg1="NPC", arg2="Town"

differs from: /wxremove "NPC Town" => arg1="NPC Town"

Hint: /command arguments Space is a command seperator and all arguments are seperated by spaces which means if you want to remove a Gate that contains spaces you have to use double quotes.

trendkilla254 commented 12 years ago

Excellent thank you! On Dec 6, 2011 6:54 AM, "Lycano" < reply@reply.github.com> wrote:

@trendkilla254 Err ... could you please answer the question? You always type: /wxremove NPC Town, and this doesnt work while i did mentioned that you should try /wxremove "NPC Town"

I know that the command /wxremove NPC Town doesnt work because it will only get NPC while Town is the second argument. Again: Please try /wxremove "NPC Town". I still think that you didn't used the double quotes ;)

If you use double quotes around the Argument that contains spaces then you can use names with spaces without a problem.

Ex.: /command arg1 arg2 arg3 arg4 /wxremove NPC Town => arg1="NPC", arg2="Town"

differs from: /wxremove "NPC Town" => arg1="NPC Town"

Hint: /command arguments Space is a command seperator and all arguments are seperated by spaces which means if you want to remove a Gate that contains spaces you have to use double quotes.


Reply to this email directly or view it on GitHub: https://github.com/lycano/Wormhole-X-Treme/issues/15#issuecomment-3031843

lycano commented 12 years ago

You're welcome! I guess i can close this now? =)

trendkilla254 commented 12 years ago

I have not tried it and won't have the chance untill 10 hours from now. But I assume it is correct. On Dec 6, 2011 8:32 AM, "Lycano" < reply@reply.github.com> wrote:

You're welcome! I guess i can close this now? =)


Reply to this email directly or view it on GitHub: https://github.com/lycano/Wormhole-X-Treme/issues/15#issuecomment-3032875

lycano commented 12 years ago

Ok, ill wait then til you checked it.