Author Topic: Scripting "What Is"  (Read 4230 times)

TheCellist42

  • Full Member
  • ***
  • Posts: 143
    • TheCellist42.com
Scripting "What Is"
« on: February 09, 2008, 05:55:36 PM »
Is There Anyway I Can Write A Script With A "What Is" Trigger, Instead Of An "!" Trigger?

When Ever I Try To Replace The ! Script With "What Is," I Get An Error Message, What Can I Do To Fix It?
~ Sam
~ Visit my website at http://www.TheCellist42.com

Snerf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1968
    • IceChat IRC Client
Re: Scripting "What Is"
« Reply #1 on: February 09, 2008, 10:37:51 PM »
Please paste what you have, then we can tell you what is wrong with it.
The IceChat God

TheCellist42

  • Full Member
  • ***
  • Posts: 143
    • TheCellist42.com
Re: Scripting "What Is"
« Reply #2 on: February 11, 2008, 03:29:35 PM »
on *:TEXT:what is sam:#SamF:{
/say More Like "Who Is" Really...But, Sam Is A Geek With Too Much Time!
}

I Want It To Trigger By Typing What Is Sam, What Did I Do Wrong, and How Can I Fix It?
~ Sam
~ Visit my website at http://www.TheCellist42.com

BigRed

  • Guest
Re: Scripting "What Is"
« Reply #3 on: February 11, 2008, 03:56:19 PM »
you can use wildcards (*) for case sensitivity, if you want it to go off when you say that use the on INPUT instead of on TEXT. or you can always use both so everyone can ask what (or who rather) sam is.

TheCellist42

  • Full Member
  • ***
  • Posts: 143
    • TheCellist42.com
Re: Scripting "What Is"
« Reply #4 on: February 11, 2008, 04:02:56 PM »
Couldn't Get It To Work...Could You Post An Example, Or Provide More Help Please?
~ Sam
~ Visit my website at http://www.TheCellist42.com

BigRed

  • Guest
Re: Scripting "What Is"
« Reply #5 on: February 11, 2008, 04:17:14 PM »
on *:TEXT:what is sam:#:/msg $chan More like "Who Is" Really...But, Sam Is A Geek With Way Too Much Time

or if you don't want it to start lowercase or if you want to allow it to be midsentance, add a ? etc. if you want the option for Sam to be capitalized then replace the s with *

on *:TEXT:*hat is sam*:#:/msg $chan More like "Who Is" Really...But, Sam Is A Geek With Way Too Much Time

if you want to test it out yourself replace the on *:TEXT: with on *:INPUT:

TheCellist42

  • Full Member
  • ***
  • Posts: 143
    • TheCellist42.com
Re: Scripting "What Is"
« Reply #6 on: February 11, 2008, 04:50:37 PM »
Thanks
~ Sam
~ Visit my website at http://www.TheCellist42.com

BigRed

  • Guest
Re: Scripting "What Is"
« Reply #7 on: February 11, 2008, 09:15:15 PM »
You are very welcome.