|
dacheeba Adept
Joined: 29 Oct 2001 Posts: 250
|
Posted: Mon Dec 03, 2001 7:06 am
Having Problems setting up a TellWindow... |
Hi, well, i was trying to use the TellWindow thats in the finished script forum, and I am running into 2 problems.
1. It is only catching 1 channel,instead of all of them.
---AND---
2. The channel it does catch(Nobletalk) gets spammed. ie it repeats every line twice.
This how my class is set up:
#CLASS {Windoze}
#VAR comms {tell|say|gossip|Nobletalk|yell|shout|whisper|Sn00bie|barters:|Friend|Tech} {tell|say|gossip|Nobletalk|yell|shout|whisper|Sn00bie|barters:|Friend|Tech}
#TRIGGER {^* {@comms}*: '%*'$} {
#gag
#CAP 1 Tells
}
#TRIGGER {^* {@comms}*:$ '%*'$} {
#gag
#CAP 2 Tells
}
#TRIGGER {^* {@comms}*:$ '%*$ %*'$} {
#gag
#CAP 3 Tells
}
#TRIGGER {^* {@comms}*:$ '%*$ %*$ %*'$} {
#gag
#CAP 4 Tells
}
#CLASS 0
As for the channels, they are all pretty much the same:
Someone Nobletalks: 'like this'
Someone barters: like this
Someone Tech: like this
The exceptions are as follows:
Someone tells you 'like this'
Someone says 'like this'
Hmm. just realized that othre than say and tell Nobletalk is the onlyone that gets quotes. That may be part of it, but it doesnt explain why says and tell arent working. And the repeat of the nobletalk is just plain annoying.
If you want to take a crack at this, or you have a good, all purpose Communications Capure Window that I can use, please post away :) |
|
|
|
Acaila Apprentice
Joined: 30 Aug 2001 Posts: 187 Location: Netherlands
|
Posted: Mon Dec 03, 2001 7:29 am |
It looks to me that indeed the other channels aren't working, because they don't have quotes in them. As for say and tell, the trigger pattern looks for a ":" which in turn they lack. You'll have to make seperate triggers for those two then, and adjust the other channels so they don't need quotes.
Acaila |
|
|
|
dacheeba Adept
Joined: 29 Oct 2001 Posts: 250
|
Posted: Mon Dec 03, 2001 7:45 am |
Hmmm, ok, well i got my says and tells working, but not the othere channels. Also, now everything but the tells repeats x3 in my window. Any input onhow to keep this from happening? Also a good solution to cature the other lines without quote would be nice :)
This is what my class look like now:
#CLASS {Windoze}
#VAR comms {tell|say|gossip|Nobletalk|yell|shout|whisper|Sn00bie|barters|Friend|Tech} {tell|say|gossip|Nobletalk|yell|shout|whisper|Sn00bie|barters|Friend|Tech}
#TRIGGER {^* {@comms}*: '%*'$} {
#gag
#CAP 1 Tells
}
#TRIGGER {^* {@comms}* '%*'$} {
#gag
#CAP 1 Tells
}
#TRIGGER {^* {@comms}*:$ '%*'$} {
#gag
#CAP 2 Tells
}
#TRIGGER {^* {@comms}*$ '%*'$} {
#gag
#CAP 2 Tells
}
#TRIGGER {^* {@comms}*:$ '%*$ %*'$} {
#gag
#CAP 3 Tells
}
#TRIGGER {^* {@comms}*$ '%*$ %*'$} {
#gag
#CAP 3 Tells
}
#TRIGGER {^* {@comms}*:$ '%*$ %*$ %*'$} {
#gag
#CAP 4 Tells
}
#TRIGGER {^* {@comms}*$ '%*$ %*$ %*'$} {
#gag
#CAP 4 Tells
}
#CLASS 0 |
|
|
|
dacheeba Adept
Joined: 29 Oct 2001 Posts: 250
|
Posted: Mon Dec 03, 2001 10:18 am |
ok i got it working, now, is there a way i can undock the window?
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|