Paste Your code(s) here, and state your problem.
by Ark » Sat Nov 15, 2008 1:10 pm
the problem im haveing is on the last part of the script the .topic #BNC wont work

it works for the other channel just wondered what i was missing ?
- Code: Select all
On *:text:!Apply*:?: {
write Request.txt 8*14 $nick 10 $+ $2- 11 $+ $address($nick,1) 8*
write BNCHistory.txt 15*14 $nick 10 $+ 3 $2- 11 $+ $address($nick,1) 15*
msg $nick 11Request 14Has Been 11Logged 14Please Be Allow Up To 1124HRs 14For 11Setup 14As We May Be 11Busy
msg $nick 14If You Are 11Inactive 14At Time Of 11SetUp 14We Will 11Email 14You So Check The 11Junk 14Folder To11!
.topic $::channel 11Welcome 14[BNC^Admins14] 11Current Applications 14pending $+(4[,$lines(Request.txt),4]) }
.topic #BNC 14[» 15Welcome To 11#BNC! 14«] 14|8x14| [» 15Visit Our Website: 11Http://www.conflictirc.net/ 14«] |8x14| [» 15For Help:11 Type !BNCHelp 14«] |8x14| [» 15Applications Pending:11 $+(4[,$lines(Request.txt),4]} 14|8x14| [» 15Please Note: You Must Have A 11Registered Nickname 15To Apply! 14«]
-
Ark
-
by Cristian » Sat Nov 15, 2008 5:41 pm
An on text event works like this.
- Code: Select all
On *:text:!Apply*:?: { }
This line has to be moved inside the brackets "{ }"
- Code: Select all
.topic #BNC <topic>
It would look like this.
- Code: Select all
On *:text:!Apply*:?: {
write Request.txt 8*14 $nick 10 $+ $2- 11 $+ $address($nick,1) 8*
write BNCHistory.txt 15*14 $nick 10 $+ 3 $2- 11 $+ $address($nick,1) 15*
msg $nick 11Request 14Has Been 11Logged 14Please Be Allow Up To 1124HRs 14For 11Setup 14As We May Be 11Busy
msg $nick 14If You Are 11Inactive 14At Time Of 11SetUp 14We Will 11Email 14You So Check The 11Junk 14Folder To11!
.topic $::channel 11Welcome 14[BNC^Admins14] 11Current Applications 14pending $+(4[,$lines(Request.txt),4])
.topic #BNC 14[» 15Welcome To 11#BNC! 14«] 14|8x14| [» 15Visit Our Website: 11Http://www.conflictirc.net/ 14«] |8x14| [» 15For Help:11 Type !BNCHelp 14«] |8x14| [» 15Applications Pending:11 $+(4[,$lines(Request.txt),4]} 14|8x14| [» 15Please Note: You Must Have A 11Registered Nickname 15To Apply! 14«]
}
-
Cristian
- proof of advance

-
- Posts: 282
- Joined: Sun Nov 04, 2007 3:02 pm
- Location: Denmark
- Authnick: Sumsar
-
Return to Mirc Scripting Help
Who is online
Users browsing this forum: No registered users and 3 guests