![]() |
I need to know..
How would i remove a account name from server.jail
Like if their is server.jail= Joe james roe and i say Unjail Player Joe it will remove their accountname out of server.jail= thanks for helping... |
I can't understand that
|
he means how to do leik
if a person's account name is: CoolDude then u say this unjail CoolDude thats wut he means |
dunno
beats me?
|
Whoever tells me the script, i will give like 20-25 gralts on graal.
|
Quote:
|
Quote:
|
Quote:
|
Message board pm that is, not on graal.
|
#e(startindex,length,string) extracts a substring out of ‘string’ (length=-1 -> till the end)
indexof( partstr, str ) position of where partstr appears in str (-1 -> not in str) |
okay from what you said in the pm, you will help me on here....
I dont understand what goes in the ()... Is the first one (server.jail)? |
lol
OMG this is so easy its not even funny.
Also, I would tell you but I already made a script like this for my server so Ill just leave you be |
Quote:
setstring server.jail,#e(0,startofname,server.jail)#e(starto fname+len(namestring),-1,server.jail); |
Wait i mean this is the hole script?
PHP Code:
|
Re: lol
Quote:
|
Come on someone tell me...
|
Re: Re: lol
Quote:
I would help, but I don't know how to do that stuff yet. :) |
Quote:
Oh, and Kai, go on icq if possible. |
Come on someone please help me :*(
|
i'll make you one, just give me a couple minutes
|
Look at Aces tutorial a REALLY long time
The go to the commands.RTF and look at that. |
here ya go:
NPC Code: this works, but you'll have to add testing to see if the player name is actually in the string or else if it doesnt it will mess up the string |
Quote:
|
NPC Code: i added a test that checks to see if players name is in string so the string cant get messed up, see if that works |
Damn i knew it was to good to be true, it only lets to take off the end accounts...
like if their was server.jail= Joe jack roe and i said Unjail jack it will set the server.jail= Jo roe if i put it back to server.jail= Joe jack roe and if i said Unjail roe it will set it server.jail= Joe jac so it's a little messed up if you can fix it i will give you like 50 on graal 2001.... |
Quote:
Error: Expected format var, var[i], obj[i].attr, function(a), function(a,b) |
try this
NPC Code: |
DUDE YOU ROCK!!! DO YOU WANT SOME MONEY ON GRAAL 2001??? ALSO I want to do say2 when thay say that so it will say
say2 The player (the person you just unjailed) is now free... |
say2 You unjailed #t(2) they are free.
add that into the main equation part |
ok now, the other part so like if their name is removed from that it will warp them to onlinestartlocal.graal
|
what would it be somehting like
NPC Code: |
just use the setlevel2 command in the main equation part, look in the commands.rtf to see how
|
Quote:
|
it would be better if you would use the string with account names only
|
Quote:
|
account names dont have spaces so you should only use them in the server.jail string
|
Quote:
|
d00d thats simple
just use the message command to show the server.jail string |
1 Attachment(s)
Dude you forgot, I dont know how to script stuff that good...
it will show them in a list like 1. account 2. account 3. account ect.... |
He wants like showimg commands like
showimg blah,blah@blah@1. #s(server.jail),x,y; But the only way I could think if you labeled each person with like server.jail1 and so on unless you can have a npc take everyones account in jail and tokenize them in individuals then tell it to say like showimg blah,blah@blah@1. #t(1)#s(server.jail)),x,y; #t(1)#s(server.jail)),x,y; that is not going to work im not even looking at my commands so it was just showing you what you would need to do. |
| All times are GMT +2. The time now is 01:27 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.