[Script] Configurable item spawning |
Force_shaman « Censeur » 1381374540000
| 0 | ||
--[[ I made this to fool around in the tribe house and figured i'd share it. Only the person whose username is set as MainAdmin (other admins can be added) can use these commands with the exception of respawnme. However, everyone will be able to use the spacebar to spawn items once the admin has selected one. Key: ~ = All players have access # = Admins have access * = The Main Admin has access Commands: !respawnme - Respawn yourself ~ !respawn playername - Respawn the specified player # !respawn all - Respawn everyone # !kill playername - Kill the specified player # !kill all - kill everyone # !spawn amount ID - Select the item and amount of it to spawn # !shooting on/off - Toggle placing and shooting items # !ghost on/off - Toggle spawning solid objects and ghost ones # !cooldown seconds/off - Choose the cooldown on spawning or turn it off. It is 1 second by default. # !power power - Choose the power of fired items, default 30 # !mirror on/off - Toggle if mice should shoot items in both directions # !fly on/off - Toggle flying with W/up # !tp target - Teleport yourself to the specified mouse # !tph target - Teleport the specified mouse to you # !tpa - Teleport all mice to you # !tpo target1 target2 - Teleport The first mouse to the second # !tpao target - Teleport all mice to the specified one # !tpc x y - Teleport yourself to a set of coordinates # !tpoc target x y - Teleport the specified mouse to a set of coordinates # !admin mouse - Make another mouse admin * !deadmin mouse - Revoke admin rights from a mouse * ALL COMMANDS INVOLVING A USERNAME ARE CASE-SENSITIVE! So for example, if i typed these commands: !spawn 3 2 !shooting on !ghost on Each mouse would fire 3 invisible large boxes when pressing the spacebar. ]]-- Script a dit : |
Nekoava « Citoyen » 1381379400000
| 0 | ||
This could bee helpful o3o |
Championrs « Citoyen » 1381382220000
| 0 | ||
Nekoava a dit : It could not be helpful. It is helpful |
Force_shaman « Censeur » 1381409880000
| 0 | ||
Added a configurable cooldown. It is 1 second by default Also added some other stuff. |
0 | ||
Tomdizzy a dit : This part of the code is the best for sure :D |
Yapale « Citoyen » 1381448700000
| 0 | ||
yes omg ty now i can pew pew pew 10 arrows and flood myself under the elevator HOW DO YOU CLEAR THIS |
Force_shaman « Censeur » 1381452540000
| 0 | ||
Yapale a dit : If by clear you mean stop the script, /module stop |
Plumbob « Citoyen » 1381459680000
| 0 | ||
what is this used for, the tribe house ? |
Boygawgaw « Citoyen » 1381473120000
| 0 | ||
Yes. ^ |
Thewildnes « Citoyen » 1381512780000
| 0 | ||
Great .. |
Force_shaman « Censeur » 1381529580000
| 0 | ||
Added a bunch of teleport commands! Also added the ability to have multiple admins. The person whose name is set as "MainAdmin" (The script runner) will be immune to the !deadmin command. |
Liivahiireke « Citoyen » 1381581000000
| 0 | ||
it's not working too.. :D |
0 | ||
Liivahiireke a dit : Where it says Tomdizzy/name etc you have to change it to Liivahiireke. |
Kathiehuang « Citoyen » 1383169140000
| 0 | ||
This is long :L How can you like erase this on the /lua box to put another code in instead of this? .3. |
0 | ||
Kathiehuang a dit : Ctrl + A Delete |
Leafileaf « Citoyen » 1383200640000
| 0 | ||
This will be prone to crashing. What if someone did something like: Crashy commands a dit : Once a mouse presses space everyone would crash. Suggestion: Limit the number of item spawns to 10. |
Magicface « Citoyen » 1384386300000
| 0 | ||
Wow I Cant Wait To play It : D |
Force_shaman « Censeur » 1384396380000
| 0 | ||
Leafileaf a dit : I thought about this a while ago and was thinking that the script runner should choose his/her admins carefully. It is a good idea however and I added it |
0 | ||
I really like this script :o Dernière modification le 1468877640000 |
Nubforx 1429739340000
| | ||
[Modéré par Sabusha, raison : Do not speak Portuguese on the English forums!] |