+ Reply to Thread
Results 1 to 6 of 6

Thread: [E2 Extinsion] cl_info

  1. #1
    Wire Amateur freeman's Avatar
    Join Date
    Mar 2008
    Posts
    53

    Default [E2 Extinsion] cl_info

    Here's a few functions to find stuff like the players xfire, email, website ect... if you have those's variables set, players can read them now.
    getXfire() returns players xfire name
    getEmail() returns players email account
    getAIM() instant messenger
    getMSN() microsoft nets
    getGtalk() Gtalk
    ect...
    You can set these variables with cl_xfire, cl_email, cl_aim, ect...

    Code:
    /******************************************************************************/
    e2function string entity:getXfire()
    	if(!validEntity(this)) then return "" end
    	if(!this:IsPlayer()) then return "" end
    	return this:GetXFire()
    end
    
    e2function string entity:getEmail()
    	if(!validEntity(this)) then return "" end
    	if(!this:IsPlayer()) then return "" end
    	return this:GetEmail()
    end
    
    e2function string entity:getAIM()
    	if(!validEntity(this)) then return "" end
    	if(!this:IsPlayer()) then return "" end
    	return this:GetAIM()
    end
    
    e2function string entity:getMSN()
    	if(!validEntity(this)) then return "" end
    	if(!this:IsPlayer()) then return "" end
    	return this:GetMSN()
    end
    
    e2function string entity:getGtalk()
    	if(!validEntity(this)) then return "" end
    	if(!this:IsPlayer()) then return "" end
    	return this:GetGTalk()
    end
    
    e2function string entity:getWebsite()
    	if(!validEntity(this)) then return "" end
    	if(!this:IsPlayer()) then return "" end
    	return this:GetWebsite()
    end
    
    e2function string entity:getLocation()
    	if(!validEntity(this)) then return "" end
    	if(!this:IsPlayer()) then return "" end
    	return this:GetLocation()
    end
    /******************************************************************************/
    Posting to see if these would be useful to anyone besides myself, or just so you can add them to your custom e2 extensions.
    if all else fails, use Regular Wire Interface!

  2. #2
    aka Colonel Never Online Colonel Thirty Two's Avatar
    Join Date
    Oct 2009
    Posts
    2,683
    Blog Entries
    5

    Default Re: [E2 Extinsion] cl_info

    I think it's been done before; the thread is lost in a sea of new threads though. I don't see a use for this, other than making an E2 that gathers everyone's email address for spambots.

  3. #3
    Ursus maritimus Drunkie's Avatar
    Join Date
    Feb 2009
    Location
    Canada
    Posts
    5,662
    Blog Entries
    1

    Default Re: [E2 Extinsion] cl_info

    Yeah I think I have seen these before, but I wouldn't know where to find them. I could see these coming into use for some things, good work.

  4. #4
    Wire Sofaking Wizard of Ass's Avatar
    Join Date
    May 2009
    Location
    Germany Bremerhaven
    Posts
    1,044

    Default Re: [E2 Extinsion] cl_info

    Actually nearly noone has set these convars(even me because of privacy).
    seriously getting serious

  5. #5
    Ursus maritimus Drunkie's Avatar
    Join Date
    Feb 2009
    Location
    Canada
    Posts
    5,662
    Blog Entries
    1

    Default Re: [E2 Extinsion] cl_info

    Quote Originally Posted by Wizard of Ass View Post
    Actually nearly noone has set these convars(even me because of privacy).
    I'm sure everyone is dying to get a hold of you.

  6. #6
    Wire Amateur freeman's Avatar
    Join Date
    Mar 2008
    Posts
    53

    Default Re: [E2 Extinsion] cl_info

    Maybe just drop the email function as i could see people exploiting that, but it would be nice to share xfire and other account names. Email spam is mingy. Thanks for the feedback.
    if all else fails, use Regular Wire Interface!

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots