Register to post in forums, or Log in to your existing account
 
:
Search found 48 matches for:
Page 1 of 2 Goto page 1, 2  Next
Author Message
  Topic: Cross checking multiple variables
Einder

Replies: 3
Views: 10144

PostForum: zMUD General Discussion   Posted: Sun Sep 18, 2016 11:25 am   Subject: Cross checking multiple variables
The simplest way to do what you want, as far as matching goes, is #IF (%ismember(%1,@var1|@var2|@var3|@var4)) {do some nonsense} {do some other nonsense}. I use this to block certain things from going ...
  Topic: Using Variable in a FORALL statement
Einder

Replies: 6
Views: 14407

PostForum: zMUD General Discussion   Posted: Wed Sep 14, 2016 10:37 am   Subject: Using Variable in a FORALL statement
If your trying to execute them consecutively, I think #loop is what you want, you can check out this post: http://forums.zuggsoft.com/forums/viewtopic.php?t=9948 to find out more about it
  Topic: Using Variable in a FORALL statement
Einder

Replies: 6
Views: 14407

PostForum: zMUD General Discussion   Posted: Wed Sep 14, 2016 7:55 am   Subject: Using Variable in a FORALL statement
You don'at have your forall statement adding anything to draglista. It should look more like

#IF (@DRAGLISTa="") {#FORALL @DRAGTEMPDIRECTION2 {DRAGLISTa=%additem(%i, ...
  Topic: Using a Multi Word - String List variable Trigger
Einder

Replies: 12
Views: 25293

PostForum: zMUD General Discussion   Posted: Tue Jul 26, 2016 7:06 am   Subject: Using a Multi Word - String List variable Trigger
try
({@rankgear})

I use a lot of different string lists through variables in my zMud coding, simply because it's easier to add or delete without changing an entire trigger.
...
  Topic: speed menus
Einder

Replies: 9
Views: 17805

PostForum: zMUD General Discussion   Posted: Mon Jul 25, 2016 10:15 am   Subject: speed menus
In zMud with the mapper, you can always update the room your in with #find. I use it to trigger certain room updates such as stepping through PC created portals. It auto-loads the new room info as lon ...
  Topic: Some triggers fire, some don't..
Einder

Replies: 2
Views: 8226

PostForum: zMUD General Discussion   Posted: Mon Nov 24, 2014 11:43 am   Subject: Some triggers fire, some don't..
without seeing the exact prompting I can't say why exactly this is failing, but you could try

#TRIG {tells you 'heal %w} {cast 'heal' %1} and see if it works better. The () shouldn't be needed.
...
  Topic: is not in a variable trigger
Einder

Replies: 2
Views: 9403

PostForum: zMUD General Discussion   Posted: Sun Nov 23, 2014 11:15 am   Subject: is not in a variable trigger
I don't know regex, but guess I will need to learn it :S

As far as the if command, I'm not quite sure how I would write it. I keep thinking I would have to use several of them instead of one.

Th ...
  Topic: is not in a variable trigger
Einder

Replies: 2
Views: 9403

PostForum: zMUD General Discussion   Posted: Thu Nov 20, 2014 4:19 am   Subject: is not in a variable trigger
I've tried searching the forums for this, but haven't seen anything on it. As well the help files don't say anything at all about it. What I'm tringing to do is use a trigger with a variable, only ins ...
  Topic: Help with Kill Script
Einder

Replies: 4
Views: 13318

PostForum: zMUD General Discussion   Posted: Fri Aug 08, 2014 6:11 am   Subject: Help with Kill Script
How does a multistate trigger work in an alias like this? or in general for that matter. The help file is confusing on the subject
  Topic: Help with Kill Script
Einder

Replies: 4
Views: 13318

PostForum: zMUD General Discussion   Posted: Wed Aug 06, 2014 4:24 am   Subject: Help with Kill Script
This is not a bot script. It's a simple edit of my kill command.

As well I know bots are illegal in most all mud's. Though I do know that the definition of a bot varies from mud to mud.

All thi ...
  Topic: Help with Kill Script
Einder

Replies: 4
Views: 13318

PostForum: zMUD General Discussion   Posted: Tue Aug 05, 2014 10:10 am   Subject: Help with Kill Script
I've been working on creating an alias that executes a series of commands. Unfortunately when I try to set the trigger to get the mob name for remove a spell affection, I end up with the last mob in t ...
  Topic: just a question
Einder

Replies: 0
Views: 4133

PostForum: zMUD General Discussion   Posted: Fri Aug 17, 2012 3:49 am   Subject: just a question
I was wondering if anyone had a generic copy of the Hunter Bot that use to be in the finished scripts section. I know I've mentioned
the script before, but I read in the finished scripts section that ...
  Topic: automapper not seeming to work
Einder

Replies: 3
Views: 9048

PostForum: zMUD General Discussion   Posted: Mon Aug 06, 2012 10:31 pm   Subject: automapper not seeming to work
I just used to the default settings for it, I haven't set up anything extra..no #TAGs or anything like that, and my mud is Realm of Magic.
  Topic: automapper not seeming to work
Einder

Replies: 3
Views: 9048

PostForum: zMUD General Discussion   Posted: Wed Aug 01, 2012 10:18 pm   Subject: automapper not seeming to work
I've been trying to map a few zones lately and it seems that the automapper is unable to detect roomname and descriptions to put into the maps.

To elaborate a bit, when I use the auto configure, it ...
  Topic: using %mapquery and %replace not working
Einder

Replies: 2
Views: 6502

PostForum: zMUD General Discussion   Posted: Wed Aug 01, 2012 9:23 pm   Subject: using %mapquery and %replace not working
What you suggested:

%mapquery( "[Name] = '"%replace(%-1, "'", "''")"'")

Was returning that the room didn't exist in the database ...
  Topic: using %mapquery and %replace not working
Einder

Replies: 2
Views: 6502

PostForum: zMUD General Discussion   Posted: Wed Aug 01, 2012 8:39 pm   Subject: using %mapquery and %replace not working
Well, what I am trying to do is use %replace in an alias that looks up room names in my maps. What I currently have is:

%mapquery( "[Name] = '%replace(%-1, "'", " ...
  Topic: Help with combat bot. Having trouble getting it to stop moving when its ment to.
Einder

Replies: 3
Views: 9500

PostForum: zMUD General Discussion   Posted: Wed Aug 01, 2012 8:23 pm   Subject: Help with combat bot. Having trouble getting it to stop moving when its ment to.
Instead of using #if (@mobs=%null) {#RESUME a1} {#SUSPEND a1;kill student} try just using #suspend;kill student. Then when you get Alas, an Acme student is dead! R.I.P. you can use #resume to continu ...
  Topic: Current version to run under wine / ubuntu ?
Einder

Replies: 8
Views: 17035

PostForum: zMUD General Discussion   Posted: Wed Aug 01, 2012 8:18 pm   Subject: Current version to run under wine / ubuntu ?
Under wine 1.4 you can just install it and it runs fine..if you wish to use the mapper and such though you will also have to use winetricks and install mdac and jet40. Then you can fully utilize zMud ...
  Topic: Maps To Variable Database Script
Einder

Replies: 4
Views: 10152

PostForum: zMUD General Discussion   Posted: Wed Jan 04, 2012 11:28 pm   Subject: Maps To Variable Database Script
When running multiple searches it's easier to search the database then it is my maps.

and yes Progonoi, this is zMud not cMud.
  Topic: Maps To Variable Database Script
Einder

Replies: 4
Views: 10152

PostForum: zMUD General Discussion   Posted: Wed Jan 04, 2012 3:32 pm   Subject: Maps To Variable Database Script
So I took out the first null check, and the script now looks like this:

#LOOP %numrooms {
MVnum = %mapvnum( %i)
#if (%roomname( @mvnum) & %roomcost( @mvnum ...
  Topic: Characters missing after re-registration
Einder

Replies: 8
Views: 16212

PostForum: zMUD General Discussion   Posted: Mon Jan 02, 2012 5:02 am   Subject: Characters missing after re-registration
have you tried just copying the old chardb.db over the new one? not replace everything, only the one file? If it's still getting overwritten it might be something to do with the permissions set on the ...
  Topic: Maps To Variable Database Script
Einder

Replies: 4
Views: 10152

PostForum: zMUD General Discussion   Posted: Fri Dec 30, 2011 8:44 am   Subject: Maps To Variable Database Script
I'm currently working on a script to convert maps to variable databases, so that I can add to it later with minimal effort. The script seems right, however it doesn't work. Can anyone help me with thi ...
  Topic: ToDo List/Notepad
Einder

Replies: 0
Views: 8728

PostForum: Finished MUD Scripts   Posted: Fri Dec 30, 2011 5:11 am   Subject: ToDo List/Notepad
This script was created to be used as a todo list/notepad for Zmud. It has been fully tested and works perfectly in Zmud 7.21.

addnote <text>: adds your note
delnote #: deletes the note
com ...
  Topic: random quest script help
Einder

Replies: 4
Views: 8289

PostForum: zMUD General Discussion   Posted: Thu Dec 29, 2011 7:36 pm   Subject: random quest script help
hmm, your way worked but was rather slow, found a way to do it using math though which is much quicker, ty for your help
  Topic: random quest script help
Einder

Replies: 4
Views: 8289

PostForum: zMUD General Discussion   Posted: Tue Dec 27, 2011 6:55 pm   Subject: random quest script help
My percent completed track is working just fine, and I've got the piece of code for the next whole percent, the trouble I'm having now is tracking the number of quests needed to get to that next perce ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net