Author |
Message |
Topic: Problems using #forall/#loop |
Indica
Replies: 8
Views: 2986
|
Forum: zMUD General Discussion Posted: Sat Apr 02, 2005 9:06 pm Subject: Problems using #forall/#loop |
using this
#LOOP 1,10 {#EXECUTE @mob_name%i}
it still interprets the var then the %i, is what i want just not possible??? |
Topic: Problems using #forall/#loop |
Indica
Replies: 8
Views: 2986
|
Forum: zMUD General Discussion Posted: Sat Apr 02, 2005 7:43 pm Subject: Problems using #forall/#loop |
well i see whats basically happening now is this
#LOOP 1,10 {@mob_name%i}
instead of interpreting thevariable w/ the %i on the end it interprets the variable @mob_name and then the %i so it send @ ... |
Topic: Problems using #forall/#loop |
Indica
Replies: 8
Views: 2986
|
Forum: zMUD General Discussion Posted: Sat Apr 02, 2005 8:55 am Subject: Problems using #forall/#loop |
Hi,
I'm trying to use forall or loop in a context that my variables actually have a number ending w/ a number corresponding, um hard to descript but heres the code:
#FORALL @total_mobs {
... |
Topic: Trigger Problem/Question |
Indica
Replies: 2
Views: 1662
|
Forum: zMUD General Discussion Posted: Mon May 03, 2004 7:07 pm Subject: Trigger Problem/Question |
well, first of all thank you lightbulb i can now get it work, although the uniqueness was just an example we have roughly 10 different types of uniques and no two are the same, for example some unique ... |
Topic: Trigger Problem/Question |
Indica
Replies: 2
Views: 1662
|
Forum: zMUD General Discussion Posted: Mon May 03, 2004 9:39 am Subject: Trigger Problem/Question |
I'm creating a database, i have it to where it will auto-populate w/o a problem but i want to limit the items it will add, on my mud every item has a chance to be unique which is always in this format ... |
Topic: %dbget / %expanddb |
Indica
Replies: 5
Views: 1706
|
Forum: zMUD General Discussion Posted: Sat Mar 29, 2003 1:29 am Subject: %dbget / %expanddb |
and what do i do to do that????
Lets say i have 3 fields:
Name
Keyword
Value
but i only want to show Name & Keyword, how do i do that?
|
Topic: %dbget / %expanddb |
Indica
Replies: 5
Views: 1706
|
Forum: zMUD General Discussion Posted: Sat Mar 29, 2003 12:11 am Subject: %dbget / %expanddb |
is their anyway to use %dbget or %expanddb and control the output, have it in my own format, and/or only print certain fields of information
Thanx,
Indica
|
Topic: Item DB script - Nodeka |
Indica
Replies: 15
Views: 5911
|
Forum: zMUD General Discussion Posted: Fri Mar 28, 2003 5:09 am Subject: Item DB script - Nodeka |
No, @itemnum is the db numbers, my trigger:
#TRIGGER {FOUND: (&itemnum)} {#VAR itemnum %replace(@itemnum,"it",""}
thats what i use to set my itemnum, and then i also had ... |
Topic: Item DB script - Nodeka |
Indica
Replies: 15
Views: 5911
|
Forum: zMUD General Discussion Posted: Thu Mar 27, 2003 10:21 pm Subject: Item DB script - Nodeka |
yep, thanxs, still workin on showing each value of the variable seperately thou
Name: <1 value of variable>
Keyword: <1 value of variable>
Name: <2nd value of variable>
and ... |
Topic: Item DB script - Nodeka |
Indica
Replies: 15
Views: 5911
|
Forum: zMUD General Discussion Posted: Thu Mar 27, 2003 8:25 pm Subject: Item DB script - Nodeka |
how do i set each of them to the variable???
It prints <number>it|<number>it
I woud do it like this but it puts in the it's
FOUND: (&itemcount)
and i end up with <number&g ... |
Topic: Item DB script - Nodeka |
Indica
Replies: 15
Views: 5911
|
Forum: zMUD General Discussion Posted: Thu Mar 27, 2003 6:34 am Subject: Item DB script - Nodeka |
This is what i'm sending to the other window, what i want to be able to do is in the requirements and bonus only print sections if it is greater than zero.....
#WINDOW ID Name: %db(@itemnum ... |
Topic: Item DB script - Nodeka |
Indica
Replies: 15
Views: 5911
|
Forum: zMUD General Discussion Posted: Thu Mar 27, 2003 5:28 am Subject: Item DB script - Nodeka |
okay i have an alias that checks my database, and it returns: FOUND: 117it|105it 117 and 105 being the numbers in the database. How do i set them to a variable and have it print it one number, like it ... |
Topic: Item DB script - Nodeka |
Indica
Replies: 15
Views: 5911
|
Forum: zMUD General Discussion Posted: Wed Mar 26, 2003 7:59 pm Subject: Item DB script - Nodeka |
Well i understood a little bit of that, but how do i set fields from my database??
Lets say my Database has three fields: Name, Value, Class And i want it to display in window ID anything that had ... |
Topic: Item DB script - Nodeka |
Indica
Replies: 15
Views: 5911
|
Forum: zMUD General Discussion Posted: Wed Mar 26, 2003 7:34 pm Subject: Item DB script - Nodeka |
Okay, i got it working!!!!!
Is their a way to print the Value of a record and print it in a window?
Hence i use an alias lkup, and have it followed by an item name and have it print the item name on ... |
Topic: Error Message: |
Indica
Replies: 3
Views: 1308
|
Forum: zMUD General Discussion Posted: Wed Mar 26, 2003 6:32 pm Subject: Error Message: |
this happens when i try and copy/highlight something within zmud
Indica
|
Topic: Error Message: |
Indica
Replies: 3
Views: 1308
|
Forum: zMUD General Discussion Posted: Wed Mar 26, 2003 8:14 am Subject: Error Message: |
Access violation at 77D55FCC in module 'user32.dll'. Write of address 00C14C4F.
Any ideas on how to fix this?
Zmud version 6.4
Win XP Pro
|
Topic: Item DB script - Nodeka |
Indica
Replies: 15
Views: 5911
|
Forum: zMUD General Discussion Posted: Wed Mar 26, 2003 8:12 am Subject: Item DB script - Nodeka |
#CLASS {eqdb}
#ALIAS store_data {#IF !%null( %find( @newRecord.Name, All, Name)) {#YESNO "A duplicate item already exists, add anyway?" {#NOOP} {#ABORT 1}};#DBLOAD new;#NEW All @newRecord;# ... |
Topic: Item DB script - Nodeka |
Indica
Replies: 15
Views: 5911
|
Forum: zMUD General Discussion Posted: Tue Mar 25, 2003 3:13 am Subject: Item DB script - Nodeka |
Hi, I play a mud called nodeka. What I can't figure out is how to take an identify from an item and incert it into a database. Here is the output from the mud:
You chant the words, 'rlhgx hekmuehy ... |
|