Register to post in forums, or Log in to your existing account
 
:
Search found 36 matches for:
Page 1 of 2 Goto page 1, 2  Next
Author Message
  Topic: Mouse click event in Map window with VBScript?
Medakan

Replies: 3
Views: 551

PostForum: zMUD General Discussion   Posted: Thu Oct 05, 2017 9:17 pm   Subject: Mouse click event in Map window with VBScript?
Any gurus still around that have experience using VBscript in zMUD? I am still interested in trying to figure this out.

I found in one of the manuals:

In Visual Basic, you would do something lik ...
  Topic: Time stamps in lines
Medakan

Replies: 2
Views: 319

PostForum: zMUD General Discussion   Posted: Mon Sep 18, 2017 9:07 am   Subject: Time stamps in lines
zMUD doesn't have this feature.

Make a new trigger and set pattern as ^ (This will trigger at the start of every line.)

Place this code as the trigger output: #SUB {~[%time(t)~]" " }

Will hav ...
  Topic: Highlighting copy/paste text
Medakan

Replies: 4
Views: 959

PostForum: CMUD General Discussion   Posted: Tue Aug 29, 2017 5:40 am   Subject: Highlighting copy/paste text
Yeah, I'm just starting to switch over to cMUD and trying to find this also...
  Topic: Mouse click event in Map window with VBScript?
Medakan

Replies: 3
Views: 551

PostForum: zMUD General Discussion   Posted: Sun Aug 13, 2017 1:41 am   Subject: Mouse click event in Map window with VBScript?
One interesting thing I have noticed is if I mouse click on a single room (other than current position room) and then any input via the command line clears that room highlight and places it back over ...
  Topic: Mouse click event in Map window with VBScript?
Medakan

Replies: 3
Views: 551

PostForum: zMUD General Discussion   Posted: Sun Aug 13, 2017 12:55 am   Subject: Mouse click event in Map window with VBScript?
The reason I need a mouse click event in the map window is to clear highlighted rooms (highlighted via the #PATHHIGH command) since there is no other way I can figure to remove it without a mouse clic ...
  Topic: Can't figure out the syntax error.
Medakan

Replies: 2
Views: 353

PostForum: zMUD General Discussion   Posted: Thu Aug 03, 2017 6:30 am   Subject: Can't figure out the syntax error.
Awesome Shalimar! Sometimes a second pair of eyes is what it takes. I spent hours trying to figure it out lol.

Thank you!
  Topic: Can't figure out the syntax error.
Medakan

Replies: 2
Views: 353

PostForum: zMUD General Discussion   Posted: Wed Aug 02, 2017 9:15 am   Subject: Can't figure out the syntax error.
I keep getting a syntax error in the zMUD settings window when I click on this setting. Works fine without any errors, but just wondering if anyone can tell me why.

Thanks!



#ALIAS colorWeave ...
  Topic: More than one ALIAS with same name
Medakan

Replies: 4
Views: 798

PostForum: zMUD General Discussion   Posted: Fri May 19, 2017 9:57 am   Subject: More than one ALIAS with same name

Alternatively, combine them all into one alias, and let #IFs and/or @variables define which action is performed.

If it was just for me no problem, just not as easy for the people I share this stu ...
  Topic: More than one ALIAS with same name
Medakan

Replies: 4
Views: 798

PostForum: zMUD General Discussion   Posted: Fri May 19, 2017 1:45 am   Subject: More than one ALIAS with same name
Through testing I have found that zMUD won't call more than one instance of an ALIAS. This is even the case with the special ALIAS atconnect, atdisconnect, ect... Anyone have any work arounds or alter ...
  Topic: Old Script Need Help
Medakan

Replies: 11
Views: 1485

PostForum: zMUD General Discussion   Posted: Sat May 06, 2017 10:16 am   Subject: Old Script Need Help
The reason it triggers on anyone is because of the * after the @target. (* matches anything, even spaces)

Since I bet you have no name in the target variable the * is matching any name.

Can't he ...
  Topic: Old Script Need Help
Medakan

Replies: 11
Views: 1485

PostForum: zMUD General Discussion   Posted: Sat May 06, 2017 4:29 am   Subject: Old Script Need Help
First thing I notice is the variable celdarianissexy is set to 1, this is going to have the PK alias always turn off the script by disabling the class chasetrig unless you have some way to set it to 0 ...
  Topic: zMUD script rewrite
Medakan

Replies: 8
Views: 2213

PostForum: zMUD General Discussion   Posted: Tue Jan 31, 2017 4:13 am   Subject: zMUD script rewrite
Got looplines to work with the blank condition by removing the "".

Thanks Vijilante!
  Topic: zMUD script rewrite
Medakan

Replies: 8
Views: 2213

PostForum: zMUD General Discussion   Posted: Fri Jan 27, 2017 4:39 pm   Subject: zMUD script rewrite
My version of the triggers...

* HP:Healthy MV:Fresh > look
Searching map...
Marsh Road
The road runs past an inn here, a two-story building of rough, green-veined
stone topped with p ...
  Topic: zMUD script rewrite
Medakan

Replies: 8
Views: 2213

PostForum: zMUD General Discussion   Posted: Fri Jan 27, 2017 4:34 pm   Subject: zMUD script rewrite
I place the new version of the triggers in the script and the #COND {} does not fire...

* HP:Healthy MV:Full > look
Searching map...
Marsh Road
The road runs past an inn here, a two-s ...
  Topic: zMUD script rewrite
Medakan

Replies: 8
Views: 2213

PostForum: zMUD General Discussion   Posted: Thu Jan 26, 2017 2:37 am   Subject: zMUD script rewrite
#ALIAS findMatchDesc {
#VAR findRoomByDesc {}
#FORALL @findRoomByName {#IF (%subchar(%subchar(%roomdesc(%i),%crlf,"")," |"," ...
  Topic: zMUD script rewrite
Medakan

Replies: 8
Views: 2213

PostForum: zMUD General Discussion   Posted: Wed Jan 25, 2017 11:43 pm   Subject: zMUD script rewrite
Let's fix that trigger mess to make as much as possible be automatic.
#TRIGGER "findRoomTrigger" {%e[36m{^Someone}([A-Z]*)%e[0m$} {
#T+ ...
  Topic: zMUD script rewrite
Medakan

Replies: 8
Views: 2213

PostForum: zMUD General Discussion   Posted: Mon Jan 23, 2017 6:16 pm   Subject: zMUD script rewrite
Anyone willing to share ideas and suggestions is greatly appreciated.

The original script can be found in this post: http://forums.zuggsoft.com/forums/viewtopic.php?t=38906

Background:
This scr ...
  Topic: zMUD optimization guide?
Medakan

Replies: 17
Views: 3628

PostForum: zMUD General Discussion   Posted: Fri Jan 13, 2017 3:04 pm   Subject: zMUD optimization guide?
This seems to work well for coloring an entire line using the MXP wrapping:

#FUNCTION testMXPcolor {<color %1>%2</color>}
#SHOW {@testMXPcolor(colorName,Line to be colored text goes he ...
  Topic: zMUD optimization guide?
Medakan

Replies: 17
Views: 3628

PostForum: zMUD General Discussion   Posted: Fri Jan 13, 2017 2:45 am   Subject: zMUD optimization guide?
Vijilante,

I reworked this script with what I thought you meant by using #FUNCTION to wrap the MXP tags.
I added extra triggers to turn trackLineTrigger on/off just as an example of how I usually ...
  Topic: zMUD optimization guide?
Medakan

Replies: 17
Views: 3628

PostForum: zMUD General Discussion   Posted: Wed Jan 11, 2017 9:07 pm   Subject: zMUD optimization guide?
If anyone has any more to add to any of the discussion in the above posts please feel free to contribute.

I am going to take all of the things I am learning and apply them to my script collection p ...
  Topic: zMUD optimization guide?
Medakan

Replies: 17
Views: 3628

PostForum: zMUD General Discussion   Posted: Wed Jan 11, 2017 4:52 am   Subject: zMUD optimization guide?
Thank you Vijilante, more great information. I plan on re-writing that script so any other suggestions are very welcomed.

Generally you should not create complex settings from within a script. Even ...
  Topic: zMUD optimization guide?
Medakan

Replies: 17
Views: 3628

PostForum: zMUD General Discussion   Posted: Mon Jan 09, 2017 10:13 pm   Subject: zMUD optimization guide?
Good information, Thanks Vijilante!

Can you explain notrig a bit more?
I notice that #ONINPUT triggers automatically default with the notrig option where normal trigger do not.
You say above that ...
  Topic: zMUD optimization guide?
Medakan

Replies: 17
Views: 3628

PostForum: zMUD General Discussion   Posted: Sun Jan 08, 2017 2:43 pm   Subject: zMUD optimization guide?
Thanks for joining the conversation Vijilante. Thanks for catching that, I misread that post originally. So #trigger and #regex performance are the same, right?

Since it doesn't sound like there is ...
  Topic: zMUD optimization guide?
Medakan

Replies: 17
Views: 3628

PostForum: zMUD General Discussion   Posted: Sun Jan 08, 2017 6:27 am   Subject: zMUD optimization guide?
Here is a great example of what I am talking about: http://forums.zuggsoft.com/forums/viewtopic.php?p=79739

Pay particular attention to Zugg's responses and how he describes how Zscript triggers ar ...
  Topic: zMUD optimization guide?
Medakan

Replies: 17
Views: 3628

PostForum: zMUD General Discussion   Posted: Sat Jan 07, 2017 9:56 pm   Subject: zMUD optimization guide?
I have spent 100+ hours reading and searching the forums in just the last year and I want to thank you Shalimar. You have tried to answer and help on almost every recent post. Truly, thanks for contin ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net