I may be showing my noviceness, and or lack of understanding of the OP point but. Also incoming text crit =P
Err brain fart. but something like....
lua Code:
If Nobgul = isin $1 then
function Send_hello()
------stuff here.
else do
function You_Are_Not_The_One()
------stuff here.
end
end
I could have swore the "do" was just there to tell the command to fire. I am pretty sure that is the way it is in C++ anyway. meaning that the do command will always fire and the rest of the function will continue to work its self out. where if you used just a else then only 1 or the other would fire.
lua Code:
if Nobgul == isin $1 then do
function savename() then
-----something here
function ParseNameAndIssueCommand
-------- suff here
Basically what i am getting at is using the statment to
grab a name in chat
make sure the name matches a specific name, either way save the name
then if the name does match then issue the command or w/e
otherwise take the saved name and pass a diff command
else do
then do
etc..
Because there is also
do while
Anyway I think there may not be a need for it.