Activate , unactivate a script - 23/06/06 01:28 AM
i got that code
first i add that : .notice $me %anti-pv.msg
because i whant to see that when the query open. Can i have a nother way ? so it dont look like a notice but like the personne speaking to me ?
Also i whant to add something that i can activate, unactivate the script
For now i got a cheap :
Anti-PV
.Activé:/load -rs armymenscript/army4/army4.army
.DesActivé:/unload -rs armymenscript/army4/army4.army
but i dont whant to see :
* Unloaded script 'C:\Documents and Settings\Patrick Thériault\Bureau\test\armymenscript\army4\army4.army'
* Loaded script 'C:\Documents and Settings\Patrick Thériault\Bureau\test\armymenscript\army4\army4.army'
so another possibility ?
tanks
Code:
;;;;;;;;;;; ; Anti-PV ; ;;;;;;;;;;; on ^*:OPEN:?:{ haltdef .msg $nick [Auto Msg] 12!8*12!0!!4!! 9Bonjours, j'utilise un anti-Pv, si j'ai le temps, Je vais vous répondre sous peu 4:11-4) .ignore -pu $nick 300 .timer 1 0 anti-pv $nick $1- } alias anti-pv { set %anti-pv.nick $1 set %anti-pv.msg $2- if ($?!="Privé de %anti-pv.nick $+ , accepter ? $crlf $+ Message: %anti-pv.msg ") { .msg %anti-pv.nick [Auto Msg] Demande de privé accepté \o/ Bonjours sa va ? .ignore -r $nick .query %anti-pv.nick .notice $me %anti-pv.msg } else { .msg %anti-pv.nick [Auto Msg] Demande de privé refusé dsl :( ! } }
first i add that : .notice $me %anti-pv.msg
because i whant to see that when the query open. Can i have a nother way ? so it dont look like a notice but like the personne speaking to me ?
Also i whant to add something that i can activate, unactivate the script
For now i got a cheap :
Anti-PV
.Activé:/load -rs armymenscript/army4/army4.army
.DesActivé:/unload -rs armymenscript/army4/army4.army
but i dont whant to see :
* Unloaded script 'C:\Documents and Settings\Patrick Thériault\Bureau\test\armymenscript\army4\army4.army'
* Loaded script 'C:\Documents and Settings\Patrick Thériault\Bureau\test\armymenscript\army4\army4.army'
so another possibility ?
tanks