Help - Search - Members - Calendar
Full Version: Basic trigger question
Heynow Software Forums > Savitar Software Application > General Discussion
Niarbyl
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
Athius
This is exactly the problem I have been agonizing over ever since i started using Savitar, could someone plz answer this question.
name
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
axl
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).
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.