IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Basic trigger question, From a frustrated newbie
Niarbyl
post Feb 12 2004, 12:23 PM
Post #1


Newbie
*

Group: Members
Posts: 5
Joined: 12-February 04
Member No.: 41



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
Go to the top of the page
 
+Quote Post
Guest_Athius_*
post Apr 9 2004, 12:45 PM
Post #2





Guests






This is exactly the problem I have been agonizing over ever since i started using Savitar, could someone plz answer this question.
Go to the top of the page
 
+Quote Post
Guest_name_*
post Apr 17 2004, 12:29 PM
Post #3





Guests






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
Go to the top of the page
 
+Quote Post
Guest_axl_*
post Apr 24 2004, 01:35 AM
Post #4





Guests






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).
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 23rd December 2024 - 05:48 PM