defendor Posted February 19, 2013 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 3 Reputation: 0 Joined: 02/12/13 Last Seen: February 25, 2013 Share Posted February 19, 2013 Heya, 2 NPC's one for sending me to a place and one for sending me back ( From a secret place only for GM's ) I need a script that if a GM talks to it it will warp too XXX.gat X, Y And if a player talks too it nothing happens.. Thank you for your time, Greetz! Quote Link to comment Share on other sites More sharing options...
yakuu Posted February 19, 2013 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 52 Reputation: 3 Joined: 01/05/12 Last Seen: June 17, 2023 Share Posted February 19, 2013 (edited) if (getgmlevel() <= 30) close; switch(select("Warp1:Warp2:Close")) { case 1: warp "mapname",1,1; close; case 2: warp "mapname",1,1; close; case 3: close; } Edited February 19, 2013 by yakuu Quote Link to comment Share on other sites More sharing options...
llchrisll Posted February 19, 2013 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 626 Reputation: 189 Joined: 11/19/11 Last Seen: March 25 Share Posted February 19, 2013 (edited) Try this: prontera,150,180,4 script WarpGM1 45,3,3,{ end; OnTouch: if(getgmlevel() < 30) { dispbottom "You are not allowed to use this Portal, only GM's are."; end; } warp "map",x,y; end; } // Warp back to town map,x,y,0 warp WarpGM2 3,3,prontera,150,180 You just need to exchange the map,x,y with the map you require. Also don't forget to exchange the spaces in NPC Headers with an "TAB" @Off-Topic: I know this is support but before I start explaing how to do it I will script it completely ;I, sry Mods <3. Regards, Chris Edited February 19, 2013 by llchrisll Quote Link to comment Share on other sites More sharing options...
defendor Posted February 20, 2013 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 3 Reputation: 0 Joined: 02/12/13 Last Seen: February 25, 2013 Author Share Posted February 20, 2013 nice thx topic closed! Thx llchrisll Quote Link to comment Share on other sites More sharing options...
Question
defendor
Heya,
2 NPC's one for sending me to a place and one for sending me back ( From a secret place only for GM's )
I need a script that if a GM talks to it it will warp too XXX.gat X, Y
And if a player talks too it nothing happens..
Thank you for your time,
Greetz!
Link to comment
Share on other sites
3 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.