Author |
Message |
Topic: API and IRE |
Edogg
Replies: 6
Views: 15519
|
Forum: CMUD General Discussion Posted: Sun Dec 04, 2016 3:14 am Subject: API and IRE |
this works but is not the best, sorry I really don't know lua:
make an alias called whois
then put this in the body:
#var player %1
#var hyperlink "http://api.imperian.com/characters/"@player".jso ... |
Topic: API and IRE |
Edogg
Replies: 6
Views: 15519
|
Forum: CMUD General Discussion Posted: Wed Nov 09, 2016 3:33 am Subject: API and IRE |
Sorry Dyron been plenty busy,
As for the alias just create one named whois then put the additional line #var player %1 (player can be whatever you want to label it), then replace the name in the hype ... |
Topic: API and IRE |
Edogg
Replies: 6
Views: 15519
|
Forum: CMUD General Discussion Posted: Sat Oct 08, 2016 2:42 am Subject: API and IRE |
Notice the use of ~ in #script to bypass the typical zscript syntax
#script {strHTML = ~"~"}
#script {Sub getHTML:Set objHTTP = CreateObject~(~"MSXML2.ServerXMLHTTP~"):objHTTP.Open ~"GET~", ~"http ... |
Topic: API and IRE |
Edogg
Replies: 6
Views: 15519
|
Forum: CMUD General Discussion Posted: Sat Oct 01, 2016 3:42 pm Subject: API and IRE |
http://forums.zuggsoft.com/forums/viewtopic.php?t=12115 |
Topic: Using a Multi Word - String List variable Trigger |
Edogg
Replies: 12
Views: 28339
|
Forum: zMUD General Discussion Posted: Sat Feb 20, 2016 4:52 pm Subject: Using a Multi Word - String List variable Trigger |
change your trigger to a regular expression
#CLASS {SubsnColors}
#VAR rankgear {a jeweled wristcuff|a pair of steel-plated greaves|a heron marked blade}
#REGEX {@rankgear} {#CW darkmagenta}
#CLA ... |
Topic: Script to replace a word with a randomly generated phrase |
Edogg
Replies: 2
Views: 5728
|
Forum: CMUD General Discussion Posted: Sun Jan 03, 2016 5:05 pm Subject: Script to replace a word with a randomly generated phrase |
make a string list variable to hold the certain words like "curse":
#var cursewords {curse1|curse2|etc}
make a trigger (make it a regular expression trigger):
#trigger {@cursewords} {#VAR replace ... |
Topic: Capture a Twitter feed into a zMUD window |
Edogg
Replies: 2
Views: 7874
|
Forum: zMUD General Discussion Posted: Sun Dec 20, 2015 4:07 pm Subject: Capture a Twitter feed into a zMUD window |
#script {strHTML = ~”~”} #script {Sub getHTML:Set objHTTP = CreateObject~(~”MSXML2.ServerXMLHTTP~”):objHTTP.Open ~”GET~”, ~”http:~/~/www.twittergoes here.com?%time( hhnnss)~”, ~”FALS ... |
Topic: Maleficarum Counter |
Edogg
Replies: 3
Views: 10085
|
Forum: zMUD General Discussion Posted: Fri Apr 26, 2013 8:50 pm Subject: Maleficarum Counter |
#CLASS {Maleficarum Counter}
#VAR rootcounter {}
#VAR TotalRoots {}
#TRIGGER {You take (*) of a maleficarum root} {
#var rootcounter %1
#MATH TotalRoots (@TotalRoots+@rootcounter)
}
#TRIG ... |
Topic: Help with Zmud to Cmud conversion |
Edogg
Replies: 8
Views: 13663
|
Forum: CMUD General Discussion Posted: Fri Jul 06, 2012 7:57 pm Subject: Help with Zmud to Cmud conversion |
I believe the only thing wrong with the buttons is the colors didnt import. After fixing that, Ive tested the buttons and they do work so it must be the trigger. Maybe you have another idea? Thanks fo ... |
Topic: Help with Zmud to Cmud conversion |
Edogg
Replies: 8
Views: 13663
|
Forum: CMUD General Discussion Posted: Fri Jun 22, 2012 6:06 pm Subject: Help with Zmud to Cmud conversion |
The compass on Zmud does not account for closed doors, but it does show the exit (which is annoying). I would like it to show the exit with some sort of indication that its closed.
As far as Cmud, th ... |
Topic: Help with Zmud to Cmud conversion |
Edogg
Replies: 8
Views: 13663
|
Forum: CMUD General Discussion Posted: Thu Jun 21, 2012 11:58 pm Subject: Help with Zmud to Cmud conversion |
Ok I still can't get your two examples to work in either Zmud or Cmud. Here is the entire script:
The trigger for this is based off of: Visible Exits: (W) U D Ne Se where (W) is a closed door
#VA ... |
Topic: Help with Zmud to Cmud conversion |
Edogg
Replies: 8
Views: 13663
|
Forum: CMUD General Discussion Posted: Sun Jun 17, 2012 2:56 pm Subject: Help with Zmud to Cmud conversion |
The entire code is pasted under Zmud general discusions under compass on the second page. It must be something else because those two examples didnt work (also tried on Zmud and it made it so the comp ... |
Topic: Help with Zmud to Cmud conversion |
Edogg
Replies: 8
Views: 13663
|
Forum: CMUD General Discussion Posted: Thu Jun 14, 2012 4:41 pm Subject: Help with Zmud to Cmud conversion |
I made a compass that worked perfectly fine in Zmud, but it does nothing in Cmud.
#REGEX {Visible Exits: (.*)} {
compassdirections = ""
#fo {N|Ne|E|Se|S|Sw|W|Nw|U|D} {#if %regex( "%concat(%1,%2)" ... |
Topic: Compass |
Edogg
Replies: 7
Views: 13727
|
Forum: zMUD General Discussion Posted: Wed Oct 26, 2011 4:40 pm Subject: Compass |
I guess I should have been a little more specific. It captures it into a window I made but it also captures everything after (from the main window) and everthing from all other windows (tells, clan ta ... |
Topic: Compass |
Edogg
Replies: 7
Views: 13727
|
Forum: zMUD General Discussion Posted: Wed Oct 26, 2011 2:52 am Subject: Compass |
That worked! Can I get a lesson on how to capture please? |
Topic: Compass |
Edogg
Replies: 7
Views: 13727
|
Forum: zMUD General Discussion Posted: Tue Oct 25, 2011 1:38 am Subject: Compass |
There is a syntax error and I cant figure it out. This is for zmud right? |
Topic: Compass |
Edogg
Replies: 7
Views: 13727
|
Forum: zMUD General Discussion Posted: Sat Oct 22, 2011 11:47 pm Subject: Compass |
Im trying to make a zmud compass and this is what the mud has to trigger off of:
Room Description - - NE
(----------------------------- ... |
|