Raised This Month: $ Target: $400
 0% 

a motd window which opens up its last viewed


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
eagle.eye
Junior Member
Join Date: Feb 2009
Old 04-10-2009 , 12:51   a motd window which opens up its last viewed
Reply With Quote #1

hey guys i guess the title says pretty much everything, but ill put it in more detail.

i have a curent plugin which when a command is written a html based motd pops up and gives clients many options , after clients have chosen trought all there options and have clicked the ok butten, they find it anoying re openeing it from the start and searchign trought all teh querys.

is there a way where i can make a command (/lastviewed) which will trow up the motd with exactly wat was veiwed last by that client?

suggestions would be great

thanks
eagle.eye is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-10-2009 , 14:37   Re: a motd window which opens up its last viewed
Reply With Quote #2

I dont' think it's possible. Unless you cache it in on the webserver and have a unique identifier per client on the server. As far as AMXX goes I doubt it's possible.
__________________
fysiks is offline
eagle.eye
Junior Member
Join Date: Feb 2009
Old 04-10-2009 , 23:55   Re: a motd window which opens up its last viewed
Reply With Quote #3

thanx mate but im trying to think away from amxx it self

wat i mean by this basically , gett the server the open the motd without executing anything ,which would lead it to open the last veiwed motd, and i no it sound liek it aint possible but there is some logic in it..

ethier way ill keep at it thats for that
eagle.eye is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-11-2009 , 08:01   Re: a motd window which opens up its last viewed
Reply With Quote #4

Yeah, I thought about that too but I couldn't get the motd window open without telling it to open a specific page/document.
__________________
fysiks is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 04-11-2009 , 08:04   Re: a motd window which opens up its last viewed
Reply With Quote #5

You say you have like a quiz there and it's inserted in a database ? well... select the last row, easy...
if it's mysql: "SELECT * FROM `table` ORDER BY `id` DESC LIMIT 1;"
__________________
Hunter-Digital is offline
eagle.eye
Junior Member
Join Date: Feb 2009
Old 04-11-2009 , 13:04   Re: a motd window which opens up its last viewed
Reply With Quote #6

yea exactly i gave it a go and yes i couldnt get it to work or open without telling it to open something,

uhm hunter im not to sure wat ur saying, but u have given me an idea as to how and wat i can do, if i suceed ill share it, if i fail , well ;)

and in advance thanx guys
eagle.eye is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:27.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode