mIRC Home    About    Download    Register    News    Help

Print Thread
#248811 27/10/14 06:44 AM
Joined: Oct 2014
Posts: 42
K
Kooky Offline OP
Ameglian cow
OP Offline
Ameglian cow
K
Joined: Oct 2014
Posts: 42
So.. I'm having a hard time here..

Code:
on *:text:!Burger $2*:#MyRoom: { 
writeini [-n] $nick $+ .chr $nick Burger $2-
.notice $nick You are now a Burger $2- }


So it should write a .chr file based on the Nickname and post:
<Me> !Burger Hunter
-Bot- You are now a Burger Hunter

Or at least, that's what I want.. Can anyone help?

Edit: Also, can I write this file to a specific location? Like My Documents/Characters or such?

Last edited by Kooky; 27/10/14 06:50 AM. Reason: Another question
Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
For changing the direction of write try use $qt(DIRECTION) [e.g: $qt(C:\Users\Dimitris\Desktop\testfolder)]

Help details: /help $qt + /help /write

Try use this code:

Code:
on *:text:!Burger $2*:#MyRoom: { 
write $nick $+ .chr $nick Burger $2-
.notice $nick You are now a Burger $2-
}


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-

Link Copied to Clipboard