Author |
Message |
Topic: How do I capture a command in the History to a variable |
MCrews17
Replies: 1
Views: 5666
|
Forum: CMUD General Discussion Posted: Thu Mar 27, 2014 1:13 pm Subject: How do I capture a command in the History to a variable |
I'm trying to capture the last command from the history to a variable?
Can ( !, #history, #h+, #h- ) be stored as a variables? |
Topic: I need help about CMUD |
MCrews17
Replies: 2
Views: 5107
|
Forum: CMUD General Discussion Posted: Thu Mar 27, 2014 1:29 am Subject: I need help about CMUD |
A lot of muds if not all of them have the same basic commands. You need to start by creating a character in the Mud you want to play. Once your able to get logged on and begin, the game may decide t ... |
Topic: Global variables and loops |
MCrews17
Replies: 7
Views: 8301
|
Forum: CMUD General Discussion Posted: Fri Mar 21, 2014 12:45 am Subject: Global variables and loops |
Ok, thanks Daern. I found the syntax on a [url=http://forums.zuggsoft.com/forums/viewtopic.php?p=169824]previous post for #waitfor.
#waitfor {{match1|match2|match3...}} 10000 {command} |
Topic: Global variables and loops |
MCrews17
Replies: 7
Views: 8301
|
Forum: CMUD General Discussion Posted: Thu Mar 20, 2014 12:14 am Subject: Global variables and loops |
Oh, sure. It is a script I use to identify items. It waits 8 sec, then it keeps trying to identify the item until it succeeds.
I tried the #waitfor and it works great. Thanks! I'm still kind ... |
Topic: mxp and ansi |
MCrews17
Replies: 2
Views: 4304
|
Forum: CMUD General Discussion Posted: Wed Mar 19, 2014 4:01 am Subject: mxp and ansi |
I ran into problems with ansi codes in string lists. Have you tried %stripansi() ? |
Topic: Global variables and loops |
MCrews17
Replies: 7
Views: 8301
|
Forum: CMUD General Discussion Posted: Wed Mar 19, 2014 3:51 am Subject: Global variables and loops |
Running into trouble with this:
#VAR IdentifyWait 8000
#ALIAS QuickID($ITEM) {
swQuickID=1
#WHILE (@swQuickID=1) {
identify $ITEM
#WAIT @IdentifyW ... |
Topic: Combat trigger help |
MCrews17
Replies: 4
Views: 7651
|
Forum: CMUD General Discussion Posted: Mon Nov 25, 2013 11:13 pm Subject: Combat trigger help |
Try copy this code and paste it notepad.exe then copy and paste from there into your command line.
It should open up a simulation.
Enjoy!
-Matt
//QUICK COMBAT SYSTEM
//Using a quick menu ... |
Topic: Does anybody know any tricks for the #WINDOW command? |
MCrews17
Replies: 2
Views: 5805
|
Forum: CMUD General Discussion Posted: Mon Nov 25, 2013 10:06 pm Subject: Special Characters using %char() |
If your wondering where to get the special %char() codes I reference a DOS Ascii chart and it seems to work fine.
http://www.asciitable.com/
The first 32 codes have special values, anything after ... |
Topic: Does anybody know any tricks for the #WINDOW command? |
MCrews17
Replies: 2
Views: 5805
|
Forum: CMUD General Discussion Posted: Mon Nov 25, 2013 9:48 pm Subject: Does anybody know any tricks for the #WINDOW command? |
There seem to be a lot of hidden codes for the #WINDOW command
I found a really cool one that allows you to create 'click window'
//Here's my snippet:
//-------------------
#CLR Quick-Menu
... |
Topic: Organizing routines, any ideas? |
MCrews17
Replies: 1
Views: 3339
|
Forum: CMUD General Discussion Posted: Sun Jan 29, 2012 8:58 pm Subject: Organizing routines, any ideas? |
I'm trying to think of a way to create custom timers for various tasks.
I was hoping to organize them like you would use TYPES in Basic, storing each timer into it's own array.
TYPE timertype
... |
Topic: Making sense of Packages, Sessions, and Classes |
MCrews17
Replies: 13
Views: 17885
|
Forum: CMUD General Discussion Posted: Thu Jan 26, 2012 5:18 am Subject: Making sense of Packages, Sessions, and Classes |
I'm using shared packages like Rahab is talking about, yet have run into lots of unexpected dilemmas. I use a lot of class folders to keep all of it sorted out. The #CLASS command can be useful in y ... |
Topic: #capture command |
MCrews17
Replies: 3
Views: 5050
|
Forum: CMUD General Discussion Posted: Thu Jan 26, 2012 4:56 am Subject: #capture command |
Okay, that does the trick! Thanks guys! |
Topic: #capture command |
MCrews17
Replies: 3
Views: 5050
|
Forum: CMUD General Discussion Posted: Tue Jan 24, 2012 5:35 pm Subject: #capture command |
Does anybody know of any commands that I can use to scan through multiple lines of output?
ie:
(I'm trying to capture the items below into an array.)
Your Have: item1, item2, item3, etc., ... ... |
|