IPB

Welcome Guest ( Log In | Register )

> 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
 
Start new topic
Replies
Guest_axl_*
post Apr 24 2004, 01:35 AM
Post #2





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

Posts in this topic
- Niarbyl   Basic trigger question   Feb 12 2004, 12:23 PM
- - Athius   This is exactly the problem I have been agonizing ...   Apr 9 2004, 12:45 PM
- - name   did you try $$name? then reply should be...   Apr 17 2004, 12:29 PM
- - axl   First off, I'll say that I never messed with t...   Apr 24 2004, 01:35 AM


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

 



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