Games
Developers
Forums
More
BYOND
Download
Developer Guide
Developer Reference
Support
Terms of Service
Membership
Contact Us
Many features on this site require JavaScript. Please enable JavaScript support in your browser.
Register
Login
BYOND Forums
Announcements
·
BYOND Help
·
Bug Reports
·
Feature Requests
·
Beta Testers
·
Beta Bugs
·
Developer Help
·
Design Philosophy
·
Demos & Libraries
·
Tutorials & Snippets
·
Art & Sound
·
Classified Ads
·
Game Updates
·
Contests & Events
·
Linux Talk
·
On Topic
·
Off Topic
Whats wrong with this code i get an error saying....
[Tips]
ID:176840
Dec 3 2002, 5:46 pm
Koolguy900095
The error says missing expression...here's the code:
if(src.level=15)
src.level++
src.maxexperience+=1139
src<<"You gained are now level [src.level]!"
src.Statup2()
Dec 3 2002, 5:48 pm
Shy_guy197
if(src.level==15)
you need the extra == to express it in a if command
Dec 3 2002, 5:52 pm
In response to
Shy_guy197
Koolguy900095
thanks
Dec 3 2002, 5:55 pm
In response to
Koolguy900095
Shy_guy197
your welcome
Copyright © 2025 BYOND Software. All rights reserved.
you need the extra == to express it in a if command