| Author |
Message |
Topic: trigger for multiple mobs |
Glorida
Replies: 1
Views: 4896
|
Forum: zMUD General Discussion Posted: Wed Jun 07, 2006 1:58 am Subject: trigger for multiple mobs |
#ALIAS Target {#var GroundString %-1}
#TRIGGER {~(Target~) @GroundString is here.} {#CLASS Mobs 1;look}
#CLASS Mobs
#TRIGGER {%1 is here.} {#var Mobs {%additem(%-1,@Mobs);#alarm +1 {FindMob}}
... |
Topic: Database Problems? |
Glorida
Replies: 1
Views: 6493
|
Forum: zMUD General Discussion Posted: Wed Jun 07, 2006 1:01 am Subject: Database Problems? |
| I see a possible problem, I'm not sure if it's the entire cause, or not a cause at all, however, I'll just throw this out there.. When you #DBGET a record, it stays active in the database window, and ... |
Topic: Inventory trigger |
Glorida
Replies: 5
Views: 9229
|
Forum: zMUD General Discussion Posted: Sun Jun 04, 2006 2:50 am Subject: Inventory trigger |
| Taz is correct, I actually had written the second script a different way, before I edited my post and deleted some stuff, so %ismember is a better way in this particular case, but in my original post ... |
Topic: Inventory trigger |
Glorida
Replies: 5
Views: 9229
|
Forum: zMUD General Discussion Posted: Sun Jun 04, 2006 12:44 am Subject: Inventory trigger |
It isn't too hard, but I've been doing this a while, here's some advice for everyone: Don't give up, the help files are very handy....Anyway here goes:
#trigger {"(%w)(%d)" %3} {get %2 from pot;dro ... |
Topic: excel and zmud |
Glorida
Replies: 6
Views: 15268
|
Forum: zMUD General Discussion Posted: Sat Jun 03, 2006 9:27 pm Subject: excel and zmud |
I did some quick research, and the first option is the best, because you can send a tab character using the %char(9) function.
Here's an example of an Excel file:
#file 1 test.xls
#write 1 this%cha ... |
Topic: excel and zmud |
Glorida
Replies: 6
Views: 15268
|
Forum: zMUD General Discussion Posted: Sat Jun 03, 2006 9:16 pm Subject: Alternative |
Depending upon how you want your data to show up in the excel worksheet, you can do two separate things.
First, if you're not worried about columns, then you can simply:
#file 1 file.xls
#write 1 ... |
Topic: Blackjack Script: Complete Dealer vs Player gambling |
Glorida
Replies: 0
Views: 12217
|
Forum: Finished MUD Scripts Posted: Fri Mar 10, 2006 8:13 am Subject: Blackjack Script: Complete Dealer vs Player gambling |
#CLASS {blackjack|hit}
#TRIGGER {@player tells the group, 'hit'} {#alarm +1 {#class hit 0;#class hit1 1};gt Hitting...;hit}
#CLASS 0
#CLASS {blackjack ... |
| |