This is a way better way to do options v1.1
authorJan Hasebos <davywebshowjan@gmail.com>
Mon, 27 Jun 2016 12:25:38 +0000 (14:25 +0200)
committerJan Hasebos <davywebshowjan@gmail.com>
Mon, 27 Jun 2016 12:25:38 +0000 (14:25 +0200)
levitateab.sk
levitatech.sk
levitateno.sk
levitatest.sk
levitateti.sk

index a2de79f..1200bcb 100644 (file)
@@ -1,8 +1,8 @@
 # Config
 
-variables:
+options:
 # Change the delay between uses
-       {levitate.config.delay} = 30
+       delay = 30
 
 
 
@@ -19,8 +19,8 @@ on sneak toggle:
        if {levitate.%player%.waited} is less than 1 seconds:
                stop
                
-       if {levitate.%player%.waited} is less than {levitate.config.delay} seconds:
-               set {levitate.%player%.waited.inverted} to difference between {levitate.config.delay} seconds and {levitate.%player%.waited}
+       if {levitate.%player%.waited} is less than {@delay} seconds:
+               set {levitate.%player%.waited.inverted} to difference between {@delay} seconds and {levitate.%player%.waited}
                execute console command "/tm amsg -silent %player% &cLevitate is on cooldown | %{levitate.%player%.waited.inverted}%"
                stop
                
index 4397875..6d14792 100644 (file)
@@ -1,8 +1,8 @@
 # Config
 
-variables:
+options:
 # Change the delay between uses
-       {levitate.config.delay} = 30
+       delay = 30
 
 
 
@@ -19,8 +19,8 @@ on sneak toggle:
        if {levitate.%player%.waited} is less than 1 seconds:
                stop
                
-       if {levitate.%player%.waited} is less than {levitate.config.delay} seconds:
-               set {levitate.%player%.waited.inverted} to difference between {levitate.config.delay} seconds and {levitate.%player%.waited}
+       if {levitate.%player%.waited} is less than {@delay} seconds:
+               set {levitate.%player%.waited.inverted} to difference between {@delay} seconds and {levitate.%player%.waited}
                send "&cLevitate is on cooldown | %{levitate.%player%.waited.inverted}%"
                stop
                
index 1ee7310..2cf6124 100644 (file)
@@ -1,8 +1,8 @@
 # Config
 
-variables:
+options:
 # Change the delay between uses
-       {levitate.config.delay} = 30
+       delay = 30
 
 
 
@@ -18,8 +18,8 @@ on sneak toggle:
        if {levitate.%player%.waited} is less than 1 seconds:
                stop
                
-       if {levitate.%player%.waited} is less than {levitate.config.delay} seconds:
-               set {levitate.%player%.waited.inverted} to difference between {levitate.config.delay} seconds and {levitate.%player%.waited}
+       if {levitate.%player%.waited} is less than {@delay} seconds:
+               set {levitate.%player%.waited.inverted} to difference between {@delay} seconds and {levitate.%player%.waited}
                stop
                
        execute console command "/fly %player% on"
index 4cfb3d9..e32ff18 100644 (file)
@@ -1,8 +1,8 @@
 # Config
 
-variables:
+options:
 # Change the delay between uses
-       {levitate.config.delay} = 30
+       delay = 30
 
 
 
@@ -19,8 +19,8 @@ on sneak toggle:
        if {levitate.%player%.waited} is less than 1 seconds:
                stop
                
-       if {levitate.%player%.waited} is less than {levitate.config.delay} seconds:
-               set {levitate.%player%.waited.inverted} to difference between {levitate.config.delay} seconds and {levitate.%player%.waited}
+       if {levitate.%player%.waited} is less than {@delay} seconds:
+               set {levitate.%player%.waited.inverted} to difference between {@delay} seconds and {levitate.%player%.waited}
                execute console command "/titlemanager msg -silent %player% <nl>&cLevitate is on cooldown | %{levitate.%player%.waited.inverted}%"
                stop
                
index 1ae5b14..3529593 100644 (file)
@@ -1,8 +1,8 @@
 # Config
 
-variables:
+options:
 # Change the delay between uses
-       {levitate.config.delay} = 30
+       delay = 30
 
 
 
@@ -19,8 +19,8 @@ on sneak toggle:
        if {levitate.%player%.waited} is less than 1 seconds:
                stop
                
-       if {levitate.%player%.waited} is less than {levitate.config.delay} seconds:
-               set {levitate.%player%.waited.inverted} to difference between {levitate.config.delay} seconds and {levitate.%player%.waited}
+       if {levitate.%player%.waited} is less than {@delay} seconds:
+               set {levitate.%player%.waited.inverted} to difference between {@delay} seconds and {levitate.%player%.waited}
                execute console command "/titlemanager msg -silent %player% &cLevitate is on cooldown | %{levitate.%player%.waited.inverted}%"
                stop
                
This page took 0.15551 seconds and 4 git commands to generate.