Raised This Month: $ Target: $400
 0% 

Getting part of a StatusText?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 08-26-2007 , 00:12   Getting part of a StatusText?
Reply With Quote #1

What I'm trying to do is use StatusText to report what class a spy has disguised into. I have been using this very inefficient piece of code:

Code:
register_event("StatusText", "CLASS_SCOUT", "b", "2&#Spy_disguised Blue #Scout")
Is there a way to hook the message by ignoring the team's name, and only reading what class comes after it?
M249-M4A1 is offline
 



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 16:15.


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