![]() |
Jailer Script
Ok, im in need of a script that will jail someone by their account name, so like i would type:
jail [accountname] and it would send them to the jail... I hope someone can help me with this one. And if so, i thank you very much. |
Something like this:
if (playerchats) { tokenize #c; if (strequals(#t(1),jail)) { getplayer #t(2) {setlevel2 police2.graal;} } } Could this work? |
Not quite
You couldn't really make awepon oput Of it I dont believe with is a client side function but If you just make a regular NPC or a database NPC it would be
NPC Code: Nuce and simple really. Althouigh its much simpler just to warp them via RC. |
and if you don't have NPC Server it would look like this:
NPC Code: |
but...
Im not sure that would work.... Simply for the fact that the player chatting has set the flag therefor all actions are bassed on him. whethere or not its looking for another player... I duno though, I havnt been scripting non - p2p for a while so im a lil out of it.. But im pretty sure thats not posible..
You could however have something in a players wepons (system npc?) and then you could do NPC Code: and in the players system have NPC Code: I duno. Pick a number. anynumber. hehe |
So which of those work? @_@
|
I have only tried Falcor's. I am planning on trying the rest later today.... Falcor's always makes graal freeze tho since i have to use a server string....
If anyone else has some suggestions please tell me them. Thanks |
Ummmmm how about NO
Fals script will work i dont even have to look at it im sure it will work the person who said the scirpt after him about non npcserver jail that willll lllllll nooooo t work what so ever a non npc server jail script isnt that complicated but im not going into detail just rc them on non npcserver servers
|
This is for my Non-RC GP's. So they can jail people...
So i really need this. |
Maybe i just need to run it on GServer real quick to see if it works?
|
Yeah i think Falados is right, why go to all this scripting trouble! Just warp them with the RC!
|
Shard, how about reading a couple replies back and you will see that i said this is for my Non-RC GP's....Hence they cant warp people with RC....
Tristan ~Cybnext |
Hi
Without an NPCServer, you would have to use a serverflag AND give everyone on the server a system npc.
For example: NPC Code:server.jailplayer=Brandon_Bravo |
So your saying that Falcor's script is right and should work, but wont work offline?
|
your wrong.
ive seen it doen on CDA without a system npc, and i made one myself without a system npc, however i dun have the level no more, cause it got deleted with the rest of the bravo levels... if anyone has Jailbook.graal from bravo, its in their :P |
It might be a hidden System NPC, you know toweapons -System;?
I hate it when people use toweapons *System, just use toweapons -System |
Quote:
so its possible |
I remeber on elven lands there was a jailer NPC you say jail account it says what is the account and it worked and there was also one like that the enabled or disabled other peoples weapons
|
So well does anyone have any working ones? *is confused*
|
I think one of these will work, only it freezes everytime, and im not really sure why....Could someone please tell me?
|
Quote:
|
BAH!I'm looking for one that doesn't need an NPC server =D
|
I KNOW WHAT IS WRONG WITH FALADOS'S
NPC Code: |
So what do we do?put setstring first?
|
yeah..
I dont think its possible for a script outside of the level and not in the inventory (system) to change a level of a player w/o an npc server. If you'd tell me how I'd love to hear it. You dont have to show us the script just give me a general idea.. it soudns impossible to me.. |
Quote:
example set a flag like server.destroy=superbomb and it the system put something that detects that string and if playerhasweapon and it would be superbomb destroy same applies for jailer, i would assume, since ive seen it done (Elven lands) |
Quote:
|
Quote:
if (created) {timeouteverywhere=0.5; set server.flag;} ... wouldnt that work? |
Quote:
|
I would like to know how to do this on a NON-P2P server as well, without using a system npc.
|
Quote:
|
woh woh woh....hold on there....i got question, u can make a weapon or system in the players inventory un deleteable without a aterisk(*) by using a minus sign(-)??
|
hmmm heres 2 more questions...how would i make the inventory item with a red name?? and how would i go about doing that thing so that the player can have a inventory in a inventory like on Divided Kingdoms i think it is where it says Goodies, then when ur in their you can go back? Would that work for non-p2p?
Mr. Chik |
#1, a - infront of a weapon name makes it hidden
#2, I believe you have the wrong server (Wasn't it DK that had that instead of TDK?) #3, If I'm not mistaken, G-Yoshi re-scripted the q button menu completely.. |
| All times are GMT +2. The time now is 12:44 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.