Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-05-2002, 11:05 AM
CrimsonLotus9838 CrimsonLotus9838 is offline
Registered User
Join Date: Jun 2002
Location: Newbie House
Posts: 10
CrimsonLotus9838 is on a distinguished road
Post Admin Chat Commands...

Just recently I've attempted to script 3 admin chat commands like
- warpto x y levelname
- warpto accountname
- teleport accountname actionnumber
- update level levelname

the warpto x y levelname is easy:

if(playerenters) toweapons *warpto x y levelname;
if(playerchats && indexof(warpto,#c)==0){
tokenize #c;
setstring warptolevel,#t(3);
playerx=strtofloat(#t(1));
playery=strtofloat(#t(2));
setlevel #s(warptolevel);
}

I think most ppl figured that one out, heh, but the commands
- warpto accountname
- teleport accountname actionnumber
- update level levelname
just stumps me. How <i>do</i> you get another player to warp, that I cannot find out. Anyone have a clue? x.x
__________________
It feels like little guards are gonna come up when ur on trial mode and say something like only p2p accounts can hump the walls! Now that wouldn't be good : /
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:50 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.