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
Z
Zaephyr
Zaephyr
Z
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
I
Inky
Inky
I
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?
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,630
H
hixxy
Hoopy frood
hixxy
Hoopy frood
H
Joined:
Sep 2005
Posts: 2,630
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
Z
Zaephyr
Zaephyr
Z
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,630
H
hixxy
Hoopy frood
hixxy
Hoopy frood
H
Joined:
Sep 2005
Posts: 2,630
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
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage