Changed folder name.
Changed folder name.
This commit is contained in:
28
_module/nss/ww_modrest.nss
Normal file
28
_module/nss/ww_modrest.nss
Normal file
@@ -0,0 +1,28 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: EMOTE ON REST
|
||||
//:: onRest
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
from the rest, calls the emote wand script/conv
|
||||
unless trying to rest, then rests.
|
||||
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: bloodsong
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPlayer = GetLastPCRested();
|
||||
|
||||
if(GetLocalInt(oPlayer, "REST"))
|
||||
{ return; } //-- really resting
|
||||
|
||||
//-- not resting, pressing rest/emote
|
||||
|
||||
AssignCommand(oPlayer, ClearAllActions()); //--cancels rest
|
||||
ExecuteScript("itm_emotewand", oPlayer);
|
||||
|
||||
}
|
Reference in New Issue
Block a user