duel command help
#4

If you don't know where to start, then I recommend you don't try scripting it yet; instead get a pencil and paper and write down exactly how you want it to work. Once you have done that you will have a set of smaller problems to solve as opposed to one big one, so it should be simpler, clearer and more easy to make. Here is what I mean:

Код:
Player 1 types /duel [id] > if it is a valid ID a message will be sent to Player 2 saying that Player 1 wants to duel him and that he must type /acceptduel or deny duel > Player 2 will either type: /acceptduel  > ......
             > if it is not a valid ID, send Player 1 saying that it is not and to try again.                                             : /denyduel   > ......
                                                                                                  : nothing at all > ......
By doing this and making sure it works how you want it to you will probably end up with a better end product than if you just start trying to code it.
Reply


Messages In This Thread
duel command help - by Sfinx_17 - 11.11.2009, 16:31
Re: duel command help - by Doppeyy - 11.11.2009, 17:08
Re: duel command help - by Sfinx_17 - 11.11.2009, 23:37
Re: duel command help - by radhakr - 12.11.2009, 00:09
Re: duel command help - by Sfinx_17 - 12.11.2009, 00:27
Re: duel command help - by retart441 - 12.11.2009, 03:06
Re: duel command help - by Abernethy - 12.11.2009, 03:36
Re: duel command help - by Sfinx_17 - 13.11.2009, 01:35

Forum Jump:


Users browsing this thread: 2 Guest(s)