Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script("Join") {
- trigger("playerjoin")
- if($("player.LumberEXP." + @player("name")) == null) {
- @console("script pubvars add player.LumberEXP." + @player("name") + " number")
- }
- if($("player.PlotPoles." + @player("name")) == null) {
- @console("script pubvars add player.PlotPoles." + @player("name") + " array")
- }
- }
- script("Explosion Test") {
- trigger("explosion")
- //@broadcast(@explosion("origin"))
- //@broadcast("&1Script Line " + script("line") + ": &f" + "You canceled an explosion" + @explosion("origin"))
- @cancel()
- }
- script("Block Interact") {
- trigger("interactBlock")
- ////////////////////////////////////////////////////////////////////////////////
- ////////////////////DEBUG MESSAGE///////////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- debug = "&1Script Line " + #script("line") + ": &f"
- ////////////////////////////////////////////////////////////////////////////////
- ///////////////////ENTITY LOCATION FINDER///////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- entitylocationarray = @location("array", @entity("location"))
- entityX = entitylocationarray[2]
- entityY = entitylocationarray[3]
- entityZ = entitylocationarray[4]
- ////////////////////////////////////////////////////////////////////////////////
- ///////////////////BLOCK LOCATION FINDER////////////////////////////////////////
- ////////////////////////////////////////////////////////////////////////////////
- blocklocationarray = @location(<"block">, "array")
- blockX = blocklocationarray[2]
- blockY = blocklocationarray[3]
- blockZ = blocklocationarray[4]
- ////////////////////////////////////////////////////////////////////////////////
- @broadcast(debug + entityX + "; " + blockX)
- }
- script("Variable Editor Command") {
- trigger("command")
- command("variable")
- @cancel()
- arguments = split(<"Arguments">, " ")
- if (arguments[1] ~ "list"){
- @send("&1" + arguments[2] + ":&f " + string($(arguments[1])))
- }
- if(@player("name") ~ "Ghaz_ranka"){
- arguments = split(<"Arguments">, " ")
- if (arguments[1] ~ "add"){
- $(arguments[2]) += arguments[3]
- @send("Added: " + arguments[3])
- }
- if (arguments[1] ~ "remove"){
- remove($(arguments[2]), arguments[3])
- @send("Removed: " + string($(arguments[2])))
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment