Welcome to the Builder Academy

Question Trigger of the Day - Teleporter Example

More
18 Nov 2012 00:40 #1068 by Rumble
Code:
Name: 'Obj Command 82 - Teleporter', VNum: [ 99], RNum: [ 99] Trigger Intended Assignment: Objects Trigger Type: Command , Numeric Arg: 3, Arg list: teleport Commands: * By Rumble w/help from Jamie Nelson on http://groups.yahoo.com/group/dg_scripts/ %send% %actor% You attempt to manipulate space and time. %echoaround% %actor% %actor.name% attempts to manipulate space and time. wait 1 sec set sanctus 100 set jade 400 set newbie 500 set sea 600 set camelot 775 set nuclear 1800 set spider 1999 set arena 2000 set tower 2200 set memlin 2798 set mudschool 2800 set midgaard 3001 set capital 3702 set haven 3998 set chasm 4200 set arctic 4396 set Orc 4401 set monastery 4512 set ant 4600 set zodiac 5701 set grave 7401 set zamba 7500 set gidean 7801 set glumgold 8301 set duke 8660 set oasis 9000 set domiae 9603 set northern 10004 set south 10101 set dbz 10301 set orchan 10401 set elcardo 10604 set iuel 10701 set omega 11501 set torres 11701 set dollhouse 11899 set hannah 12500 set maze 13001 set wyvern 14000 set caves 16999 set cardinal 17501 set circus 18700 set western 20001 set sapphire 20101 set kitchen 22001 set terringham 23200 set dragon 23300 set school 23400 set mines 23500 set aldin 23601 set crystal 23875 set pass 23901 set maura 24000 set enterprise 24100 set new 24200 set valley 24300 set prison 24457 set nether 24500 set yard 24700 set elven 24801 set jedi 24901 set dragonspyre 25000 set ape 25100 set vampyre 25200 set windmill 25300 set village 25400 set shipwreck 25516 set keep 25645 set jareth 25705 set light 25800 set mansion 25907 set grasslands 26000 set igor's 26100 set forest 26201 set farmlands 26300 set banshide 26400 set beach 26500 set ankou 26600 set vice 26728 set desert 26900 set wasteland 27001 set sundhaven 27119 set station 27300 set smurfville 27400 set sparta 27501 set shire 27700 set oceania 27800 set notre 27900 set motherboard 28000 set khanjar 28100 set kerjim 28200 set haunted 28300 set ghenna 28400 set hell 28601 set goblin 28700 set galaxy 28801 set werith's 28900 set lizard 29000 set black 29100 set kerofk 29202 set trade 29400 set jungle 29500 set froboz 29600 set desire 29801 set cathedral 29900 set ancalador 30000 set campus 30100 set bull 30401 set chessboard 30537 set tree 30600 set castle 30700 set baron 30800 set westlawn 30900 set graye 31003 set teeth 31100 set leper 31200 set altar 31400 set mcgintey 31500 set wharf 31700 set dock 31800 set yllnthad 31900 set bay 32200 set pale 32300 set army 32400 set revelry 32500 set perimeter 32600 if !%arg% *they didnt type a location set fail 1 else *take the first word they type after the teleport command *compare it to a variable above eval loc %%%arg.car%%% if !%loc% *they typed an invalid location set fail 1 end end if %fail% %send% %actor% You fail. %echoaround% %actor% %actor.name% fails. halt end %echoaround% %actor% %actor.name% seems successful as %actor.heshe% steps into another realm. %teleport% %actor% %loc% %force% %actor% look %echoaround% %actor% %actor.name% steps out of space and time.
If this was helpful please vote or leave a review for TBA.

Rumble
The Builder Academy
tbamud.com 9091
rumble@tbamud.com

Please Log in or Create an account to join the conversation.

Time to create page: 0.158 seconds