Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
Code scripts to only work for a certain person
Forums
Active Threads
Search
Who's Online
Help
Print Thread
Code scripts to only work for a certain person
#
155678
08/08/06
11:42 AM
Joined:
Aug 2006
Posts: 27
Z
Zaephyr
OP
Ameglian cow
OP
Zaephyr
Ameglian cow
Z
Joined:
Aug 2006
Posts: 27
How can I set up a script to trigger only when my nick, Zaephyr, says the trigger word !dance (I'd also like the !dance to not appear in the room) (I'm the room owner)
Copy Link to Clipboard
Re: Code scripts to only work for a certain person
#
155679
08/08/06
11:57 AM
Joined:
Jul 2006
Posts: 26
I
Inky
Ameglian cow
Inky
Ameglian cow
I
Joined:
Jul 2006
Posts: 26
Im not entirely sure as I am new to mIRC scripting, but wouldn't the first line be:
Code:
on *:!dance:*:#:{
Of course im new, that may not work, but for a bot I'm pretty sure it's:
Code:
on *:TEXT:!dance*:#:{
I would be geatful to a better scripter to confirm?
Very new to mIRC, don't know much.
Copy Link to Clipboard
Re: Code scripts to only work for a certain person
#
155680
08/08/06
12:15 PM
Joined:
Sep 2005
Posts: 2,881
H
hixxy
Hoopy frood
hixxy
Hoopy frood
H
Joined:
Sep 2005
Posts: 2,881
Quote:
Code:
on *:TEXT:!dance*:#:{
That'll work. You don't need the * though.
Code:
on *:text:!dance:#:{ if ($nick == Zaephyr) { ... } }
Copy Link to Clipboard
Re: Code scripts to only work for a certain person
#
155681
08/08/06
10:05 PM
Joined:
Aug 2006
Posts: 27
Z
Zaephyr
OP
Ameglian cow
OP
Zaephyr
Ameglian cow
Z
Joined:
Aug 2006
Posts: 27
Is there a way to set this so that only users with an access level of 30 or higher are allowed to run this command?
on ^*:TEXT:!bindf &:#Zaephyr's_Tower: {
/describe $chan takes $2 and binds her hands securely.
/haltdef
}
Copy Link to Clipboard
Re: Code scripts to only work for a certain person
#
155682
08/08/06
10:27 PM
Joined:
Sep 2005
Posts: 2,881
H
hixxy
Hoopy frood
hixxy
Hoopy frood
H
Joined:
Sep 2005
Posts: 2,881
Change on ^* to on ^30
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage