![]() |
hehehehe
im trying to make it so that if i say die <account> without the <>'s it will kill that account, i have no idea how to start this, i was just wondering if someone could tell me how or post it
|
umm
i think it would be along the lines of
NPC Code: That SHOULD work...i dont know if it will. |
~AlphaFlame~
First of all, you need to make an NPC that saves the account name to a server.string. Then, you need to make a system NPC that kills the player if the server.string is equal to their account name. And that's that. [edit]P.S. - for Non-P2P[/edit] |
how i make it work?
|
thats hilarious, just dont give that to people you dont trust!!!
|
you can do that with non-p2p it just would be laggier
|
Re: hehehehe
Quote:
NPC Code: That would work ... (i think) |
Re: Re: hehehehe
Quote:
|
Aha, very well that would work. And what about those with a space in their acct? like, for example:
Account:Stefan Dude Stefan and dude are two different words, and with tokens, you only did token 1, which is the 2nd word. its best to use #e. Here is an example: NPC Code: I dont have graal on this comp so Im not ENTIRELY sure that would work, with the strequal part, i am having a brain cramp and cant remember how to do that :o, but you get the idea. |
Like when I warp people to survivor island, you have to put " " around those with more than 1 word in there account, but im not sure if that works with toekns =O
Oh well, Im confused enough =( |
Quote:
|
Quote:
|
Quote:
|
maybe
Quote:
NPC Code: just guessing but that could work ..... (i think) |
if you use the previous method, it would work with spaces in the name too
|
| All times are GMT +2. The time now is 10:02 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.