Register to post in forums, or Log in to your existing account
 
:
Search found 17 matches for:
Page 1 of 1
Author Message
  Topic: Lowest value in a given list?
Drevarr

Replies: 7
Views: 9152

PostForum: CMUD General Discussion   Posted: Sat May 26, 2007 2:38 pm   Subject: Lowest value in a given list?
Here is a solution if you still want to use two stringlists, one containing names and the other containing the names hitpoints. The following should do the trick:
Example StringLists:
#VAR groupname ...
  Topic: importing excel table, to database
Drevarr

Replies: 3
Views: 5563

PostForum: zMUD General Discussion   Posted: Mon Mar 10, 2003 1:10 am   Subject: importing excel table, to database
Export your Excel file to a Tab or Comma delimited text file.
Open the Zmud database module, create a new database with four fields (Rune, Type, Literal, Interpretation).
Import your Tab or Comma d ...
  Topic: capture group status to window
Drevarr

Replies: 12
Views: 14746

PostForum: zMUD General Discussion   Posted: Thu Jan 02, 2003 1:36 am   Subject: capture group status to window
Yup, LightBulb is correct, 4 digit hitpoints don't have a space. I accounted for it in the leader trigger but not subsequent group members.

This should fix and allow for group members not in the ro ...
  Topic: capture group status to window
Drevarr

Replies: 12
Views: 14746

PostForum: zMUD General Discussion   Posted: Wed Jan 01, 2003 6:08 pm   Subject: capture group status to window
#TRIGGER {&Name~%s~[&curhp/&maxhp hp%s&curma/&maxma m%s&curmv/&maxmv mv~]} {#ADDITEM group %1;#window {Group Status} {%1: %4 / %5}} "GroupCap"
#TRIGGER {^$} {#T- ...
  Topic: how to create mass aliases
Drevarr

Replies: 5
Views: 5320

PostForum: zMUD General Discussion   Posted: Mon Dec 30, 2002 7:37 pm   Subject: how to create mass aliases
Assuming you have a title for ever level, you could use a string list to get the job done.

#VAR Lname {Knight of One|Knight of Two|Knight of Three|Knight of Four|Knight of Five|Knight of Six}
#TRI ...
  Topic: 6.40 buggy for laptops
Drevarr

Replies: 1
Views: 3243

PostForum: zMUD General Discussion   Posted: Sat Dec 28, 2002 5:17 am   Subject: 6.40 buggy for laptops
check prefs|general
uncheck the auto numlock


  Topic: trigger or something
Drevarr

Replies: 6
Views: 6030

PostForum: zMUD General Discussion   Posted: Fri Dec 20, 2002 5:46 am   Subject: trigger or something
You'll need to populate the stringlist @FoodStuff with the common food items you tend to carry around in your bag.

#CLASS {AutoEat}
#CLASS 0
#VAR FoodStuff {meat|soup|eggs}
#VAR fed {1}
#TRIGGE ...
  Topic: Pattern Matching - Fixed Length String
Drevarr

Replies: 4
Views: 6886

PostForum: zMUD General Discussion   Posted: Fri Dec 20, 2002 4:30 am   Subject: Pattern Matching - Fixed Length String
#trigger {([XA])} {#if %len( %1)=13 {#Show Matched the line}}

  Topic: help
Drevarr

Replies: 2
Views: 3301

PostForum: zMUD General Discussion   Posted: Tue Oct 08, 2002 3:53 am   Subject: help
Here is a method using the keypad, you could disable your current keypad class and enable testmove when you needed it. I use something close to this when I board a ship to sail. Hope this helps or spa ...
  Topic: Status bar-Room Exits
Drevarr

Replies: 18
Views: 17080

PostForum: zMUD General Discussion   Posted: Tue Sep 24, 2002 2:47 am   Subject: Status bar-Room Exits
Here is a clickable solution using buttons. Every time you get the exit line it will #unbutton the previous buttons and then create a new set of buttons based on the new list of exits.

Pattern:
Ob ...
  Topic: Database Variables
Drevarr

Replies: 2
Views: 3370

PostForum: zMUD General Discussion   Posted: Sat Aug 17, 2002 5:42 am   Subject: Database Variables
Try %query and #DBPUT

I use this to update records that match by name and weight, if it doesn't match I create a new record.

#ALIAS SetID_DB {#VAR dbCompare %query(((&Name=@objectname)&( ...
  Topic: Keypad movement vs. New movement
Drevarr

Replies: 8
Views: 9090

PostForum: zMUD General Discussion   Posted: Sat Aug 17, 2002 4:28 am   Subject: Keypad movement vs. New movement
Move your current movement macros to a class and then create new party macros in another class. Once you've got it set up you can turn each class on/off as requried.

Something like this:
#CLASS {N ...
  Topic: auto reroll
Drevarr

Replies: 1
Views: 3292

PostForum: zMUD General Discussion   Posted: Fri Aug 16, 2002 5:04 pm   Subject: auto reroll
#VAR Stat_Total {0}
#VAR Stat_Count {0}
#TRIGGER {Roll number: %d = (%d)} {#if (%1>17) {#ADD Stat_Count 1};#ADD Stat_Total %1} "RollStats"
#TRIGGER {-=-*-=-=-=-=**=-=-=-=-*-=-} {#if (@ ...
  Topic: words()
Drevarr

Replies: 4
Views: 4348

PostForum: zMUD General Discussion   Posted: Sun Jul 21, 2002 1:42 am   Subject: words()
Based on your pattern: You hit for (%d) points of damage to ({Head|Head (Rear)|Right Torso|Right Torso (Rear)})

#VAR HIT_DAM %1
#VAR HIT_LOC %item(H|HR|RT|RTR,%ismember(%2,"Head|Head (Rear)|R ...
  Topic: Converting ANSI to HTML?
Drevarr

Replies: 65
Views: 71295

PostForum: zMUD General Discussion   Posted: Sat Jun 29, 2002 8:06 am   Subject: Converting ANSI to HTML?
easy command line converter I've been using for a while created by Deathlok is available here: http://www.thefiresauce.com/ansi.zip

It is not perfect, but it gets the job done.

  Topic: %read help
Drevarr

Replies: 5
Views: 5025

PostForum: zMUD General Discussion   Posted: Fri Apr 05, 2002 8:59 pm   Subject: %read help
#alias findkey {
#file 1 My_Paths.txt
#gag
#var check %grep(1, "^%1")
#if %null(@check) {#show No Match Found!}{
#show Items Matching Search
#FORALL @check {#show %i
}
#close 1
#gag ...
  Topic: How to trigger off of a missing line?
Drevarr

Replies: 4
Views: 5804

PostForum: zMUD General Discussion   Posted: Wed Dec 19, 2001 4:54 am   Subject: How to trigger off of a missing line?
#ALIAS gs {#T+ Glance;#var has_stone 0;#var stone_tar %1;glance %1}
#TRIGGER {%w body seems to be made of stone!} {#var has_stone 1} "Glance"
#TRIGGER {No-one by that name here.} {#var has ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net