TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

Navigator Script

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Finished Scripts
View previous topic :: View next topic  
Author Message
blkno1



Joined: 03 Dec 2007
Posts: 117

PostPosted: Tue Nov 10, 2009 10:09 am    Post subject: Navigator Script Reply with quote

Various #actions and alias for helping to move around. I use it on Medievia.


Works in 1.99.8

Code:
#nop Medievia Navigator Script for tintin++
#nop Last updated 7/17/08
#nop By Kjeldar

#class {mednav} {kill}
#class {mednav} {open}

#alias navhelp
{
   #showme <139>***************** Navigator Help ***********************;
   #showme <179>Various actions to assist in movement in game.
   #showme <129>ud<179> Unlock door.;
   #showme <129>pd<179> Pick door.;
   #showme <139>***************************************************************;
}


#nop Macros
#macro {\eOD}  {w\n;#var lastdir west;#var curroom $wroom}
#macro {\eOC}  {e\n;#var lastdir east;#var curroom $eroom}
#macro {\eOA}  {n\n;#var lastdir north;#var curroom $nroom}
#macro {\eOB}  {s\n;#var lastdir south;#var curroom $sroom}

#nop Actions
#action {^The %0 seems to be closed.} {open %0 $lastdir;#var doorname %0}
#action {^The %0 seem to be closed.} {open %0 $lastdir;#var doorname %0}
#nop action {^It seems to be locked.} {pick $doorname $lastdir}
#action {^It seems to be locked.} {}

#action {^Alas, you cannot go that way...} {ex}
#action {^You have to stand up before you can do that.} {--;stand}
#action {^Your mount turns and heads towards %0.} {#var dragdest %0}

#var nroom {}
#var eroom {}
#var sroom {}
#var wroom {}
#var uroom {}
#var droom {}
#var curroom {}


#act {^North  - %0} {#var nroom %0}
#act {^East   - %0} {#var eroom %0}
#act {^South  - %0} {#var sroom %0}
#act {^West   - %0} {#var wroom %0}
#act {^Up     - %0} {#var uroom %0}
#act {^Down   - %0} {#var droom %0}

#nop aliases
#alias ud {unlock $doorname;open $doorname $lastdir}
#alias pd {pick $doorname;open $doorname $lastdir}

#alias u {up;#var lastdir u;#var curroom $uroom}

#alias d {down;#var lastdir d;#var curroom $droom}

#var {lastdir} {north}
#var {doorname} {door}

#nop Portal Navigation
#alias {enter} {#var portnumber %0;#send enter %0}
#action {^You stagger out of the portal, then collapse.} {stand;mount horse;mount dragon;#send enter $portnumber}
#action {^You step into the portal and the world fades into the mist.} {#showme <efa>--=== Portal Successful ===--}
#action {^You step into the portal, and the world spins madly...} {#showme <faa>-------------== SPUN ==-------------}


#alias croom {#var {curroom}}

#class {mednav} {close}
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Finished Scripts All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group