Author |
Message |
Topic: matching long names from enemy lists |
dazed-n-confused999
Replies: 6
Views: 10248
|
Forum: CMUD General Discussion Posted: Wed Feb 12, 2014 8:53 pm Subject: matching long names from enemy lists |
Yep! got my mojo working once again. Thanks everyone.
Had to change it up just a tad, but this works.
#forall @enemylist {#var newtarg %i;#if %pos( @newtarg, %1) {#break}} |
Topic: matching long names from enemy lists |
dazed-n-confused999
Replies: 6
Views: 10248
|
Forum: CMUD General Discussion Posted: Wed Feb 12, 2014 7:38 pm Subject: matching long names from enemy lists |
I thought about using the %pos function, so far this is all I got.
(*) has just entered from the (%w).
#forall @enemylist {#IF %pos(%1, %i)} {#show whoomp there it is}
It cycles though the ... |
Topic: matching long names from enemy lists |
dazed-n-confused999
Replies: 6
Views: 10248
|
Forum: CMUD General Discussion Posted: Wed Feb 12, 2014 3:54 am Subject: matching long names from enemy lists |
I would really like the option to change targets easily if a new bad guy enters the room.
Problem is everyone changes their monikers constantly.
As an example I would capture:
Bad Bart the Terrible ... |
Topic: can't get a match |
dazed-n-confused999
Replies: 16
Views: 17649
|
Forum: CMUD General Discussion Posted: Thu Jan 30, 2014 3:47 am Subject: can't get a match |
ok the function fixexits was only missing a space it seems, but the second state of the trigger is still giving the same error, ive looked for basic spacing and typo type problems and have got nowhere ... |
Topic: can't get a match |
dazed-n-confused999
Replies: 16
Views: 17649
|
Forum: CMUD General Discussion Posted: Wed Jan 29, 2014 7:49 pm Subject: can't get a match |
wow that looks awesome, and im not going to pretend to know how to debug this (i dont know where to start)
these are the first two errors i got when i added the code:
ERROR: Syntax error in Function ... |
Topic: can't get a match |
dazed-n-confused999
Replies: 16
Views: 17649
|
Forum: CMUD General Discussion Posted: Wed Jan 29, 2014 5:17 am Subject: can't get a match |
Example 1:
Dawn has lit the sky with her streamers of rosy red. You notice exits northeast (a closed door), east (a closed door), southeast (a closed door), south (a closed door), west (a closed door ... |
Topic: pathexpand giving invalid map directions |
dazed-n-confused999
Replies: 1
Views: 3134
|
Forum: CMUD General Discussion Posted: Sat Dec 14, 2013 5:56 am Subject: pathexpand giving invalid map directions |
this is the code i use to try to fetch my minion from across the map to me, it works fine as long as its a straight line. as soon as there is a turn i get: .2wk for instance or .3nl, Im not sure where ... |
Topic: record variable help |
dazed-n-confused999
Replies: 1
Views: 3184
|
Forum: CMUD General Discussion Posted: Fri Dec 13, 2013 8:07 pm Subject: record variable help |
This is probably a silly question, but after hours of reading I still cant find an answer so here goes.
I'm just trying to access information inside the fields of a record variable.
I create a recor ... |
Topic: help with long lists |
dazed-n-confused999
Replies: 3
Views: 7089
|
Forum: CMUD General Discussion Posted: Wed Apr 17, 2013 1:41 am Subject: help with long lists |
That worked like a charm!
first trigger I used verbatim, the second one I just added:
#IF (@tempList) {thisList = %replace( @tempList, ". ", ".|")} to my prompt trigger.
tried to do the second one ... |
Topic: help with long lists |
dazed-n-confused999
Replies: 3
Views: 7089
|
Forum: CMUD General Discussion Posted: Tue Apr 16, 2013 3:20 am Subject: help with long lists |
1452h, 1452m dEeix- td drache
You examine the clues, sniff the air and question your intuition; you see an echo of Centre of the Cassiandora square marketplace.
It is within Mercinae.
Using your en ... |
Topic: moving objects using #walk |
dazed-n-confused999
Replies: 6
Views: 7218
|
Forum: CMUD General Discussion Posted: Mon Mar 25, 2013 9:39 pm Subject: moving objects using #walk |
yes got my mojo workin, this is going to change things, thanks a lot!
one more question, when im following my companion around the map i cant really see anything through its eyes so im running blind. ... |
Topic: moving objects using #walk |
dazed-n-confused999
Replies: 6
Views: 7218
|
Forum: CMUD General Discussion Posted: Mon Mar 25, 2013 2:58 am Subject: moving objects using #walk |
i read the help files, im not really getting it could you give me an example?
#withloc @companion north if i wanted to move it north or how does that work? |
Topic: matching a looooonggg pattern |
dazed-n-confused999
Replies: 1
Views: 4079
|
Forum: CMUD General Discussion Posted: Sun Mar 24, 2013 5:12 pm Subject: matching a looooonggg pattern |
simple question i hope how do i get information off a pattern that is so long it takes 2 or more lines (usually no more than 2, just 2 for now)
examples:
Jackass in strident, sonorous tones relates ... |
Topic: moving objects using #walk |
dazed-n-confused999
Replies: 6
Views: 7218
|
Forum: CMUD General Discussion Posted: Fri Mar 15, 2013 4:58 am Subject: moving objects using #walk |
is there a way to move a companion around using the map?
#walk 485 @companion
or something like that
help |
Topic: data entry |
dazed-n-confused999
Replies: 3
Views: 5131
|
Forum: CMUD General Discussion Posted: Thu Oct 18, 2012 5:39 pm Subject: data entry |
When I cut and paste information from a text file containing data within parentheses (phone number) and try to run it through cmud via command line, I always get a parse error.
Error parsing command ... |
Topic: uggg water paths |
dazed-n-confused999
Replies: 3
Views: 4308
|
Forum: CMUD General Discussion Posted: Tue Jul 26, 2011 2:14 am Subject: uggg water paths |
ok I think I sort of figured it out.
I'm just manually entering swim (dir) in the name box within properties.
Seems to be working ok, its just going to take awhile to get all this in long hand. |
Topic: uggg water paths |
dazed-n-confused999
Replies: 3
Views: 4308
|
Forum: CMUD General Discussion Posted: Tue Jul 26, 2011 1:06 am Subject: uggg water paths |
There are times when I need to swim from one location to the next.
I'm thinking I'll stick the water areas in their own zone, and then modify the preferences in that zone
to swim instead of open doo ... |
Topic: can't get a match |
dazed-n-confused999
Replies: 16
Views: 17649
|
Forum: CMUD General Discussion Posted: Wed Dec 29, 2010 10:46 pm Subject: can't get a match |
groovy! works now. |
Topic: can't get a match |
dazed-n-confused999
Replies: 16
Views: 17649
|
Forum: CMUD General Discussion Posted: Wed Dec 29, 2010 5:28 pm Subject: can't get a match |
i added the:
#forall @roomexits {
#if (%ends(@RoomExits," (a closed door)") {#delitem RoomExits %i}
}
it still doesnt remove the closed doors |
Topic: can't get a match |
dazed-n-confused999
Replies: 16
Views: 17649
|
Forum: CMUD General Discussion Posted: Wed Dec 29, 2010 5:14 am Subject: can't get a match |
You notice exits north, east, south, southwest (a closed door), and west.
RoomExits = %replace( %1, "and", "," " ")
RoomExits = %replace( @RoomExits, ", ", "|")
RoomExits = %replace( @RoomExits, ... |
Topic: can't get a match |
dazed-n-confused999
Replies: 16
Views: 17649
|
Forum: CMUD General Discussion Posted: Wed Dec 29, 2010 4:26 am Subject: can't get a match |
That works thank you.
|
Topic: can't get a match |
dazed-n-confused999
Replies: 16
Views: 17649
|
Forum: CMUD General Discussion Posted: Tue Dec 28, 2010 8:37 pm Subject: can't get a match |
sorry I should have said that this isnt used with the mapper.
All Im doing is trying to stick the room exits into a list (minus the open door stuff)
so that I can run out in a pinch or push someone ... |
Topic: can't get a match |
dazed-n-confused999
Replies: 16
Views: 17649
|
Forum: CMUD General Discussion Posted: Tue Dec 28, 2010 6:28 am Subject: can't get a match |
You notice exits north, and down (an open door). <----- line from the mud
downdoor
#delitem roomexits "down (an open door)."
#additem roomexits down
#if %ismember( "down (an open door)." ... |
Topic: Cmud relieving itself on the floor |
dazed-n-confused999
Replies: 1
Views: 3055
|
Forum: CMUD General Discussion Posted: Fri Dec 10, 2010 3:28 pm Subject: Cmud relieving itself on the floor |
My client has seen the need to delete a couple dozen class folders from time to time.
It doesn't delete the triggers, it just moves them to the root directory and renders them inactive.
Could other ... |
Topic: new computer dont like old cmud |
dazed-n-confused999
Replies: 2
Views: 3954
|
Forum: CMUD General Discussion Posted: Fri Aug 20, 2010 5:26 pm Subject: new computer dont like old cmud |
deleted those files and got the same error at first.
then i deleted the cmudstartup.ini file and followed the prompt to upgrade to beta.
now it seems to be all peachy king.
thanks chief. |
|