Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 10-28-2005, 11:37 AM
Kensh
Fire Beetle
 
Join Date: Dec 2004
Posts: 7
Default Wildcard in writing perl?

Ok i was writing a quest and i got to the point where i needed a text wildcard to continue.. can someone give me an example (if there is one) of how to make it detect ANY text that is typed?

Code:
sub EVENT_SAY
{
	if($text =~/(Wildcard Here)/i)
Reply With Quote
  #2  
Old 10-28-2005, 02:18 PM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

if you really mean 'anything'.. just drop the if.... and learn perl.

if you mean something else, ask google
http://www.google.com/search?q=perl+regex
Reply With Quote
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 03:13 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3