Search found 91 matches
- Wed Dec 14, 2011 6:08 pm
- Forum: Whatever
- Topic: Codebase help.
- Replies: 6
- Views: 7535
Re: Codebase help.
I guess I'll start looking at existing codebases (nakedmud/circle especially since those are the ones that I have experience playing) to see what is involved and then figure out how to convert the basic ideas into lua.
- Wed Dec 14, 2011 8:03 am
- Forum: Whatever
- Topic: Codebase help.
- Replies: 6
- Views: 7535
Re: Codebase help.
Lua looks promising (I hadn't even considered lua). There is the online book at www.lua.Org/pil, and is there anything else I should read about lua? Also, if lua doesn't work, then c/c++ is always ok. Thanks for the quick answers.
- Tue Dec 13, 2011 9:57 pm
- Forum: Whatever
- Topic: Codebase help.
- Replies: 6
- Views: 7535
Codebase help.
Ok, I am wanting to play around with programming a mud. What is the simplest mud codebase that will work with a macintosh (stuck with one until I can dual-boot windows 7)? Any help is appreciated (especially help from the imms and creators of muds). I would preferably like to use python to do most o...
- Sat Mar 26, 2011 5:16 am
- Forum: Help Forum
- Topic: help with my merc script
- Replies: 2
- Views: 2676
Re: help with my merc script
ok, thanks!
- Sat Mar 26, 2011 12:19 am
- Forum: Help Forum
- Topic: help with my merc script
- Replies: 2
- Views: 2676
help with my merc script
so atm I have this:
Pattern: (\w+) tells you, 'command: (.+)'
Script: commanders = { "xx",}
if table.contains( commanders, matches[2] ) then
send( matches[3] )
end
How would I make the commands go through mudlet instead of straight to the mud?
Pattern: (\w+) tells you, 'command: (.+)'
Script: commanders = { "xx",}
if table.contains( commanders, matches[2] ) then
send( matches[3] )
end
How would I make the commands go through mudlet instead of straight to the mud?
- Sun Feb 27, 2011 2:26 am
- Forum: Help Forum
- Topic: apostrophes and targets
- Replies: 2
- Views: 2826
Re: apostrophes and targets
I think the easiest way would be this: Have a targetting alias that would be like this: Pattern: ^weave (.+)$ Script: weave = matches[2] cecho("<white>Weave target set to: <gold>" .. weave .. "\n") Then have another alias that would be like this: send("channel 'fireball' &qu...
- Sun Feb 06, 2011 2:08 am
- Forum: Help Forum
- Topic: help with an autotrack script
- Replies: 15
- Views: 9399
Re: help with an autotrack script
!! I just realized something, this should work right?
moveCursor("main",0,getLineCount()-1)
if selectString("tracks of",1) == -1 then
tracks = { "human", "ridden", }
if table.contains( tracks, matches[2] ) then
send( matches[3] )
end
end
moveCursorEnd()
moveCursor("main",0,getLineCount()-1)
if selectString("tracks of",1) == -1 then
tracks = { "human", "ridden", }
if table.contains( tracks, matches[2] ) then
send( matches[3] )
end
end
moveCursorEnd()
- Sat Feb 05, 2011 4:43 am
- Forum: Help Forum
- Topic: help with an autotrack script
- Replies: 15
- Views: 9399
Re: help with an autotrack script
So should I make it really specific?
- Sat Feb 05, 2011 12:51 am
- Forum: Help Forum
- Topic: help with an autotrack script
- Replies: 15
- Views: 9399
Re: help with an autotrack script
hrm, ok so I have this: Pattern: You see fresh tracks of (.+) leaving (\w+) (regex) moveCursor("main",0,getLineCount()-1) if selectString("tracks of",1) == -1 then direction = matches[3] send(direction) end moveCursorEnd() Here is what it says in the debug window: Trigger name=Fr...
- Fri Feb 04, 2011 1:03 pm
- Forum: Help Forum
- Topic: help with an autotrack script
- Replies: 15
- Views: 9399
Re: help with an autotrack script
ok, changed it to "tracks of" and it is working for the most part. How would I activate it by using an alias and also target a specific set of tracks? So something like "Track human" would make the tracks followed be a human's tracks? Thanks for all the help so far!