Grats script using simplified regex

Published  Jan 20, 2011
Updated  Jan 20, 2011
0  4

Description

Was high one day, decided to make a grats script.

Syntax:

[!@.]grats|gratz|congrats|congratz [level|skill] [level|skill]

eg.

!grats 99 fishing
!congratz dungeoneering 115

Enjoy:)

Download

Filename
Size
Date
Downloads
1.14 KB
Jan 20, 2011
11

Comments

Sign in to comment.
Stewie1k94   -  Nov 05, 2012

-.- >.>

 Respond  
Jethro   -  Nov 05, 2012

Let it go already. This thread is history judging by the date. :-|

 Respond  
Stewie1k94   -  Nov 05, 2012

@Jethro - I don't think he wants the help. :/

 Respond  
Jethro   -  Jan 20, 2011

Your regex can be improved quite a bit:

/^[!@.]grat(s|z)|congrat(s|z)\b/iS
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.