Ok, so when i used MUSH i had all of my scripts in a folder, and set my working directory to that folder so that I could
require "file"
and it would load that script.
Now I'm on mudlet with linux... any tips on replicating this?
Search found 701 matches
- Wed Mar 17, 2010 5:54 am
- Forum: Help Forum
- Topic: External Scripts
- Replies: 3
- Views: 3278
- Sun Mar 14, 2010 9:29 pm
- Forum: Help Forum
- Topic: Failed import of system.
- Replies: 3
- Views: 2950
Re: Failed import of system.
ok, i cheated!
Took the latest auto-save of the package, left in the host information, then copy/pasted all the other information from my backup, and it loaded properly!
Mudlet must not like to load from genericpackage?
Took the latest auto-save of the package, left in the host information, then copy/pasted all the other information from my backup, and it loaded properly!
Mudlet must not like to load from genericpackage?
- Sun Mar 14, 2010 9:24 pm
- Forum: Help Forum
- Topic: Failed import of system.
- Replies: 3
- Views: 2950
Re: Failed import of system.
Ok, I also tried taking that file and dropping into the profiles folder under .config/mudlet then manually loading that entry... no luck.
- Sun Mar 14, 2010 9:21 pm
- Forum: Help Forum
- Topic: Failed import of system.
- Replies: 3
- Views: 2950
Failed import of system.
Ok, so I had to reinstall my OS to fix a problem with crashing. Before I wiped my machine I exported my entire system using "save as" and dropped it onto a flash drive. I get kubuntu up and working, install mudlet 1.1.0 with no problems, and proceed to import my system... to no avail. Basi...
- Fri Mar 12, 2010 1:21 am
- Forum: Help Forum
- Topic: Defending Triggers in Midkemia Online
- Replies: 6
- Views: 4534
Re: Defending Triggers in Midkemia Online
Also, just for a bit of variety, I'd use this for your first trigger:
^[A-Z][a-z]+ strikes out at you powerfully\.$
I'm a bit of a perfectionist, and this will make sure that the line uses a capitalized player name. I do this uniformly through my custom system to match player names.
^[A-Z][a-z]+ strikes out at you powerfully\.$
I'm a bit of a perfectionist, and this will make sure that the line uses a capitalized player name. I do this uniformly through my custom system to match player names.
- Fri Mar 12, 2010 1:15 am
- Forum: Help Forum
- Topic: Defending Triggers in Midkemia Online
- Replies: 6
- Views: 4534
Re: Defending Triggers in Midkemia Online
I'd use ((?:\w+) )+ to capture the group rather than the individual word. Although, ([a-zA-Z ]+) would also work, so it's a matter of taste. Edit: Vadi's way would certainly capture the group, by the way. It would just also capture each word within the group, which is inefficient. It also has a side...
- Sun Mar 07, 2010 10:23 pm
- Forum: Mudlet Development
- Topic: Feature Request: Client-side MXP coloring
- Replies: 7
- Views: 5259
Re: Feature Request: Client-side MXP coloring
Ah, the bug would explain why I couldn't get any output (confirmed by running your code verbatim with a failure on appendBuffer()).
Any idea when the pre2 comes out?
Any idea when the pre2 comes out?
- Sun Mar 07, 2010 5:25 pm
- Forum: Mudlet Development
- Topic: Feature Request: Client-side MXP coloring
- Replies: 7
- Views: 5259
Re: Feature Request: Client-side MXP coloring
Cool, this might work, but I'm having a bit of trouble getting it actually print to screen.
Think you could give me a quick example to create, print to and display a named buffer?
Also, perhaps, to append that buffer into a string if possible?
Think you could give me a quick example to create, print to and display a named buffer?
Also, perhaps, to append that buffer into a string if possible?
- Sun Mar 07, 2010 8:02 am
- Forum: Mudlet Development
- Topic: Feature Request: Client-side MXP coloring
- Replies: 7
- Views: 5259
Re: Feature Request: Client-side MXP coloring
To be a bit more specific, here's an idea of one of the things I'd like to do: Midkemia uses a breakdown of gold. 100 copper to a silver, 100 silver to a gold. I like to take in a copper number and output a colorized [gold.][silver.]copper string. This is fine if I just want to print it to the scree...
- Sun Mar 07, 2010 7:55 am
- Forum: Mudlet Development
- Topic: Feature Request: Client-side MXP coloring
- Replies: 7
- Views: 5259
Feature Request: Client-side MXP coloring
I would really like a method of compiling a string that includes color codes, to be output at one time (rather than changing the color previous to each echo command). I do a lot of MUD UI tweaking, and i have several situations where I would like to be able to use functions to return partial string ...