Author Topic: Simple VIP Script  (Read 6339 times)

long, 1 lined strings to a variable can potentially cause problems
Could you be more specific? Would you point it out?

I haven't come across any errors myself. Personally I barely ever use Return Blah; unless it's the only option. I think viso added those, I'll look into it tomorrow morning. 

It's not going to throw a syntax error - it's basically a memory leak, which is usually a logic error by the developer.

Like Elm said. You never delete the file in the checkVip function, because you put a return before you delete it.
Also, instead of doing:
Code: [Select]
if(%tag $= "")
{
}
else{
//Stuff
}
You can just do:
Code: [Select]
if(%tag !$= "")
{
//Stuff
}

can you make this work with vce

Like Elm said. You never delete the file in the checkVip function, because you put a return before you delete it.
Also, instead of doing:
Code: [Select]
if(%tag $= "")
{
}
else{
//Stuff
}
You can just do:
Code: [Select]
if(%tag !$= "")
{
//Stuff
}
Because I'm a forgetwad I tried if(!%stuff == %something)



like onvariabletrue>player>checkvip
That always works, because that's how events work...
Unless you mean vce_retroCheck, but that's handicapped and you should use modern VCE instead.

Just add <var:cl:vip> or something to use in VCE.

Because I'm a forgetwad I tried if(!%stuff == %something)
That doesn't work correctly.

Wait a second... aren't.. am... are we related? or something? be- n- yeah nevermind.


is it fixed?



Added VIP tags "\c4[VIP]"

well, like [VIP]

but with pink instead of black (pink on the forums looks weird), or some other catchy color like green or something.

VIP tags should be customizable with /setVipTag


No stuff Sherlock
Don't be a richard about it. I made most of this code.

Also why it in a folder in the zip..