| www.ClassicTW.com http://classictw.com/ |
|
| Mombot modules: detect whether module was called by user http://classictw.com/viewtopic.php?f=15&t=35228 |
Page 1 of 1 |
| Author: | Hotblack Desiato [ Sat Apr 21, 2018 8:56 am ] |
| Post subject: | Mombot modules: detect whether module was called by user |
I could have sworn years ago I'd found a way to detect from a module whether the module had been called by the local user or by a corpy, but now I can't figure it out without modifying mombot. Looks like the $self_command var keeps track of this, but is not saved and so can't be used by modules. Is that correct, or am I missing something? |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|