Printable Version of Topic

Click here to view this topic in its original format

Heynow Software Forums _ General Discussion _ Basic trigger question

Posted by: Niarbyl Feb 12 2004, 12:23 PM

Hello all,

I'm new to MUD clients and I'm having trouble setting a trigger. What I want to do is to kill a mob without having to input the it's name so, on advice from other MUD users, I've set;

$1 tells the group whack $2 ($ being the world's variable command)
reply:
kill $2

but all I get is a message telling me 'There is no one here called $2'. I've tried it with various changes (for example % and %% in the reply) but, after hours of testing, I still can't get it to work sad.gif

Can anyone tell me what I am doing wrong?

Many thanks

Posted by: Athius Apr 9 2004, 12:45 PM

This is exactly the problem I have been agonizing over ever since i started using Savitar, could someone plz answer this question.

Posted by: name Apr 17 2004, 12:29 PM

did you try $$name? then reply should be %%name.... i think $$ is to set the variable %% is to recall value of a macro

so...

$$dude tells the group whack $$dudette
reply:
kill %%dudette

not sure but try it

Posted by: axl Apr 24 2004, 01:35 AM

First off, I'll say that I never messed with the default command markers, set in 'Edit
Command marker: ##
Macro marker: %%
Event wildcard marker: $$

I have MANY triggers set up, things like:

pick $$dor = 'you can try to help, I'm gonna try to pick: %%dor

Now, you wouldn't type pick $$dor, you would type pick door or pick portcullis or pick anythingelse. Savitar sees it as labeling whatever you're picking as dor, and then since you immedately use it in what you say, you can see if it works or not. The most difficulty i had learning this was, is it pick $$dor or pick %%dor?

Remember that for naming the variables, use $$(or whatever you set as your wildcard marker) For calling them in to use, use %%(your macro marker).

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)