mIRC Home    About    Download    Register    News    Help

Print Thread
#260590 19/05/17 03:34 PM
Joined: Nov 2014
Posts: 27
N
nexux Offline OP
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Nov 2014
Posts: 27
Get a word and send to notice or write in the room or modify it later

Code:
on 1:text:*:#channel: {
if ( solicitado iswm $strip($1-) ) { /notice $gettok($1-,3,32)
}


But this code I've put is just an example of what I want to do, but it does not work for me

But I want to get any phrase that is written and then I can do whatever I want with that sentence, either send me a notice to me, or be able to change and send it to the room.

Joined: Nov 2014
Posts: 27
N
nexux Offline OP
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Nov 2014
Posts: 27
I'm trying this way, but


Code:
on *:text:!petition *:#:{
  ;save word
  set %word. $+ $nick $2
  notice $me $nick $qt($2) was saved!
}


But, my code is work!

But he does not do what he should. I explain..

Quote:
(New Petition) nick has requested: will smith miami


And what I need is:

Code:
/notice $me $nick



Link Copied to Clipboard