| View previous topic :: View next topic |
| Author |
Message |
Besse Voice
Joined: 06 Aug 2007 Posts: 8
|
Posted: Thu Aug 16, 2007 11:31 am Post subject: Easyspeak |
|
|
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  |
|
| Back to top |
|
 |
iamdeath Master

Joined: 11 Feb 2005 Posts: 323 Location: *HeLL*
|
|
| Back to top |
|
 |
Besse Voice
Joined: 06 Aug 2007 Posts: 8
|
Posted: Thu Aug 16, 2007 12:38 pm Post subject: url |
|
|
Oh my bad!
Made a typo.. this link should work better. easyspeak script |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Thu Aug 16, 2007 8:32 pm Post subject: |
|
|
| Quote: | #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 |
|
| Back to top |
|
 |
Besse Voice
Joined: 06 Aug 2007 Posts: 8
|
Posted: Fri Aug 17, 2007 6:50 am Post subject: |
|
|
| Alchera wrote: | | Quote: | #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 .. ? |
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Fri Aug 17, 2007 8:48 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
iamdeath Master

Joined: 11 Feb 2005 Posts: 323 Location: *HeLL*
|
Posted: Fri Aug 17, 2007 5:48 pm Post subject: |
|
|
| Code: | 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*... |
|
| Back to top |
|
 |
|