1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
aboy5643
|
  |
| Joined: 08 Oct 2010 |
| Total Posts: 5458 |
|
|
| 20 Aug 2011 09:00 AM |
You never define adminzz...
I love making dooly-bops. ~ArceusInator |
|
|
| Report Abuse |
|
|
Fl0x
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 5169 |
|
|
| 20 Aug 2011 09:01 AM |
@aboy function adminz(adminzz)
adminzz is a placeholder parameter in the function. |
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
aboy5643
|
  |
| Joined: 08 Oct 2010 |
| Total Posts: 5458 |
|
|
| 20 Aug 2011 09:03 AM |
His function is never called, so the argument adminzz is never defined. K?
I love making dooly-bops. ~ArceusInator |
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
aboy5643
|
  |
| Joined: 08 Oct 2010 |
| Total Posts: 5458 |
|
|
| 20 Aug 2011 09:05 AM |
I just stated your issue. You never call the function with the argument adminzz...
I love making dooly-bops. ~ArceusInator |
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
aboy5643
|
  |
| Joined: 08 Oct 2010 |
| Total Posts: 5458 |
|
|
| 20 Aug 2011 09:07 AM |
function Name(arg) return arg end
blah = 1
print(Name(blah)) a = Name(blah)
etc...
I love making dooly-bops. ~ArceusInator |
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
aboy5643
|
  |
| Joined: 08 Oct 2010 |
| Total Posts: 5458 |
|
|
| 20 Aug 2011 09:11 AM |
adminz(WHATEVER YOU WANT THE ARGUMENT NAMED ADMINZZ TO BE)
I love making dooly-bops. ~ArceusInator |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2011 09:12 AM |
| You made this script so wrong..sorry.... :/ |
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
aboy5643
|
  |
| Joined: 08 Oct 2010 |
| Total Posts: 5458 |
|
|
| 20 Aug 2011 09:17 AM |
adminzz is never defined though... And normally you wanna make it return something when calling a function.
I love making dooly-bops. ~ArceusInator |
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
aboy5643
|
  |
| Joined: 08 Oct 2010 |
| Total Posts: 5458 |
|
|
| 20 Aug 2011 09:21 AM |
Erm... It's kinda hard to explain it all... I'll use an example
function MyFunction(argument) return argument end
a = "Hello, world!" b = MyFunction(a)
print(b)
That would print in the output "Hello, world!" See it??
I love making dooly-bops. ~ArceusInator |
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
aboy5643
|
  |
| Joined: 08 Oct 2010 |
| Total Posts: 5458 |
|
|
| 20 Aug 2011 09:28 AM |
But now you've redefined admin and admin is no longer the table.
I love making dooly-bops. ~ArceusInator |
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
aboy5643
|
  |
| Joined: 08 Oct 2010 |
| Total Posts: 5458 |
|
|
| 20 Aug 2011 09:30 AM |
You originally had admin = {"Name", "Name", etc...} But then you changed it when you named the argument in your function admin. See??
I love making dooly-bops. ~ArceusInator |
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
aboy5643
|
  |
| Joined: 08 Oct 2010 |
| Total Posts: 5458 |
|
|
| 20 Aug 2011 09:33 AM |
You're not really returning anything though except the table of names... You have to make it useful at least...
I love making dooly-bops. ~ArceusInator |
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|