This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Easyspeak

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
B
Besse
Voice
Posts: 8
Joined: Mon Aug 06, 2007 2:34 pm

Easyspeak

Post by Besse »

Hi i have loaded a script called Easyspeak view here

It is triggered by text, but not on actions like /me
I would like it to be triggered by action instead.

I would be glad if anyone could tell me what to do :)
User avatar
iamdeath
Master
Posts: 323
Joined: Fri Feb 11, 2005 2:32 pm
Location: *HeLL*
Contact:

Post by iamdeath »

http://legenstuen.net/scripts/EasySpeak.html


The requested URL could not be retrieved
|AmDeAtH @ Undernet
Death is only the *Beginning*...
B
Besse
Voice
Posts: 8
Joined: Mon Aug 06, 2007 2:34 pm

url

Post by Besse »

Oh my bad!
Made a typo.. this link should work better. easyspeak script
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

#Now I am sure there are better ways to do this so if you have any suggestions
#please feel free to email me at dalan2000@hotmail.com
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
B
Besse
Voice
Posts: 8
Joined: Mon Aug 06, 2007 2:34 pm

Post by Besse »

Alchera wrote:
#Now I am sure there are better ways to do this so if you have any suggestions
#please feel free to email me at dalan2000@hotmail.com
ehmm. what's with that quote Alchera .. ?
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Post by DragnLord »

The script's author made it clear to contact him/her about suggesting changes to the script.
Contact the author before asking people here to modify the script, it's called being polite.
User avatar
iamdeath
Master
Posts: 323
Joined: Fri Feb 11, 2005 2:32 pm
Location: *HeLL*
Contact:

Post by iamdeath »

Code: Select all

set trigbind -|-

set script(chan)    "#channel"

set script(trigger1) "!test"
set script(trigger2) "help"
set script(trigger3) "^help"
set script(trigger4) "@help"
set script(trigger5) "-help"

set script(text1) "Your text line comes here1."
set script(text2) "Your text line comes here2."
set script(text3) "Your text line comes here3."
set script(text4) "Your text line comes here4."
set script(text5) "Your text line comes here5."

bind ctcp $trigbind ACTION script:one

proc script:one {nick uhost hand chan kw arg} {
 global script
 set chan [string tolower $chan]
 set script(chan) [string tolower $script(chan)]
 if {$chan != $script(chan)} {return 0}
 if {[string match -nocase "$script(trigger1)" $arg]} {
  putquick "privmsg $chan :$script(text1)"
 }
 if {[string match -nocase "$script(trigger2)" $arg]} {
  putquick "privmsg $chan :$script(text2)"
 }
 if {[string match -nocase "$script(trigger3)" $arg]} {
  putquick "privmsg $chan :$script(text3)"
 }
 if {[string match -nocase "$script(trigger4)" $arg]} {
  putquick "privmsg $chan :$script(text4)"
 }
 if {[string match -nocase "$script(trigger5)" $arg]} {
  putquick "privmsg $chan :$script(text5)"
 }
return 0
}

putlog "Script loaded."
Ok it is tested and working fine, it will work on 1 channel only.

Enjoy
|AmDeAtH @ Undernet
Death is only the *Beginning*...
Post Reply