mIRC Home    About    Download    Register    News    Help

Print Thread
#159781 20/09/06 01:49 AM
Joined: Dec 2005
Posts: 22
S
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Dec 2005
Posts: 22
Hello, in regards to my other post here is my old script.

alias read_next_help {
var %f = helpfile.txt , %lines = $lines(%f) , %chan = $1
inc %help.lread
if (%help.lread > %lines) { set %help.lread 1 }
if ($read(%f,%help.lread) != $null && $me ison %chan) { msg %chan $read(%f,%help.lread) }
}


To modify this to amsg instead of just msg helpfile.txt to one chan do i just take out $me ison %chan and change msg %chan to amsg ?

#159782 20/09/06 01:56 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Check your other post, and please don't double post in the future.


Link Copied to Clipboard