-
Notifications
You must be signed in to change notification settings - Fork 15
verify
Eric Davis edited this page Apr 2, 2018
·
1 revision
- Author: Bast
- a module to verify data types
- See the Installation Page
the following functions can be used to verify data, if the data is not valid for that type, nil is returned
verify_colour
Accepts
nil or emptystring will show PickColour dialog
int between 0 and 16777215
#000000 to #FFFFFF
colour names such as gold, red
Does not accept
arguments with " or ' in them are automatically invalid
stuff to put in args table
silent - if true, will not show PickColour dialog
verify_string
Accepts
anything that can be turned into a string
verify_number
Accepts
anything that can be turned into a string
stuff to put in args table
low - the lowest value the data can be
high - the highest value the data can be
silent - if true, will not print any errors
verify_bool
Accepts
booleans
the string true and the number 1 will convert to the boolean true
the string false and the number 0 will convert to the boolean false
Intro
Installation
Troubleshooting
Tips For VI Users
FAQ
Creating Plugins Based On Bastmush
Bastmush Plugins
- Aardwolf_Regen<\li>
- bast_spellup<\li>
- combattracker<\li>
- bast_hunt<\li>
- eqDB<\li>
- eqSets<\li>
- miniwin_cp<\li>
- miniwin_double<\li>
- miniwin_eq<\li>
- miniwin_events<\li>
- miniwin_example<\li>
- miniwin_gq<\li>
- miniwin_help<\li>
- miniwin_map<\li>
- miniwin_moons<\li>
- miniwin_noexp<\li>
- miniwin_quest<\li>
- miniwin_spellup<\li>
- miniwin_stats<\li>
- miniwin_tabbar<\li>
- notes<\li>
- planesmobs<\li>
- pluginlist<\li>
- setupchar<\li>
- StatDB<\li>
- StatMonitor<\li>
Internal bastmush Plugins (do not load these unless needed)
- areaDB<\li>
- broadcast_cp<\li>
- broadcast_double<\li>
- broadcast_gq<\li>
- broadcast_idle<\li>
- broadcast_invmon<\li>
- broadcast_kills<\li>
- broadcast_level<\li>
- broadcast_noexp<\li>
- broadcast_quest<\li>
- broadcast_runto<\li>
- broadcast_spellsskills<\li>
- broadcast_state<\li>
- broadcast_whois<\li>
- fix<\li>
- update_checker<\li>
Support files for bastmush
- objectlua<\li>
- aardutils<\li>
- aarddb<\li>
- chardb<\li>
- eqdb<\li>
- ldplugin<\li>
- miniwin<\li>
- mastertab<\li>
- pluginhelper<\li>
- phelpobject<\li>
- stringfuncs<\li>
- sqlitedb<\li>
- verify<\li>
- tablefuncs<\li>