![]() |
Can someone please help?
Hi there, I'm kinda new to scripting, and I'm trying a script for when a player with a specific account name says a specific word to get warped. I'm thinking of using:
if (playerchats&&strequals(#a,account name)&&strequals(#c,warp)) {setlevel2 level.graal,31.5,15;} Would this be right? If not, can you suggest something that might be? Any help is greatly appreciated. Thanks. :) (level.graal, account name and warp are all examples. XD) |
Re: Can someone please help?
Quote:
|
Re: Re: Can someone please help?
Quote:
|
Whats the difference between .NW and .GRAAL, I never really listened.
|
Quote:
|
.nw Can have more NPCS in a level than .graal i belive .graal has a limt of 50? .nw was made for New World.
|
Re: Re: Re: Re: Can someone please help?
Quote:
|
I think all classic levels are going to be changed to nw for npcserver, so the simple scripts can be batched easier.
|
Re: Re: Re: Re: Re: Re: Can someone please help?
Quote:
The idea is that when someone with a specific account name says a specific word/phrase, they get warped to a different level, like, they get warped to their own room, and only they can access it... |
if (playerchats&&strequals(#a,Account)) {
setlevel2 level.graal,30,30; } ^^ works fine online. (not clientside) |
It looks to me like it's working fine. (As long as it isn't a weapon). Yes, we will be using .nw files. Just keep in mind that I've got to lock unique items (and maybe even horses) out of password/account locked rooms.
Quote:
|
Stev, why didn't you try the script before posting about it? It would work fine offline.
An ancient plague has shown it's ugly face once again... lazyness! |
Quote:
Quote:
|
Re: Re: Re: Re: Re: Re: Re: Re: Can someone please help?
Rar. I r dumb. :rolleyes:
I did actually try it offline. It worked fine with my account (when I accessed my passworded, account named room), but when I let another player try to access their room, it didn't work. :\ |
Quote:
Quote:
Sorry if you feel offended or something of the sort, but that's just how I feel about the matter. |
| All times are GMT +2. The time now is 12:32 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.