mIRC Homepage
Posted By: ATMA probleming idea =/ - 02/08/03 10:02 PM
ok i am messageing chanserv and it replys with the commands then i use tokenize to make it break it all up and put it in the dialog box

so far this is all i have and i cant figur out how to do the rest could some one plz help me?
confused confused

Code:
alias srvx { dialog -m contsrvx contsrvx }
dialog contsrvx {
  title "SRVX Control Panel"
  size -1 -1 52 102
  option dbu
  list 1, 1 2 47 97, size
}
alias returninger { .msg chanserv help commands }
on *:dialog:contsrvx:init:*: {
  .tokenize 32 $returninger
  .did -a contsrvx 1 $1-
}
Posted By: Om3n Re: probleming idea =/ - 03/08/03 03:37 AM
on ^*:NOTICE:... on ^*:SERVERNOTICE:... depending on the way the ircd is set (but most just use ChanServ/NickServ nicknames)

/help tokens
Posted By: ATMA Re: probleming idea =/ - 03/08/03 03:45 AM
heh well i got the script to work just fine long ago i got some help from kingtomato lol

alias csrvx {
.enable #chanserv.cmds
.tokenize 32 $srvxcom
.dialog -m contsrvx contsrvx
}
dialog contsrvx {
title "SRVX Control Panel"
size -1 -1 52 102
option dbu
list 1, 1 2 47 97, size
}
alias srvxcom { .msg chanserv help commands }
#chanserv.cmds off

on 1:NOTICE:*:*: {
if ($nick == chanserv) {
.did -a contsrvx 1 $1
.did -a contsrvx 1 $2
}
.timercscmds 1 1 .disable #chanserv.cmds
}
#chanserv.cmds end
Posted By: Om3n Re: probleming idea =/ - 03/08/03 03:50 AM
Heh, ok kool. Btw, i should have put SNOTICE not SERVERNOTICE.
Noticed that as i responded to your other thread.
© mIRC Discussion Forums