Text Event with colon - 23/05/11 08:42 AM
I am trying to use a text event that will trigger anytime someone posts an ip address in the channel, but if i use a colon in the text parsing slot it will break....
ON *:TEXT:*ipaddresshere*:*: {
set %ipline $1-
}
Honestly I was origonally just going to make it save the current line ($1-) anytime someone had a colon in it, but basically i want any arbitrary ip to trigger the event....
this is my first time scripting so i have been unsure how to do so
your help is appreciated!
-Nick
ON *:TEXT:*ipaddresshere*:*: {
set %ipline $1-
}
Honestly I was origonally just going to make it save the current line ($1-) anytime someone had a colon in it, but basically i want any arbitrary ip to trigger the event....
this is my first time scripting so i have been unsure how to do so
your help is appreciated!
-Nick