About Us
About Us
Latest News
Latest News
Privacy
Privacy
Press
Press
About Zugg Software
About Zugg Software
Zugg Software Home
Zugg Software Home
Products
Products
zMUD
zMUD
CMUD
CMUD
Purchase
Purchase
Zugg Software Store
Zugg Software Store
Downloads
Downloads
zMUD
zMUD
CMUD
CMUD
Support
Support
Documentation
Documentation
zMUD Support
zMUD Support
CMUD Support
CMUD Support
Create help request
Create help request
Lost registration code
Lost registration code
Forums
Forums
zMUD »
zMUD »
General Discussion
General Discussion
Developers Forum
Developers Forum
Finished Scripts
Finished Scripts
CMUD »
CMUD »
General Discussion
General Discussion
BETA Forum
BETA Forum
Zugg's Blog
Zugg's Blog
Contact Us
Contact Us
Site
Site
Register
Register
Search
Search
Search Forums
Search Forums
Search Knowledge Base
Search Knowledge Base
Member list
Member list
Groups
Groups
Register
to post in forums
, or
Log in
to your existing account
Site
Web
Enter your search terms
Home
»
Knowledge Base
»
CMUD
»
CMUD Manual Source
[Printable version]
Related
Contents
Function Reference
%abs
%additem
%addkey
%alarm
%alias
%ansi
%array
%arrget
%arrhigh
%arrset
%ascii
%average
%begins
%bitand
%bitnot
%bitor
%bitset
%bitshift
%bittest
%bitxor
%btncol
%btnenable
%btnimage
%case
%char
%charcomment
%charnotes
%class
%clip
%color
%colorname
%colorsyntax
%comactive
%comcreate
%comget
%comset
%concat
%copy
%count
%countlist
%crtonl
%db
%dbget
%dbitems
%dbkey
%dbkeys
%dblist
%dbmax
%dbmin
%dbvalues
%dde
%ddeclose
%ddemacro
%ddeopen
%ddepoke
%defined
%delete
%delitem
%delkey
%delnitem
%destroom
%dice
%diceavg
%dicedev
%dicemax
%dicemin
%doorname
%dups
%ends
%eval
%exec
%exp
%expand
%expanddb
%expandlist
%filesize
%find
%float
%format
%getglobal
%grep
%gsl
%handle
%hexcolor
%hexnum
%hexstr
%htmldecode
%htmlencode
%iconstate
%if
%insert
%int
%inwalk
%isfloat
%iskey
%ismember
%isnumber
%isvalue
%item
%json
%lastdir
%left
%leftback
%len
%line
%list
%literal
%look
%lower
%mapfilter
%maplocked
%mapquery
%mapvnum
%match
%max
%mcp
%min
%mod
%mss
%nextdir
%nltocr
%norm
%null
%number
%numbuttons
%numitems
%numkeys
%numparam
%numrec
%numrooms
%numwords
%numzones
%packages
%param
%params
%parsemode
%parsenumbers
%pat
%pathcompress
%pathexpand
%pathfrom
%pathreverse
%pick
%pop
%portal
%portalenabled
%pos
%pref
%priority
%prompt
%proper
%push
%query
%quote
%random
%read
%ref
%regex
%remove
%repeat
%replace
%replaceitem
%reversedir
%rgb
%right
%rightback
%roomcol
%roomcom
%roomcontents
%roomcost
%roomdesc
%roomexit
%roomflags
%roomid
%roomint
%roomkey
%roomkind
%roomlink
%roomload
%roommode
%roomname
%roomnote
%roomnum
%roomportal
%roomvnum
%roomzone
%round
%section
%setglobal
%sort
%sql
%sqldb
%sqrt
%state
%stdev
%string
%stripansi
%stripq
%subchar
%subregex
%sum
%switch
%threadid
%threadname
%time
%trigger
%trim
%trimleft
%trimright
%upper
%url
%vartype
%viewrec
%walk
%walkactive
%walkconfirm
%walkmode
%walkroom
%window
%word
%write
%yesno
%zonename
%zonenum
%zonevnum
%bittest
[[cmud_%bittest]]
Added in v3.27
bittest
Syntax: %bittest(i,bitnum)
Related:
%bitset
Test a bit within a numeric value and return true if it is set, false if it is not set.
bitnum
starts at 1.
Example
#SHOW %bittest(4,3)
1 (True)
#SHOW %bittest(0,3)
0 (False)
Viewer Comments
[0 - Post your comments]
Jump to:
Select a forum
General Forums
----------------
Announcements
CMUD and TeSSH Support
----------------
CMUD General Discussion
CMUD Beta Forum
TeSSH Discussion
MXP Developers
zMUD Support
----------------
zMUD General Discussion
Finished MUD Scripts
Other Forums
----------------
Website or Forum problems
Knowledge Base
Weblogs
----------------
Zugg's Blog
Older, unsupported Products
----------------
General zApp Discussion
SlightlyMorbid
zApp Developers
zMapper Discussion
zExplorer Discussion
© 2009 Zugg Software. Hosted by
Wolfpaw.net