Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
 Resets not working.
Yesterday, 5:52 pm
By dbna2
 I am trying to compile smaugfuss1.8
Yesterday, 4:52 pm
By Remcon
 Compendium of bugs in SmaugFUSS
Yesterday, 8:42 am
By Remcon
SIGCONT?
May 13, 2013, 9:49 am
By Aurin
Try/Catch function?
May 10, 2013, 10:36 am
By Zeno
QSF Portal
Author: QSF Portal Team
Submitted by: Samson
Raspberry Pi Diff File
Author: Dretzile
Submitted by: Dretzile
Replacement mp_*_passage funcs
Author: Andril
Submitted by: Andril
g++ 4.6 unused variables patch
Author: diff
Submitted by: Andril
LOP 1.43
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Google, GudrunVZT, GracieUsh, FlorineQP

Members: 3
Guests: 30
Stats
Files
Topics
Posts
Members
Newest Member
440
3,577
18,322
3,852
MyrtleSam
Today's Birthdays
RandellTT (38), KatrinBri (100), LeslieMcc (54)
Related Links
Smaug Building Institute
Files
Upload Rules File Index | Search | Recent Uploads
» Root » LoP » LoP Snippets
MPSleep (LOP)
Author Submitted by Version D/L File Size Date Added

Remcon Remcon 1.0 26 9.26 KB 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.

Rating: | Download | Comments(0)
 
Contact Us