Raised This Month: $12 Target: $400
 3% 

register_menucmd()


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MagicShot
Senior Member
Join Date: Mar 2004
Location: MN
Old 03-22-2004 , 21:09   register_menucmd()
Reply With Quote #1

register_menucmd(register_menuid("Disable the* "),(1<<0)|(1<<1)|(1<<2)|(1<<3),"vote_coun t")

Is something Like this possible.
__________________
|v|agic$hot
.
Without a Sound
MagicShot is offline
Send a message via MSN to MagicShot Send a message via Yahoo to MagicShot
BAILOPAN
Join Date: Jan 2004
Old 03-22-2004 , 21:57  
Reply With Quote #2

why the *?
it catches anything matching the first of your text
so if you register "HELLO"
"H", "HE", "HEL", "HELL", won't mach
but "HELLO" and "HELLO EVERYONE" will
__________________
egg
BAILOPAN is offline
MagicShot
Senior Member
Join Date: Mar 2004
Location: MN
Old 03-22-2004 , 22:01   hmm
Reply With Quote #3

This would work than..

Code:
register_menucmd(register_menuid("Disable the"),(1<<0)|(1<<1)|(1<<2)|(1<<3),"vote_count")

Because I want to use an array make the menu system to eliminate extra coding..
__________________
|v|agic$hot
.
Without a Sound
MagicShot is offline
Send a message via MSN to MagicShot Send a message via Yahoo to MagicShot
BAILOPAN
Join Date: Jan 2004
Old 03-22-2004 , 22:06  
Reply With Quote #4

yup that works
__________________
egg
BAILOPAN is offline
MagicShot
Senior Member
Join Date: Mar 2004
Location: MN
Old 03-22-2004 , 22:08   ok
Reply With Quote #5

Thanx Bailopan..
__________________
|v|agic$hot
.
Without a Sound
MagicShot is offline
Send a message via MSN to MagicShot Send a message via Yahoo to MagicShot
Reply


Thread Tools
Display Modes

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 04:28.


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