ID:161266
 
I'm making a punch skill, you can pick to use your right or left hand, but I want the syntax to be punch / [target]. No pop ups or any of that..
Lundex wrote:
No pop ups or any of that..

That's potentially possible, although I haven't tried it. But if you use a standard verb argument, such as:
mob/verb/punch(fist as text)
switch(fist)
if("left") src << "you throw a left punch"
if("right") src << "you throw a right punch"
else src << "invalid parameter: use 'left'/'right'"


This should work just fine for your purposes. If the player types punch into the command line (or uses it as a macro), then he will indeed get a text input popup, but he can also directly (as with all verb arguments) put into the command line/macro something like punch "left", and it will execute the verb with that as the argument - no popups.
In response to Kaioken
Ok, what about selecting a mob?
In response to Lundex
Look up locate() and get_step()
In response to Lundex
I'm guessing what you mean here, you should be more specific...Through the verb arguments, you mean? If so, like I said, it's the same with all arguments. However you activate a verb, you always send a command. When you try to activate a verb without supplying arguments, then Dream Seeker will ask you for them (by the popup windows), but then it will send the full command as normally. Objects are referenced in commands by their handle (most commonly their name), so if you wanted to Attack a specific mob such as the mob named Kaioken, you could type attack Kaioken into the command line to do it directly (no quotes, otherwise you're typing in a text string).