Register to post in forums, or Log in to your existing account
 
:
Search found 14 matches for:
Page 1 of 1
Author Message
  Topic: Old Zmud organizing script conversion
mtuyooper

Replies: 14
Views: 12837

PostForum: CMUD General Discussion   Posted: Thu May 19, 2011 10:45 am   Subject: Old Zmud organizing script conversion
Thank you Rahab and Shalimar!

The change you stated Rahab made all the difference. Finished code is below!

For other people, this takes input from a container and reorganizes it into a more eyeb ...
  Topic: Old Zmud organizing script conversion
mtuyooper

Replies: 14
Views: 12837

PostForum: CMUD General Discussion   Posted: Wed May 18, 2011 2:40 pm   Subject: Old Zmud organizing script conversion
Most excellent thank you Rahab and Shalimar!

It captures the very last item, the one with the period next to it. For example :

It contains:
45 pieces of wood, a bottle of beer.

And returns : ...
  Topic: Old Zmud organizing script conversion
mtuyooper

Replies: 14
Views: 12837

PostForum: CMUD General Discussion   Posted: Tue May 17, 2011 6:45 pm   Subject: Old Zmud organizing script conversion
Unfortunately I don't believe the mud does. Nor have I had any luck with this issue.

Anyones thoughts on how to proceed in order to organize the contents would be greatly appreciated!
  Topic: Old Zmud organizing script conversion
mtuyooper

Replies: 14
Views: 12837

PostForum: CMUD General Discussion   Posted: Sun May 01, 2011 12:24 am   Subject: Old Zmud organizing script conversion
OK, so I would use the #COND as per the original example?

I'm using :



#tr It contains:
#GAG
#COND {(*).}
TempContents={%1}
#VAR TempContents %repla ...
  Topic: Old Zmud organizing script conversion
mtuyooper

Replies: 14
Views: 12837

PostForum: CMUD General Discussion   Posted: Sat Apr 30, 2011 10:08 pm   Subject: Old Zmud organizing script conversion
Ahh excellent! That's almost exactly what I'm looking for. One thing that is throwing me though...


The output must all be on a single line, which can be a line wrapped by zMUD.


In my case i ...
  Topic: Old Zmud organizing script conversion
mtuyooper

Replies: 14
Views: 12837

PostForum: CMUD General Discussion   Posted: Sat Apr 30, 2011 4:17 pm   Subject: Old Zmud organizing script conversion
Hello again folks!

Working version here! Thanks Shalimar and Rahab!


#TR {It contains:} {#GAG}
#COND {(*).} {
$Contents=%replace(%replac ...
  Topic: Trigger : Time between Occurences
mtuyooper

Replies: 11
Views: 9275

PostForum: CMUD General Discussion   Posted: Wed Apr 20, 2011 1:20 am   Subject: Trigger : Time between Occurences
edit : added multi char support

Ah hah! Excellent!

Here is what I came up with...


<trigger priority="70" id="7">
<pattern>~* You think your%s(*)%s ...
  Topic: Trigger : Time between Occurences
mtuyooper

Replies: 11
Views: 9275

PostForum: CMUD General Discussion   Posted: Wed Apr 20, 2011 12:47 am   Subject: Trigger : Time between Occurences
I think I've overstepped myself. I don't understand what is happening with your example Charneus, maybe you could help me with my simpler one :)

So far I've got this :


<pattern>~* You th ...
  Topic: Trigger : Time between Occurences
mtuyooper

Replies: 11
Views: 9275

PostForum: CMUD General Discussion   Posted: Wed Apr 20, 2011 12:12 am   Subject: Trigger : Time between Occurences
Excellent!

The trigger is entered and upon actuating creates the proper key with a value of "2011|04|19|20|09|35".

However it outputs :


ooc split defense+ #LOCAL timeresult #IF $timeend & ...
  Topic: Trigger : Time between Occurences
mtuyooper

Replies: 11
Views: 9275

PostForum: CMUD General Discussion   Posted: Tue Apr 19, 2011 11:45 pm   Subject: Trigger : Time between Occurences
OK, I've got the function entered in, now I'm having a hard time with the trigger code.

The trigger would store the time start as %time("yyyy|mm|dd|hh|nn|ss"), and the same for the time end. Then, ...
  Topic: Trigger : Time between Occurences
mtuyooper

Replies: 11
Views: 9275

PostForum: CMUD General Discussion   Posted: Tue Apr 19, 2011 11:17 pm   Subject: Trigger : Time between Occurences
Wow!

How do I go about entering in the function as noted above? I try to copy and paste it into the Cmud prompt but return errors. I've added a variable time, with the keys timeend and timestart bu ...
  Topic: Trigger : Time between Occurences
mtuyooper

Replies: 11
Views: 9275

PostForum: CMUD General Discussion   Posted: Tue Apr 19, 2011 10:50 pm   Subject: Trigger : Time between Occurences
Ok!

I've modified it to first move the old %secs key value, and that is where I'm having an issue.

Here it is so far...

#add %1.OldTime @%1.Time
#addk %1 Count 1
#addk %1 Time %secs

Af ...
  Topic: Trigger : Time between Occurences
mtuyooper

Replies: 11
Views: 9275

PostForum: CMUD General Discussion   Posted: Tue Apr 19, 2011 6:54 pm   Subject: Trigger : Time between Occurences
Hello folks,

I'm trying to setup a trigger that will record an occurrence and display the elapsed time when that event happens again. I currently have a trigger showing me the current time when it ...
  Topic: Time between the same trigger firing
mtuyooper

Replies: 1
Views: 3015

PostForum: CMUD General Discussion   Posted: Sun Jul 26, 2009 3:50 pm   Subject: Time between the same trigger firing
I'm trying to display the time (mm:ss) that has elapsed between a trigger firing. This is what I currently have:

Pattern: * You think your %1 skill has improved

#win Improves %time("hh:mm:ss") % ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net