Register to post in forums, or Log in to your existing account
 
:
Search found 9 matches for:
Page 1 of 1
Author Message
  Topic: Database stuff
dguevara

Replies: 6
Views: 10708

PostForum: CMUD General Discussion   Posted: Mon Oct 05, 2009 7:28 pm   Subject: Database stuff
thanks a lot for the reply, I am a bit confused on how this work still

Shouldnt that code only show items that equal proc on the column name?

Im looking for something similar to using a filter o ...
  Topic: Database stuff
dguevara

Replies: 6
Views: 10708

PostForum: CMUD General Discussion   Posted: Fri Oct 02, 2009 8:27 pm   Subject: Database stuff
My database is reduced to 2 columns
name
proc

value inside proc is "proc" or ""



#dbload du
$querystring = %concat("&proc ='","proc","'")
#show $querystring
#show %query($querystring ...
  Topic: forums search
dguevara

Replies: 1
Views: 3312

PostForum: CMUD General Discussion   Posted: Fri Oct 02, 2009 6:56 pm   Subject: forums search
is there any way to restrict searches to a specific forum section? it is very difficult to search for something when you keep being sent to zmud stuff or to posts so old that they belong to beta versi ...
  Topic: Database stuff
dguevara

Replies: 6
Views: 10708

PostForum: CMUD General Discussion   Posted: Fri Oct 02, 2009 6:49 pm   Subject: Database stuff
So i have an equipment database with a couple of fields

name = text saved in ansi
stats = text

Im trying to query the database using

#query
#find

but there is so little documentation on ...
  Topic: regex case insensitive?
dguevara

Replies: 3
Views: 5622

PostForum: CMUD General Discussion   Posted: Sat Aug 29, 2009 9:08 pm   Subject: regex case insensitive?
ill make the example clearer

#if ( %regex("A Thri-Kreen","A thri-kreen")) {


}
#if ( %match("A Thri-Kreen","A thri-kreen")) {


these 2 match positive
  Topic: regex case insensitive?
dguevara

Replies: 3
Views: 5622

PostForum: CMUD General Discussion   Posted: Sat Aug 29, 2009 7:16 pm   Subject: regex case insensitive?
%ismember and %regex are case insensitive or am i doing something wrong?


$testing = %ismember(%1,$scanTargets);
#if ( $testing ) {
#if ( %match(%item($scanTargets,$testing),%1)) {

#say % ...
  Topic: Multiple Characters
dguevara

Replies: 8
Views: 9140

PostForum: CMUD General Discussion   Posted: Wed Oct 08, 2008 9:13 pm   Subject: Multiple Characters
I use a different approach, Using the same package i just organize classes for characters and use a multistate button to select the one im playing, so i have a general class for everything i want to r ...
  Topic: Cmud help
dguevara

Replies: 3
Views: 5377

PostForum: CMUD General Discussion   Posted: Wed Oct 08, 2008 8:37 pm   Subject: Cmud help
Thanks a lot for helping, yeah I assumed that when the api talked about "pattern" it would accept a regex inside.

My goal is to make a equipment database class, that captures when active the outpu ...
  Topic: Cmud help
dguevara

Replies: 3
Views: 5377

PostForum: CMUD General Discussion   Posted: Wed Oct 08, 2008 5:05 pm   Subject: Cmud help
Hi, im trying to set up a simple trigger but im running into troubles on how the regex is implemented in zscript


#echo test %match("a","a"|"b");
#echo test ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net