|
|
#1555 - 04/08/08 10:08 AM
Re: Triggers (like !rules)
[Re: Sam Ferry]
|
n00b
Registered: 04/07/08
Posts: 17
Loc: canada
|
thanks usrbingeek that was relly helpful.
_________________________
O is for on the dark side, beacouse we have some fresh cookies. (COOKIES) WOO!
|
|
Top
|
|
|
|
Sponsored Links
Member
    
Registered: 27/08/04
Posts: 10136
Loc: Mountain View, CA
|
|
|
Top
|
|
|
|
#1556 - 04/08/08 01:33 PM
Re: Triggers (like !rules)
[Re: usrbingeek]
|
newbie
Registered: 03/26/08
Posts: 33
Loc: Everett, WA
|
So, since Pixie can also add those triggers from the web, can somebody edit that or tell me how to make the script get a list of triggers from the web. (or something similar) thanks!
_________________________
Hi. I am a forum signature virus. Paste me to your signature(s). *evil laugh*
Pctech37 G33k Recognized WyldRyde Life Form #Chris - VOP #DavisCreation - SOP #davisops - Founder #gtaivchat - SOP #Karol - HOP #mancode - 5 #McInTEC - VOP #pctech37 - Founder #pctech37poker - Founder #sports - Founder #turtles - HOP
|
|
Top
|
|
|
|
#1557 - 04/08/08 01:37 PM
Re: Triggers (like !rules)
[Re: Pctech37]
|
Registered: 10/23/06
Posts: 116
Loc: Warwick, UK
|
The triggers list is in a password protected area and is not availiable to non-staff.
Phil
_________________________
WyldRyde Global Admin. Owner of Cylon and Mars Co-Owner of Enterprise Lusci.Com
|
|
Top
|
|
|
|
#1758 - 04/26/08 03:29 PM
Re: Triggers (like !rules)
[Re: Sam Ferry]
|
Over 50 posts
Registered: 03/18/08
Posts: 50
Loc: Califotnia
|
Nice. I have a nice little chatroom and made tons of what is commands! I also added things such as !winner and !topic
_________________________
<witty comment here>
|
|
Top
|
|
|
|
#2053 - 05/13/08 07:59 PM
Re: Triggers (like !rules)
[Re: se7enFold]
|
newbie
Registered: 02/08/08
Posts: 45
Loc: Illinois, USA
|
se7enFold: To Make network specific add an: If ($network == WyldRyde) { ^^^ For Example ^^^ -Sam
|
|
Top
|
|
|
|
#2054 - 05/14/08 12:53 AM
Re: Triggers (like !rules)
[Re: Sam Ferry]
|
Registered: 07/31/06
Posts: 512
Loc: Burlington, VT
|
Oops, sorry, I missed your question se7enFold. So the complete example that would limit the trigger to a channel on a specific network is:
on 1:text:!rules:#channel: {
if ($network == WyldRyde) {
if (($calc(($ctime - %lastupdatetime)) >= 15) || (!%lastupdatetime)) {
set %lastupdatetime $ctime
/msg $chan Your-rules-or-message-goes-here
}
}
}
_________________________
WyldRyde IRC Network Steve Mermelstein Root Admin #!/usr/bin/geek My Amazon.com WishlistPlease no PMs. Please post to a topic instead so your question(s) may benefit others.
|
|
Top
|
|
|
|
#2986 - 08/28/08 11:33 AM
Re: Triggers (like !rules)
[Re: ZTecWiz]
|
Over 50 posts
Registered: 07/24/08
Posts: 75
Loc: Winnipeg, Manitoba, Canada
|
You can get a bot like Woz that will add commands to your channel without using scripts on mIRC, like !rules and the "what is" commands. If you want to use him join #woz and request him for your channel.
_________________________
Founder of #techman, #advertising, and #startrek SOP in #vistaops, #ryanbecker, and #techhelper AOP in #GeniusBar, #sam-ops, #vista, and #icomputer HOP in #MRA, #samf, and #yertalert VOP in #buracelive, #Chills, #Chris, #computertech, #iPhone, and #Karol
|
|
Top
|
|
|
|
#3668 - 12/06/08 01:59 AM
Re: Triggers (like !rules)
[Re: techman224]
|
n00b
Registered: 12/06/08
Posts: 12
Loc: Canada, EH?
|
I have to ask, what is it about mIRC users that they seem to think "!" is the end-all be-all trigger and nothing else is acceptable? Such a problem when you design your bot to have dynamic access based on status in the current channel, and someone else has a bot with the same command... It causes problems. So here's what I do. Note: I'm not using dynamic access or command pacing here. Users could potentially seriously lag or disconnect your bot by abusing the ?trigger command. I don't suggest you use this AS-IS in any channel. Also, this could be extended pretty easily to allow users to specify any trigger they like and have it apply only to their channel. If anyone's interested I'll write up an example of that.
; Display current trigger
; Usage: ?trigger (where ? can be any single character)
on 1:TEXT:$($chr(63) $+ trigger):#:{
/say $chan - Current trigger is %trigger $+ . To change it, type %trigger $+ settrigger <newtrigger>
}
; Settrigger
; Update the trigger to a new one
; Requires level 10 IAL (internal access list)
on 10:TEXT:$( %trigger $+ settrigger* ):#:{
if ( $2 == $null ) {
/say $chan - Error: You must specify a new trigger
}
else {
set %trigger $left( $strip( $2 ) , 1 )
/say $chan - Updated bot trigger to %trigger
}
}
; TriggerTest
; Very useless, just displays a message
on 1:TEXT:$( %trigger $+ triggertest ):#:{
/say $chan - This is a useless command that demonstrates using a changeable trigger!
}
_________________________
We will not rest until there is more bread in the laundry!
|
|
Top
|
|
|
|
#3697 - 12/11/08 03:19 AM
Re: Triggers (like !rules)
[Re: vsTerminus]
|
newbie
Registered: 09/01/08
Posts: 40
Loc: Kongsvinger, 2209 Norway.
|
@VsTermius: The reason most people on WyldRyde use the ! as trigger is because most people on WyldRyde comes from the Chris Pirillo Chat, then get their own channel. In the Chris Pirillo Chatroom there is a bot named Pixie created by Phil as you have probably noticed. (PhiPlan i just love that word). which uses ! in their trigger. Since Pixie inspires so many (I think there is like 30 bots that has copied the rules). Most people uses !
_________________________
Almost every question can be answered on Google. People is just to lazy to search for it..
|
|
Top
|
|
|
|
Moderator: AdmiralJustin, Atri, Catt, crrj, dolsen, Freekie, Helio, Jeff, jpmk12, Justin, Kat, mandy, Mist, nobody, Phil, Pierce, Ryan, SuburbanWolf, therock247uk, ThunderIT-Allan, usrbingeek
|
|
0 registered (),
8
Guests and
6
Spiders online. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|