PCTechTalkhttp://www.pctechtalk.com/forums/

Go Back   PCTechTalk > Community > PCTechTalk IRC (#pctechtalk.com)

Reply
 
LinkBack Thread Tools Display Modes
Old 11-14-2003, 03:34 AM   #16 (permalink)
Registered User
 
Join Date: Oct 2003
Location: UK
Posts: 6
Mick
ok, soz guys seemed to have stirred some things up here, ill try n cover them all

1.. my bad, slight typo, i shoulda typed $2
2.. the usage on 1:text:!massvoice:*: basically means on text in chan pm notice basically anyway, if i am wrong i apologise.
Hence me pointing out, if i were to pm the "Bot" how would it know what $chan was, ok i agree if typed in the channel it would recognise what $chan was, via private message and notice, it would simple error, not knowing where the variable $chan was intended for, which was why i suggested using on 1:text:!massvoice *:*: and changing all the $chan identifyers to $2 which would on typing !massvoice #channame set $2 to #channame but if its working fine with the trigger in pm, my bad, sorry

3.. the differences between # * ?

on 1:TEXT:blah:#: is in channel only
on 1:TEXT:blah:?: is in pm only
on 1:TEXT:blah:*: is anywhere

4.. access levels, ok, nice scripts, but whats wrong with using auser levels such as level 100 users only to activate the trigger, usage: on 100:TEXT!massvoice:*:
seems like alot of swings and roundabouts to me

ok if i missed anything please advise, nice work guys, keep it up
Mick is offline   Reply With Quote
Old 11-14-2003, 03:45 AM   #17 (permalink)
Da House Nerd
 
greffov's Avatar
 
Join Date: Dec 1969
Location: One CPU Lane
Posts: 3,512
greffov will become famous soon enough
Quote:
Originally posted by Mick
3.. the differences between # * ?

on 1:TEXT:blah:#: is in channel only
on 1:TEXT:blah is in pm only
on 1:TEXT:blah:*: is anywhere
Ah... ok, thanks... I got work to do! LOL
Quote:

4.. access levels, ok, nice scripts, but whats wrong with using auser levels such as level 100 users only to activate the trigger, usage: on 100:TEXT!massvoice:*:
seems like alot of swings and roundabouts to me
1. I don't know the userlevels + numbers,
2. we seem to be all op, so we needed to distinguish another way round.
__________________
Linux virusscanner detected a virus:
Windows 95 ... delete [Y/n] y
~
~

:wq
greffov is offline   Reply With Quote
Old 11-15-2003, 05:38 PM   #18 (permalink)
Da House Nerd
 
greffov's Avatar
 
Join Date: Dec 1969
Location: One CPU Lane
Posts: 3,512
greffov will become famous soon enough
It seemed p2pchat.net holds off a limit of max 12 voices/devoices at a time, so I had to change my script slightly in order to overcome this problem:
Code:
on 1:text:!massvoice:*: {
  ; find out if we are op and the user issuing the command is op too.
  ; If not, stop the script...
  if ($me !isop $chan || $nick !isop $chan) {
    msg $chan Either you ( $+ $nick $+ ) or me ain't op in $chan
    halt
  }

  ; iterate through all members in the chan
  var %i, %voicestr
  set %i 1
  ; we request only users which have no state (yet)
  while ($nick($chan, %i, a, voh)) {
    set %voicestr v $+ %voicestr $nick($chan, %i, a, voh)
    set %i $calc(%i + 1) 
    if ($calc(%i % 13) == 0) {
      mode $chan + $+ %voicestr
      unset %voicestr
    }
  }
  mode $chan + $+ %voicestr
}

on 1:text:!massdevoice:*: {
  ; find out if we are op and the user issuing the command is op too.
  ; If not, stop the script...
  if ($me !isop $chan || $nick !isop $chan) {
    msg $chan Either you ( $+ $nick $+ ) or me ain't op in $chan
    halt
  }

  ; iterate through all members in the chan
  var %i, %voicestr
  set %i 1
  ; we request only users which have state v
  while ($nick($chan, %i, v)) {
    set %voicestr v $+ %voicestr $nick($chan, %i, v)
    set %i $calc(%i + 1) 
    if ($calc(%i % 13) == 0) {
      mode $chan - $+ %voicestr
      unset %voicestr
    }
  }
  mode $chan - $+ %voicestr
}
__________________
Linux virusscanner detected a virus:
Windows 95 ... delete [Y/n] y
~
~

:wq
greffov is offline   Reply With Quote
Old 12-29-2003, 01:46 AM   #19 (permalink)
Doof Doof Doof
 
MuDsHaNeY's Avatar
 
Join Date: Apr 2003
Location: SyDney, AuS
Posts: 329
MuDsHaNeY is on a distinguished road
www.destiny.cjb.net

DEsTiNy ZeRo!!!!

HaeAhAEa My aNNoYinG scRipT ^_^
__________________
= MuDsHaNeY =

The gremlings... they come in the night... mostly
MuDsHaNeY is offline   Reply With Quote
Old 05-05-2004, 02:30 PM   #20 (permalink)
Something is broken
 
Calyxa's Avatar
 
Join Date: Jan 2003
Posts: 305
Calyxa is on a distinguished road
Useful scripts for Trillian can be found here:

http://www.civillians.com/download.php

Courtesy of Lion!
__________________
"We are a spirit, we are a natural part of the earth, and all of our ancestors, all of our relations who have gone to the spirit world, they are here with us. That's power." - John Trudell

Calyxa is offline   Reply With Quote
Old 05-05-2004, 07:36 PM   #21 (permalink)
Staff
 
Lion7718's Avatar
 
Join Date: Mar 2003
Location: Florida
Posts: 2,317
Lion7718 will become famous soon enough
aww...thank you for the mention
__________________
"Protect me from my friends, I can take care of my enemies"
You better not be touching my mannequin
Lion7718 is offline   Reply With Quote
Old 05-12-2004, 01:53 PM   #22 (permalink)
Something is broken
 
Calyxa's Avatar
 
Join Date: Jan 2003
Posts: 305
Calyxa is on a distinguished road
Sure ! I also wanted a place to store the url u gave me so i could get at it from home

Here is another site i came across : http://trillian.net.ru/irc/irc.html

Lion, darling if you're not too busy could you help me a bit more?

1) how do i unload a script ? I found the command to load :
/load scripts/scriptname.ts
but i dont rightly know how to unload it.
I tried /unload scripts/scriptname.ts
but with no result.

Also, I saved and loaded the aliases script but when i highlight a name and right click it i dont see the aliases.... how does one use the aliases if it isn't on the right click on-context menu?

thanks you rock!
__________________
"We are a spirit, we are a natural part of the earth, and all of our ancestors, all of our relations who have gone to the spirit world, they are here with us. That's power." - John Trudell

Calyxa is offline   Reply With Quote
Old 05-12-2004, 01:57 PM   #23 (permalink)
Staff
 
Lion7718's Avatar
 
Join Date: Mar 2003
Location: Florida
Posts: 2,317
Lion7718 will become famous soon enough
When you shut Trillian down...it will unload...you have to load it again on startup.
__________________
"Protect me from my friends, I can take care of my enemies"
You better not be touching my mannequin
Lion7718 is offline   Reply With Quote
Old 05-12-2004, 02:04 PM   #24 (permalink)
Something is broken
 
Calyxa's Avatar
 
Join Date: Jan 2003
Posts: 305
Calyxa is on a distinguished road
ah i see thank you! you rawk. but... how to i use the Aliases?
__________________
"We are a spirit, we are a natural part of the earth, and all of our ancestors, all of our relations who have gone to the spirit world, they are here with us. That's power." - John Trudell

Calyxa is offline   Reply With Quote
Old 05-12-2004, 02:20 PM   #25 (permalink)
Staff
 
Lion7718's Avatar
 
Join Date: Mar 2003
Location: Florida
Posts: 2,317
Lion7718 will become famous soon enough
Open the ts file with Notepad...it has instructions inside....I have never tried that one before.
__________________
"Protect me from my friends, I can take care of my enemies"
You better not be touching my mannequin
Lion7718 is offline   Reply With Quote
Old 07-10-2004, 11:49 AM   #26 (permalink)
Adz
Registered User
 
Adz's Avatar
 
Join Date: May 2004
Posts: 5
Adz
Hello Lion + Calyxa

*scratches butt*

ahh, i needed to do that the whole day!
Adz is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 12:06 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
2001 PCTechTalk