VariableTriggers

Make your own plugin like features and more using VariableTriggers
This is a very powerful plugin that has unlimited potential. Create triggers that run lines of script when a player Clicks or Walks on a block (dirt, door, switch, trigger, torch, any block) or Create Event Triggers such as PlayerDeath , EntityDeath, BlockBreak, BlockPlaced, Join, Quit, Respawn, Interact and EntitySpawn that also run scripts. You can define Area Triggers and Command Triggers as well. You can use Dynamic Object variables and conditional IF and ELSE statements in the scripts. You can run any command that a player or OP can run and many speacial built-in commands to Teleport, Spawn Entities, Play Effects Visual or Sound, Set Blocks, Toggle Blocks, Check Players Heath and much more!. The scripts are executed on their own threads to take the strain off of the main server thread.
















-
View User Profile
-
Send Message
Posted Aug 2, 2014@H8llfire
Yes, the pending version here should have that issue fixed, re-download it and try it to make sure you're on the right version. :D
-
View User Profile
-
Send Message
Posted Aug 2, 2014Does the now fixed @IF s $obj.var = null also work with checking if its not null? (IF s $obj.var != null)
Also, the @DELOBJ keeps on telling me wrong number of arguments on @DELOBJ $whateverobject
-
View User Profile
-
Send Message
Posted Aug 2, 2014@H8llfire
Hey, sorry I overlooked your issue. I've fixed the issue, but I won't push a build until I add some other updates later on as to not bother Bukkit. I'll send you a PM with the comment fix though.
Image of fix results
-
View User Profile
-
Send Message
Posted Aug 2, 2014@RaycusMX
I'm not sure how you managed that. Are you using v1.3.3.1?
-
View User Profile
-
Send Message
Posted Aug 2, 2014Guys, what was that command to clear your pending command on the bone? Like if I had /vtclickremove, but I could type a command to remove that pending command?
I saw it somewhere, and looked in the commands list 5 times, but still couldnt find it. I remember seeing it somewhere...
-
View User Profile
-
Send Message
Posted Aug 2, 2014@RaycusMX
I wish somebody would be able to confirm the bug I reported, about comments being parsed as if they were scriptlines.
-
View User Profile
-
Send Message
Posted Aug 2, 2014I found a big problem about @ENDIF in the new 1.3.3. Now an @ENDIF can work like an @EXIT. Here is an example:
If $obj.var is true, I will see "TRUE", no "123". If $obj.var is false, I will see nothing. It looks like I put an @EXIT in the place of @ENDIF. This will make many scripts ineffective.
-
View User Profile
-
Send Message
Posted Aug 2, 2014@Gaurav1234
Probably not, but you can set it to a temp variable I suppose.
-
View User Profile
-
Send Message
Posted Aug 2, 2014Wooooooooooo! Awesome! This 1.3.3 is beyond my imagination!
-
View User Profile
-
Send Message
Posted Aug 1, 2014@Lyoko_Firelyte
Can <var:> still be used with arrays?
I mean if I did something like this
'@IF i $<var:@<getarea:<triggerloc>>.players[0]>.score = 0'
Would it work?
Thanks
-
View User Profile
-
Send Message
Posted Aug 1, 2014@Gaurav1234
No, arrays use the @ symbol because they need to be processed differently
-
View User Profile
-
Send Message
Posted Aug 1, 2014Hey,
This kinda confused me and I wanted to make sure it didn't confuse anyone else (And make sure that I'm right).
http://i.gyazo.com/21184c6a67b991d46646bfc74d410b7c.png
Aren't the "@obj.var" things supposed to be "$obj.var"?
-
View User Profile
-
Send Message
Posted Aug 1, 2014@Gaurav1234
Not at the moment as the commands are not really injected into the game, it's just a chat listener.
-
View User Profile
-
Send Message
Posted Aug 1, 2014I'm sure this has been asked before but I couldn't find it in the recent comments; is there a way to add tab-filling support for VT commands?
Thanks
-
View User Profile
-
Send Message
Posted Aug 1, 2014Hey,
I'm using VT 1.3.3.1 and area triggers seem to be broken.
This is my area trigger code:
http://pastebin.com/gakc3pQv
When I enter the area, it's supposed to send me a dot. It doesn't.
Am I doing something wrong?
Thanks
-
View User Profile
-
Send Message
Posted Aug 1, 2014It works exactly the same as "@CMDCON stringbuilder" from VTExtension. It allows you to take everything said after a certain number of arguments in a chat command, and turn it into one string.
"/note add KyadCK This player is an admin on this server"
+
"@STRBUILD $<cmdarg:2>.FunFact 2 <cmdline>"
=
String $KyadCK.FunFact "This player is an admin on this server"
You can then use that string and add it to a string list, or use it to apply lore to an item, or anything you want.
It's basicly SETSTR, but it has the ability to chose when to start reading for text. The number is the number of words/arguments to ignore before starting to build a string with the rest.
You can also use it like this if I remember correctly;
"@STRBUILD $<playername>.FunFact 2 <cmdline> -&6<systemtime:default> -&4<Playername>"
For String $KyadCK.FunFact "This player is an admin on this server &6-Friday, August, 01 13:12 &4-KyadCK"
-
View User Profile
-
Send Message
Posted Aug 1, 2014@Lyoko_Firelyte
Thank you so much for this update. I will be going back into my work and applying @DELOBJ.
It's nice to now have a valid test for an empty string that is stable. I assume that "s $Obj.Var = null" would also return true if the object or variable doesn't exist?
I see in 1.3.3 you added @STRBUILD. I can't quite wrap my head around this. Is this meant to be a text editor that adds content into a document with multiple lines of \n delimited text? Does it add a \n at the end of the text being added to make it a seperate line being inserted or does it apply raw text at the beginning of the next line? Would it be possible to see a few examples of how this is meant to be used? It's not meant to replace @ADDSTR, is it?
Thanks
-
View User Profile
-
Send Message
Posted Jul 31, 2014@Lyoko_Firelyte
Seems to work generally, CPU load is fine too, scripts are not getting canceled due to error, error is still being displayed on every comment in the script though.
-
View User Profile
-
Send Message
Posted Jul 31, 2014@H8llfire
Make a backup of your vardata just in case <3
-
View User Profile
-
Send Message
Posted Jul 31, 2014@Lyoko_Firelyte
Is my issue fixed? I am scared of trying it out ;)