
08-05-2002, 11:05 AM
|
|
Registered User
|
Join Date: Jun 2002
Location: Newbie House
Posts: 10
|
|
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 : /
|
|
|
|