Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
vividos1
Newbie


Joined: 27 Jun 2007
Posts: 1

PostPosted: Thu Apr 15, 2010 4:51 pm   

Issues with SEND
 
I know 100% this is just my fail at being able to understand how i need to set this up. I can from a command line do like the examples say:

#MXP This is a <send "hello|command1|command2" "help me|First command|Second command">test</send>

I get the right text, the right left click action, and the menu's for if I right click. (So i know at least that commands from MXP menu's are working) I'm now trying to make this more useful as a trigger for when i see one of a number of NPC's. Ideally a list of NPC's i want to be able to click on when i see them in the room, witha left click to send a consider command, and right click giving me different combat options. Something as simple as:

#TRIGGER {sad man|a sailor|...etc...} {#SUB{<SEND "con &text|kill &text|kill2 &text|kill3 &text" "Kill Options|Standard Kill|Warcry Kill|Full Assult">&text</SEND>}}

Now the above script doesn't work of course, I imagine the '&text' is not the correct way to do what I want. I've sifted through quite a few scripts and can't see to find anyone doing this with theirs outside of making clickable exits.

Any help you can offer or example you can point me too would be most appricaited! THANKS!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net