|
| 27 Aug 2013 12:29 PM |
if item == nil then print("Missing.") else print("Yay") end
>>Lua error! Argument 1 missing or *nil*
[Me] Well, then you were supposed to print "Missing"! |
|
|
| Report Abuse |
|
|
| |
|
Voltorb56
|
  |
| Joined: 06 Aug 2009 |
| Total Posts: 5963 |
|
|
| 27 Aug 2013 12:30 PM |
| Well... it looks like it wants to argue with you. |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2013 12:39 PM |
| Exactly. The output isn't very friendly. |
|
|
| Report Abuse |
|
|
MTGS
|
  |
| Joined: 04 Jul 2013 |
| Total Posts: 2615 |
|
| |
|
| |
|
mordegard
|
  |
| Joined: 18 Jul 2013 |
| Total Posts: 1478 |
|
| |
|
|
| 27 Aug 2013 01:20 PM |
| Silly moderators moved it here. It used to be in Scripting Helpers. |
|
|
| Report Abuse |
|
|