Register to post in forums, or Log in to your existing account
 
:
Search found 6 matches for:
Page 1 of 1
Author Message
  Topic: Reset variables
gim

Replies: 3
Views: 1320

PostForum: zMUD General Discussion   Posted: Fri Aug 12, 2005 12:55 pm   Subject: Reset variables
How do i reset a variable to its default within a script?
#reset {classname} doesn't work for me, because there is a always an output that bothers me.

gim
  Topic: Parsing a Line and map the Nouns in it
gim

Replies: 9
Views: 3484

PostForum: zMUD General Discussion   Posted: Fri Aug 12, 2005 8:10 am   Subject: Parsing a Line and map the Nouns in it
something like this.. sorry for the german language.


Der grosse Raum mit seiner niedrigen Decke und den grob geschnittenen
Querbalken hat Platz fuer sehr viele Personen. Knarrende Dielen erzaehl ...
  Topic: Parsing a Line and map the Nouns in it
gim

Replies: 9
Views: 3484

PostForum: zMUD General Discussion   Posted: Thu Aug 11, 2005 7:49 pm   Subject: Parsing a Line and map the Nouns in it
how do i capture a whole paragraph?
  Topic: Parsing a Line and map the Nouns in it
gim

Replies: 9
Views: 3484

PostForum: zMUD General Discussion   Posted: Thu Aug 11, 2005 3:17 pm   Subject: Parsing a Line and map the Nouns in it
didn't work for me, but thanks for help

based on your idea i tried this:


#TRIGGER {*} {
#var zeile %replace( %replace( %replace( %replace( %replace( %replace( %line, " ", "|"), "."), ","), "? ...
  Topic: Parsing a Line and map the Nouns in it
gim

Replies: 9
Views: 3484

PostForum: zMUD General Discussion   Posted: Thu Aug 11, 2005 6:33 am   Subject: Parsing a Line and map the Nouns in it
alright, here we go with an example:

mud output:

Du stehst in einem grossen, schwarzen Wuerfel. Allerdings kannst du nichts
Besonderes hier entdecken, ausser einem kleinen, weissen Zettel auf d ...
  Topic: Parsing a Line and map the Nouns in it
gim

Replies: 9
Views: 3484

PostForum: zMUD General Discussion   Posted: Wed Aug 10, 2005 8:03 pm   Subject: Parsing a Line and map the Nouns in it
Hi there!

Im wondering how i can parse a whole line and add all the nouns(always with a capital letter in germany) into an array/string list. Yes, I am trying to build a quest script.

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