Blockland Forums > Modification Help

need help with %arg 1

Pages: << < (6/6)

DYLANzzz:


--- Quote from: Honorable on August 05, 2010, 06:36:02 PM ---no syntax errors. But no GUI pops up still. I use like honormining. (me and a friend made a gui name honormining) But yea wont pop up.

--- End quote ---

Did you remember to execute the GUI file itself?

Headcrab Zombie:

The problem :

--- Code: ---if(!%arg)
    return;
--- End code ---

Since %arg is a string, and strings evaluate to 0, !%arg will evaluate to 1, and will return.

Switch back to if(%arg $= "") like the last several posts.
Or you could completely delete those two lines since the isObject check in the clientCmd does basically the same thing.

Pages: << < (6/6)

Go to full version