obj |
Problem description:loading Sagas.dme
loading Macro.dms
objs.dm:3013:error:M.powerlevel:undefined var
objs.dm:3014:error:M.Die:undefined var
Sagas.dmb - 2 errors, 0 warnings (double-click on an error to jump to it)
ID:141843
Oct 24 2008, 7:40 pm
|
||
Code:
Problem description:loading Sagas.dme loading Macro.dms objs.dm:3013:error:M.powerlevel:undefined var objs.dm:3014:error:M.Die:undefined var Sagas.dmb - 2 errors, 0 warnings (double-click on an error to jump to it) | ||
#2 Oct 24 2008, 9:21 pm
|
|
Many Thanks =D
| |
You don't need to replace M with usr. Just indent the 2 lines after the for loop and it should work fine.
| |
#5 Oct 25 2008, 7:20 am
|
|
You didn't indent correctly. Don't follow everyone else's advice; they misread your code by the looks of it. Look up the for() proc (the list one).
Also, you don't appear to know how to output messages correctly. What are the parenthesis after your text supposed to do, exactly? Also, you don't need to put usr in range(). range(), oview(), view(), orange(), input(), alert(), etc. default to usr. | |
you do need to indent to target the mobs that you are searching for. If you don't then the for() loop is useless. Leaving it like it is just looks up mobs but doesn't do anything with them. The error tells you that because the var that you defined with the var/mob/M only refers to things indented under it. If you indent then your errors will go away.
| |
Also since it's a for loop right there, you might want to indent.