Raised This Month: $ Target: $400
 0% 

How to detect argument empty?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 10-25-2005 , 17:35  
Reply With Quote #9

Quote:
Originally Posted by XxAvalanchexX
argument_count doesn't know anything, you tell it what it is supposed to do, that's it. For example, cmd_access(id,level,cid,3), argument_count is not a predefined variable like the other three.
so that means if argument 3 is empty nothing happends?

but i wanna do if argument 5 is empty it goes to next thing... the thing with 4 arguments. and if argument 4 isn't found it will use next, the one with 3 arguments...
cani do it like this?:
(!0,0,0,5) {
lalala
}
(!0,0,0,4) {
something else
}

btw... wtf is level and cid?

and it still works... so it doesn't matters

BUT if i wanna show the result that got most votes in my votings, how do i do. i checked the adminvote but i got really confused lol
i have 2-4 options... can some1 just help me with the easiest way to do it
[ --<-@ ] Black Rose is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode