Login
User Name:

Password:



Register

Forgot your password?
do_owhere recursive
Author: Khonsu
Submitted by: Khonsu
Changes list / Addchange
Author: Khonsu
Submitted by: Khonsu
6Dragons mp3 sound pack
Author: Vladaar
Submitted by: Vladaar
AFKMud 2.2.3
Author: AFKMud Team
Submitted by: Samson
SWFOTEFUSS 1.5
Author: Various
Submitted by: Samson
Users Online
AhrefsBot, Google

Members: 0
Guests: 40
Stats
Files
Topics
Posts
Members
Newest Member
489
3,791
19,644
596
Elwood

Today's Birthdays
There are no member birthdays today.
Files
Upload Rules | File Index | Search | Recent Uploads
» Root » LoP » LoP Snippets
MPSleep (LOP)
Author Submitted by Version D/L File Size Date Added Last Updated

Remcon Remcon 1.0 703 9.26 KB Jan 27, 2012

Description
MpSleep 2.0 - Compiled by Dace K. (djdace.k@gmail.com)
--------------------------------------------------------------------------
Was installing mpsleep on a new codebase of mine, and decided to compile
a fixed up version for anyone having problems with mpsleep. This version
fixes the bugs involving else statements used after mpsleep, which the
original version would simply skip over.

Any license that the original code may have been under still applies to this
one - I assume it simply involves leaving the comments intact, and giving
credit where credit's due.

Credits go to:
-------------
RASMUS BROSBOEL : Original mpsleep code.
Olcerin : Nested ifcheck fix.
Odis/WhiteKnight : Fix for skipped elsechecks.
Gohan_TheDragonball : Final fix for mpsleep within ifchecks.
===========================================================================
Introduction:
------------
The mpsleep snippet allows allows you to delay the execution of your mud
programs for a number of pulses. This will make a mob telling a story able
to pause after every line, or just some, to make it seem like the mob is
actually talking to you, not just throwing 2 pages of text after you. This
command does not pause the mob/obj/room, only the program.
This command is useable anywhere you would like to delay a mudprogram
before it moves on to the next line.
Example:
>greet_prog 80~
say Greetings $n
mpsleep 6
say I have now paused for 6 pulses
mpsleep 4
say I have now paused for 4 pulses
====================================
Thats what was in the original one, but since I'm asked a lot about it figured might as well see what the issues were and just give a diff file of it.

Revisions: 0
Rating: | Download | Comments(0)