Search found 232 matches

by Belgarath
Sun Oct 25, 2015 9:31 am
Forum: General Forum
Topic: HELP PLEASE! Simple DIKU Mud BOT based on timer and triggers
Replies: 3
Views: 23029

Re: HELP PLEASE! Simple DIKU Mud BOT based on timer and trig

It'd require a bit of time to code something like that. Until (or if) someone else has time to help you with this, I can give you some tips which you could use for working on this yourself. After all, coding and learning through practice is what makes it fun. The 45min timer resets a few tables and ...
by Belgarath
Sun Oct 25, 2015 9:12 am
Forum: Howtos, FAQs and Tips & Tricks
Topic: Hyperlinks
Replies: 2
Views: 5315

Re: Hyperlinks

You bet there is. ;)

Take a look here
by Belgarath
Sun Oct 25, 2015 9:06 am
Forum: Help Forum
Topic: Building a toggle
Replies: 1
Views: 2572

Re: Building a toggle

Here's a simple example: -- Trigger: You are now in offence mode. mode = "offence" -- Trigger: You are now in defence mode. mode = "defence" -- Alias to display mode: cecho("<cyan>++ <green>You are in <red>" .. mode:upper() .. "<green> mode!<cyan> ++\n") If yo...
by Belgarath
Sun Oct 18, 2015 3:08 am
Forum: Help Forum
Topic: XP Timer
Replies: 3
Views: 3508

Re: XP Timer

You could make an alias to initialise the variables and send the command to capture your starting XP. You could make some timers and use enableTimer to start them after capturing the starting amount. Those timers would serve to capture your gained XP. So, for example, to calculate the amount of XP y...
by Belgarath
Fri Sep 04, 2015 6:31 pm
Forum: General Forum
Topic: I give up!
Replies: 8
Views: 16464

Re: I give up!

You can look here for a tutorial on Lua Modules and here for a tutorial on Scope. require will only work if you set package.path to look in the right directory. Here is an example: -- sysLoadEvent function load_system (event) local _sep = string.char(getMudletHomeDir():byte()) == "/" and &...
by Belgarath
Fri Sep 04, 2015 5:57 pm
Forum: Scripts & Packages
Topic: How to copy minimap to MiniConsole window?
Replies: 1
Views: 5001

Re: How to copy minimap to MiniConsole window?

Take a look at this thread. Adjust properly to your MUD and you're good to go.
by Belgarath
Fri Sep 04, 2015 11:06 am
Forum: General Forum
Topic: I give up!
Replies: 8
Views: 16464

Re: I give up!

If you want to create a module out of some Mudlet scripts, you should export them via the Mudlet editor, or use the Package Exporter. You can then load it in via the Module Manager and sync it. The Package Exporter and Module Manager are located under the Toolbox drop-down menu. If you want to load ...
by Belgarath
Fri Sep 04, 2015 10:50 am
Forum: Scripts & Packages
Topic: Creating chat window
Replies: 2
Views: 7010

Re: Creating chat window

Hello Keevitaja,

I'd recommend taking a look at demonnic's tabbed chat package. It's pretty awesome, and can do most of the things you've listed (bar disabling split). You can get rid of the {say} tag with:
Code: [show] | [select all] lua
selectString("{say}", 1)
replace("")
by Belgarath
Thu Sep 03, 2015 7:33 pm
Forum: General Forum
Topic: I give up!
Replies: 8
Views: 16464

Re: I give up!

Hey Keevitaja, As I said on the IRC channel when you asked, that wiki link is the best method for creating a shareable package in Mudlet. You can also try the Package Exporter (experimental). Another note is that packaged ZIP files cannot be used as modules for syncing across profiles. They will hav...
by Belgarath
Thu Sep 03, 2015 7:25 pm
Forum: Scripts & Packages
Topic: Minimal mapping script
Replies: 2
Views: 8476

Re: Minimal mapping script

Hey Keevitaja, I notice you're using GMCP, which is generally an IRE thing. Mudlet has an IRE mapping script already and it is kept up-to-date with lots of useful functionalities. You can view it here . In answer to your question, you can display errors by clicking on the Errors or Debug window with...