Mirage Engine
PM System issues - Printable Version

+- Mirage Engine (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: PM System issues (/showthread.php?tid=1074)



PM System issues - Coke - 01-07-2007

Basically i am simply firing the 'whos online list' into a listbox, the user selects someone in said listbox and then pm's are sent to them.

The issue is, if anyone signs in/out the listbox refreshes and the person you were talking to is lost...

Tried 32984982734274 ways to make it select the person you were talking to again, or simply be "", all to no avail.

Halp :


Re: PM System issues - William - 01-07-2007

In the
Code:
sub Listbox_click
add something like:

Code:
Savelast = list1.listindex
then always send the PM to
Code:
Savelast
instead of
Code:
list1.listindex
?


Re: PM System issues - Coke - 02-07-2007

Williams idea is perfect and flawless, with an online check on the pm send aswell; its smooth and works like a dream.

Thankyou William, this has troubled me for ages... just needed some new thinking -hug- Big Grin