Register to post in forums, or Log in to your existing account
 
:
Search found 7 matches for:
Page 1 of 1
Author Message
  Topic: [problem]counting character within a line
szeming

Replies: 10
Views: 8932

PostForum: zMUD General Discussion   Posted: Sun Feb 29, 2004 11:50 am   Subject: [problem]counting character within a line
great!
thx a lot!

although I can't fully understand how it work now,
I will do my best to make myself clear.

learn much from it :P
  Topic: [problem]counting character within a line
szeming

Replies: 10
Views: 8932

PostForum: zMUD General Discussion   Posted: Sun Feb 22, 2004 10:25 am   Subject: [problem]counting character within a line
the point to make the trigger possible is
that's the robot checker make by game master which stop my robot working effectively in game.

the problem I meet is the trigger only fire once on each lin ...
  Topic: [problem]counting character within a line
szeming

Replies: 10
Views: 8932

PostForum: zMUD General Discussion   Posted: Sat Feb 21, 2004 2:09 am   Subject: [problem]counting character within a line
let me give a example for understand the situation

screen show:
ebacadfjianbasdasdefaaawaw

how can I make the trigger which only count out the number of red "a"?
  Topic: Multi Line Capture
szeming

Replies: 12
Views: 9864

PostForum: zMUD General Discussion   Posted: Fri Feb 20, 2004 11:13 am   Subject: Multi Line Capture
If there always only have 3 lines following,
I will use this method :P

trigger 1,
pattern:
Affects:
value:
#t+ recordaffects
i=0

trigger 2 in recordaffects class,
pattern:
(*)
value:
# ...
  Topic: [problem]counting character within a line
szeming

Replies: 10
Views: 8932

PostForum: zMUD General Discussion   Posted: Fri Feb 20, 2004 7:30 am   Subject: [problem]counting character within a line
pls help me,
I really want to know the method.
  Topic: [problem]counting character within a line
szeming

Replies: 10
Views: 8932

PostForum: zMUD General Discussion   Posted: Thu Feb 19, 2004 12:05 pm   Subject: [problem]counting character within a line
oic~^^
I learn much from it,thx all

but there are another deeper problem,
how about if the string have color?
eg. there have 9 "a" but only 3 of them in red,
how can I make a trigger to count t ...
  Topic: [problem]counting character within a line
szeming

Replies: 10
Views: 8932

PostForum: zMUD General Discussion   Posted: Wed Feb 18, 2004 3:41 pm   Subject: [problem]counting character within a line
I am try to make a trigger to count how many "a" in one line

as the screen show:
abisssaaaww weadnia waaa

there have 9 "a"
I used following method:
z=0
pattern:a
value:#math z @z+1

and u ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net