SlashGeeGee Posted February 23, 2013 Posted February 23, 2013 Hello rA. It's been a while. I want to request a script that when a gm whispered to "GO" the NPC , warps will be activated and also a whisper "END" for deactivation of the warps. Here are the warps : endless_war,90,86,0 warp endlesswar01 2,2,endless_war,97,86 endless_war,165,86,0 warp endlesswar02 2,2,endless_war,158,86 Hope someone will help me Thanks in Advance SlashGeeGee Quote
Capuche Posted February 25, 2013 Posted February 25, 2013 There was an error http://pastebin.com/raw.php?i=83UpTvTf Quote
DJFUNK Posted February 23, 2013 Posted February 23, 2013 I think, you better use the NPC script, That you can modify. not a warp script. such like this: endless_war,90,86,0 script endleswarp01 45,2,2,{ OnTouch: warp "endless_war",97,86; } Here's. Not tested, but it should work endless_war,90,86,0 script endleswarp01 45,2,2,{ OnTouch: warp "endless_war",97,86; OnWhisperGlobal: if (@whispervar0$ == "GO") enablenpc strnpcinfo(0); if (@whispervar0$ == "END") disablenpc strnpcinfo(0); end; OnInit: disablenpc strnpcinfo(0); } Quote
Capuche Posted February 23, 2013 Posted February 23, 2013 (edited) endless_war,90,86,0 warp endlesswar01 2,2,endless_war,97,86 endless_war,165,86,0 warp endlesswar02 2,2,endless_war,158,86 - script hjkl -1,{ OnWhisperGlobal: if ( @whispervar0$ == "menu" ) { set .@s, select( .npcname$ ) -1; if( select( "Enable "+ .npcname$[ .@s ] , "Disable "+ .npcname$[ .@s ] ) -1 ) disablenpc .npcname$[ .@s ]; else enablenpc .npcname$[ .@s ]; } else dispbottom "Usage : npc:"+ strnpcinfo(0) +" + menu"; end; OnInit: setarray .@tmp$, "endlesswar01","endlesswar02";// NPC name in menu set .npcname$, implode( .@tmp$, "|" ); end; } Edited February 23, 2013 by Capuche Quote
SlashGeeGee Posted February 25, 2013 Author Posted February 25, 2013 i have error sir..... yeah I got this error to when testing it. Quote
caspa Posted February 25, 2013 Posted February 25, 2013 There was an error http://pastebin.com/raw.php?i=83UpTvTf thanks sir..... this script works out for me..... Quote
SlashGeeGee Posted February 25, 2013 Author Posted February 25, 2013 There was an error http://pastebin.com/raw.php?i=83UpTvTf Thanks Capuche . REQUEST Done ! Quote
Question
SlashGeeGee
Hello rA. It's been a while. I want to request a script that when a gm whispered to "GO" the NPC , warps will be activated and also a whisper "END" for deactivation of the warps.
Here are the warps :
Hope someone will help me
Thanks in Advance
SlashGeeGee
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.