Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
room topic variable
Forums
Active Threads
Search
Who's Online
Help
Print Thread
room topic variable
#
146756
07/04/06
10:08 PM
Joined:
Mar 2006
Posts: 10
S
strac
OP
Pikka bird
OP
strac
Pikka bird
S
Joined:
Mar 2006
Posts: 10
Is there a variable for the room topic? If so, what is it? and if not is there anyway to grab the room topic so you can put it to your own variable?
Copy Link to Clipboard
Re: room topic variable
#
146757
07/04/06
10:17 PM
Joined:
Feb 2005
Posts: 681
Your dreams ;)
M
mIRCManiac
Fjord artisan
mIRCManiac
Fjord artisan
M
Joined:
Feb 2005
Posts: 681
Your dreams ;)
There's a topic
identifier
in the form of the
topic
property for the $chan() identifier.
/help $chan
Window identifiers
-
//echo -a $chan(
#channel
).topic
Change this to your channel name.
-
You could make a topic identifier...
Code:
alias topic if ($isid) return $chan($iif(!$1,#,$1)).topic | topic $1-
//echo -a $topic(
#channel
)
Copy Link to Clipboard
Re: room topic variable
#
146758
07/04/06
11:07 PM
Joined:
Mar 2006
Posts: 10
S
strac
OP
Pikka bird
OP
strac
Pikka bird
S
Joined:
Mar 2006
Posts: 10
thank you, I was able to use that to create the script:
on 2:TEXT:*!live:?:{
{ %lobtop = $chan(#lobby).topic }
topic #lobby $nick LIVE - %lobtop
}
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
Website
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Website
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage