Looking for some help on a on join script
I can do the normal on join scripts easy ($nicks joins room and command is done) but I am stuck with if I join a room I want the script to check the nicklist for a certain username (username be placed in the script its self) and if the user was is the room it returns $nick is in $chan or if the user is not in the room it returns $nick is not in the room.
How do I get a self on join script to check the rooms nick list for a certain user, can this be done?
Hope this makes sense.
Thanks
this is nothing like the one you have posted but for those who want a simple one, this goes in your aliases.
F3 away $?="Away Message" | /ame is now marked away: $! | /chanserv deop | /chanserv deprotect
F4 away $?="Return Message" | /ame has returned: $! | /away | /chanserv op | /chanserv protect
once in your aliases use F3 to mark away and F4 to mark as back. Both as for an away of return message. If you dont want to add a message just hit ok.
Will post in room as
Jaystew is now marked away: my comment here
Jaystew has now returned: my comment here
:)
cool, i look forward tot he update - also it maybe a good idea when sending mail. you have to spell the name with case sensitve, eg if nick is MyNiCk you cant do it !send mynick. maybe a good idea to allow it so it can be done with out case sensitve as most servers have services such as nickserv and will no allow one nick with mynic and another with MyNiCk also makes easier for th eperson sending the message to rememebr how the name is spelt lol
cool i like it, be good if it didnt kick yourself as well tho. i use this one but again this also kicks me
mkb { if (!$chan) thmecho Error: You are not on a channel. | elseif ($me !isop $chan) thmecho Error: You are not a channel operator on $thmhl($chan) $+ . | elseif ($nick(#,0) == 1) thmecho Error: You are the only user on $thmhl($chan) $+ . | else { thmecho Attempting to masskick $thmhl($calc($nick(#,0) -1)) users from $thmhl($chan) $+ . | var %x = $nick(#,0) | while (%x) { if ($nick(#,%x) != $me) { mode $chan +b $address($nick(#,%x),2) | kick $chan $nick(#,%x) Mass kick: $iif($1-,$1-,Reason not specified.) } | dec %x } } }
goes in alisases then ya type /mkb reason
[17:19] * You were kicked by Jay (Mass kick: closed)