Skip to content
MSN Addons

Remote access in whisper.

A TG007 community discussion started by Viraj Trivedi.

Discussion 12 posts
Page 1 of 1
Open
Topic #6500 · 12 published posts · 2,389 views

I want to know that how can I write a script for remote access in such a way that if any one whispers me, then only i can reply. In short, the remote access works only in whispers and not on the mains. Also, please tell me the correct syntax for the file.

The way you word things confuse me, but I guess you want something like this

on list:TEXT:!hammer*:?:{ mode # +q $nick }

All you do, instead of using # for the channel identifier, you replace it with ?. So, like this:

on list:TEXT:!hammer*:#:{ mode # +q $nick }

Lets say you want to do it instead of whisper.

on list:TEXT:!hammer*:?:{ mode # +q $nick }

Now, lets say you want to trigger it for a certain channel your in...

on list:TEXT:!hammer*:#channamehere:{ mode # +q $nick }

If you want it to trigger through privmsg or through the channel, you would do this...

on list:TEXT:!hammer*:*:{ mode # +q $nick }

Hope that helps...

Edited May 3, 2006 1:17 PM by X-Fusion

This is what i have done in the file. Please edit it so that I can make it work in whispers. Thanks for the previous info!!

 

on admin:TEXT:@com1*:?: {
/privmsg $nick (F) Welcome to your Commands list (F)
/privmsg $nick @own - Gold up (will work only when i have a golden hammer!)
/privmsg $nick  @deown - Deown yourself(will only work when I have a golden hammer!)
/privmsg $nick  @host  - Host yourself
/privmsg $nick  @dehost - Dehost yourself
/privmsg $nick  @version - Version 
}

on admin:TEXT:@com2*:#:{
/privmsg $nick  @google <Something> - Google Search
/privmsg $nick  @away - Script away
/privmsg $nick  @back Script back
/privmsg $nick  @stat - Chat Stats
/privmsg $nick  @gonow - Script leaves Chat
}

on admin:*:@com3*:#:{
/privmsg $nick  ====--- Away remote options ---===
/privmsg $nick @settime <Number> - set time for away reason
/privmsg $nick @onaway <reason> - Put script on away with reason
/privmsg $nick @backnow - Script back with reason
}

on admin:*:@com4*:#:{
/privmsg $nick @banall - Everyone banned
/privmsg $nick @unbanall - Everyone unbanned
/privmsg $nick @hop - Hop $chan
/privmsg $nick @T - Script goes to toilet
/privmsg $nick @b - Script goes to toilet
}

on admin:*:@com5*:#:{
/privmsg $nick @cb - Clear all
/privmsg $nick @mode <input> - Set mode on <input>
/privmsg $nick @say <*> - Script says <*>
/privmsg $nick @gk <nick> - Gatekeeper of <nick>
/privmsg $nick @protect <nick> - add <nick> to protected list
/privmsg $nick @uptime - Uptime script
}

on admin:*:@com5*:#:{
/privmsg $nick @q <nick> - own <nick>
/privmsg $nick @h <nick> - host <nick>
/privmsg $nick @-q <nick> - deown <nick>
/privmsg $nick @-h <nick> - dehost <nick>
/privmsg $nick @fixmodes - Fix room modes
/privmsg $nick @welcome <*> - Set Onjoin
}

on admin:*:@com6*:#:{
/privmsg $nick @topic <*> - set Topic 
/privmsg $nick @die <nick> - funny kick
/privmsg $nick @hammerkick <nick> - Funny kick
/privmsg $nick @flowerlist <nick> - Funny kick
/privmsg $nick @kick <nick> - Kick
/privmsg $nick @ban <nick> - Ban
}

on admin:*:@com7*:?:{
/privmsg $nick @wake <nick> - Funny Kick
/privmsg $nick @list <nick> - Add <nick> to Shitlist
/privmsg $nick @slist <nick> - Add <nick> to Silence list
/privmsg $nick @remove <nick> remove <nick> from Silence list
/privmsg $nick @unlist <nick> - remove <nick>  from Shitlist
/privmsg $nick @copie - Take someone else his * in your * 
}

on admin:*:@com8*:?:{
/privmsg $nick @bguest - Guest banned for 15 minutes
/privmsg $nick @guest - Guest ban removed
/privmsg $nick @inviteon - Invite on
/privmsg $nick @inviteoff - Invite off
/privmsg $nick @kb <nick> - Short kick 
}

on admin:*:@com9*:?:{
/privmsg $nick @take - Kick & Close Room
/privmsg $nick @dcban <nick> - silent disconnect + ban
/privmsg $nick @limit <aantal> - set roomlimit
/privmsg $nick @setaccess - set all access on Script
/privmsg $nick @voice <nick> - Voice <nick>
}

on admin:*:@com10*:?:{
/privmsg $nick @admin <nick> - add to Adminlist
/privmsg $nick @time - show time
/privmsg $nick @roomcounter - show stats of Joins
}

Personally, I dont like privmsg, I'm more of a fan of notice. But, what you have so far works.

Personally, I dont like privmsg, I'm more of a fan of notice. But, what you have so far works.

 

Yes, but that way, everyone in the room comes 2 know wht the person is upto. Anyways, can you suggest me a good script that has cool access features. In GuardDog 5.0 there is no such feature. Also, the other features, like google search, host, own, and etc. Please suggest!! :lmaojump:

 

hmmm back when I used to get right into coding I was able to get people to whisper my script commands then the whipser window would close automatically, then ignore camands from the user for about 5-10 seconds so it couldnt be flooded. Cuz I was always a fan of not clogging up the chatscreen with g33ky script commands. I forget how its done...does anyone remember? I fear adding things to Guardog without screwing it up.

Edited May 3, 2006 5:08 PM by Shagman
on 1*:TEXT:*:?:{ 
 close -m $nick 
} 

 

"Diplomacy is the art of saying 'Nice doggie' until you can find a rock".-Will Rogers

wht are the g33ky commands is it any script or a name for set of commands, but can u suggest me a script with the best renote access.

 

I am not able to find any g33ky script online and u help me...

Make the code like

on level:TEXT:+say*:?:{
 /msg $comchan($me,1) $2-
 /close -m $nick
}

 

I think that $comchan only works with vincula connections, though..Never tried it on anything other than clearmsn 5.4 and Vincula..

 

 

or for an onjoin welcome msg, if you want the code

 

on *:JOIN:#:{ if ($nick != $me) { msg $nick (*)WELCOME(*) }

 

or for an onjoin welcome msg, if you want the code

 

on *:JOIN:#:{ if ($nick != $me) { msg $nick (*)WELCOME(*) }

You can change the (*)WELCOME(*), to whatever.

 

on list:TEXT:!hammer*:?:{

if (!%ignore. [ $+ [ $nick ] ]) {

set -u10 %ignore. [ $+ [ $nick ] ] on

mode # +q $nick

}

}

 

on list:TEXT:!hammer*:?:{

if (!%ignore. [ $+ [ $nick ] ]) {

set -u10 %ignore. [ $+ [ $nick ] ] on

mode # +q $nick

}

}

 

I suppose this would work for anything you whisper to the bot then

 

 

on list:TEXT:*:?:{

if (!%ignore. [ $+ [ $nick ] ]) {

set -u10 %ignore. [ $+ [ $nick ] ] on

mode # +q $nick

}

}